@charset "UTF-8";
/* =============================================
   こだいら小川町メディカルクリニック
   Mobile First Responsive
============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: "Sawarabi Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .75; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.pc-only { display: none; }

@media (min-width: 768px) {
  body { font-size: 16px; }
  .pc-only { display: inline; }
}

/* ===== PLACEHOLDER (ダミー画像) ===== */
.placeholder {
  background: linear-gradient(135deg, #d0e8f2 0%, #e8f0f5 40%, #c5dce8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aa8c0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 2px dashed #a3cde0;
  position: relative;
}
.placeholder--photo {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}
/* ===== SR-ONLY (スクリーンリーダー専用) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ===== HERO ===== */
.hero {
  overflow: hidden;
}
.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 内覧会 INFO ===== */
.info {
  padding: 40px 0 48px;
  background: linear-gradient(135deg, #c8e8f5 0%, #e8f5fb 50%, #fff 100%);
  text-align: center;
}
.info__box {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.info__img {
  width: 180px;
  flex-shrink: 0;
}
.info__img img {
  width: 100%;
  height: auto;
  display: block;
}
.info__content {
  text-align: center;
}

@media (min-width: 768px) {
  .info__box {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .info__img { width: 220px; }
  .info__content { text-align: center; flex: 1; }
}
.info__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}
.info__date {
  font-size: 22px;
  font-weight: 700;
  color: #DF3556;
  line-height: 1.5;
  margin-bottom: 12px;
}
.info__note-bold {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.info__note {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 28px;
  color: #555;
}

@media (min-width: 768px) {
  .info { padding: 60px 0 70px; }
  .info__title { font-size: 36px; }
  .info__date { font-size: 32px; }
  .info__note-bold { font-size: 18px; }
  .info__note { font-size: 16px; }
}

/* ===== 院内写真 ===== */
.photos { padding: 32px 0; }
.photos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.photos__item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .photos { padding: 48px 0; }
  .photos__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ===== GREETING ===== */
.greeting {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.greeting::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 40%;
  height: 40%;
  background: #F2FBFF;
  z-index: -1;
}
.greeting--director::before { left: 0; }
.greeting--chairman::before { right: 0; left: auto; }

.greeting__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.greeting__photo {
  position: relative;
  width: 70%;
  max-width: 320px;
}
.greeting--director .greeting__photo { margin: 0 auto; }
.greeting--chairman .greeting__photo { margin: 0 auto; }

.greeting__name {
  background: #fff;
  padding: 10px 14px;
  position: absolute;
  bottom: -20px;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 2;
}
.greeting__name--right { left: auto; right: 0; }
.greeting__name-label {
  display: block;
  font-size: 12px;
  color: #888;
}
.greeting__name-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.greeting__text { margin-top: 16px; }
.greeting__section-en {
  font-family: "Times New Roman", serif;
  font-size: 36px;
  color: #003a68;
  line-height: 1.1;
  letter-spacing: .1em;
  opacity: .2;
}
.greeting__section-ja {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #003a68;
  display: inline-block;
}
.greeting__body p { margin-bottom: 16px; }
.greeting__body p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .greeting { padding: 80px 0; }
  .greeting__block {
    flex-direction: row;
    gap: 5%;
    align-items: flex-start;
  }
  .greeting--director .greeting__block { flex-direction: row-reverse; }
  .greeting__photo {
    width: 38%;
    max-width: none;
    flex-shrink: 0;
  }
  .greeting__text { width: 57%; margin-top: 0; }
  .greeting__section-en { font-size: 50px; }
  .greeting__name-value { font-size: 24px; }
}

/* ===== BANNERS ===== */
.banners {
  padding: 32px 0;
  background: #F2FBFF;
}
.banners__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.banners__item {
  display: block;
  margin: 0 auto;
  transition: opacity .3s;
}
.banners__item:hover { opacity: .75; }
.banners__item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .banners { padding: 48px 0; }
  .banners__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ===== MEDICAL ===== */
.medical {
  padding: 48px 0;
  background: linear-gradient(to right, #8ac4df 0%, #6bb3d6 30%, #4a9ec9 55%, #2d7eb3 80%, #1a6aa0 100%);
}
.medical__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.medical__item {
  background: #fff;
  padding: 24px 20px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.medical__item::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -10px;
  width: 200px;
  height: 200px;
  background: url(../img/bg_logo.png) no-repeat center / contain;
  opacity: .5;
  pointer-events: none;
}
.medical__heading {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.medical__heading::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url(../img/icon_ji.png) no-repeat center / contain;
  flex-shrink: 0;
}
.medical__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #64ACD4;
}
.medical__item p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

@media (min-width: 768px) {
  .medical { padding: 80px 0; }
  .medical__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .medical__item { padding: 30px; min-height: 200px; }
  .medical__heading { font-size: 20px; }
  .medical__heading::before { width: 32px; height: 32px; }
  .medical__item p { font-size: 15px; }
}

/* ===== COMMON (TIME & ACCESS) ===== */
.common { padding: 48px 0 0; }
.common__center { text-align: center; }

.common__ttl {
  margin-bottom: 16px;
}
.common__ttl-en {
  font-family: "Times New Roman", serif;
  font-size: 32px;
  color: #003a68;
  display: block;
  line-height: 1.1;
  letter-spacing: .12em;
  opacity: .3;
}
.common__ttl-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  display: block;
}


.access {
  border-bottom: 1px solid #c0d0d8;
  padding: 16px 0;
  font-size: 14px;
  line-height: 2;
  color: #555;
}
.access p { margin-bottom: 4px; }

@media (min-width: 768px) {
  .common { padding: 80px 0 0; }
  .common__ttl-en { font-size: 40px; }
  .common__ttl-ja { font-size: 18px; }
  .access { font-size: 15px; padding: 20px 0; }
}

/* Google Map */
.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .map iframe { height: 400px; margin-top: 48px; }
}

/* ===== FOOTER ===== */
.footer {
  background: #64ACD4;
  color: #fff;
  padding: 32px 0 0;
  text-align: center;
}
.footer__corp {
  font-size: 11px;
  opacity: .7;
  margin-bottom: 2px;
}
.footer__dept {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 2px;
}
.footer__name {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer__info {
  font-size: 13px;
  opacity: .85;
  line-height: 1.9;
}
.footer__copy {
  background: rgba(0,0,0,.15);
  margin-top: 24px;
  padding: 12px 0;
  font-size: 11px;
  opacity: .7;
}

@media (min-width: 768px) {
  .footer { padding: 40px 0 0; }
  .footer__name { font-size: 20px; }
  .footer__info { font-size: 14px; }
  .footer__copy { font-size: 12px; margin-top: 30px; }
}
