@charset "UTF-8";

/* ===== リセット・共通 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
li { list-style: none; }

/* 共通の見出し（治療内容・お知らせ） */
.section-ttl {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.458;
  color: #444444;
}
.section-ttl span {
  text-decoration-line: underline;
  text-decoration-color: #99E5A5;
  text-decoration-thickness: 10px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
}
.service-ttl { margin-bottom: 70px; }
.news-ttl    { margin-bottom: 67px; }


/* ===== ヘッダー ===== */
.heder { height: 130px; }

.heder-inner {
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.heder-logo a { display: flex; align-items: center; }
.heder-logo img { width: 263px; }

.heder-info { text-align: right; }
.info1 { font-size: 13px; margin-bottom: 4px; }
.info2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #21A937;
  font-size: 20px;
  font-weight: bold;
}
.info2 .call-icon { width: 18px; }


/* ===== メインビジュアル ===== */
.mv {
  aspect-ratio: 1920 / 947;
  background: url("images/mv.jpg") center / cover no-repeat;
  display: flex;
  align-items: flex-start;
  padding: 6.93% 0 0 11%;
}
.mv-copy-ttl {
  font-size: clamp(15px, 1.46vw, 28px);
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 2.857em;
}
.mv-ttl-Box {
  writing-mode: vertical-rl;
  background: #FFFFFF;
  width: 3.643em;
  line-height: 3.643em;
  letter-spacing: 0.25em;
  padding: 0.768em 0 1.911em;
  font-weight: 700;
}
.green { color: #21A937; }          /* ① */


/* ===== サブMV（intro）===== */
.intro { padding: 162px 0 82px; }

.intro-inner {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.intro-text {
  flex: 0 0 41.5%;
  padding-left: 33px;
  margin-top: 25px;
}
.intro-image { flex: 0 0 58.5%; }
.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.intro-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.458;
  color: #444444;
}
.intro-ttl-Box {
  display: table;
  text-decoration-line: underline;
  text-decoration-color: #99E5A5;
  text-decoration-thickness: 10px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
  margin-bottom: 32px;
}
.intro-ttl-Box:last-child { margin-bottom: 0; }

.intro-txt {
  font-size: 16px;
  line-height: 2.4;
  color: #444444;
  margin-top: 43px;
}


/* ===== 治療内容・お知らせ（緑背景）===== */
.contents {
  background: #F5FCF8;
  padding-bottom: 114px;
}

.contents-inner {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  padding: 78px 0 0;
}
.contents-subttl {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.438;
  color: #444444;
}

.cards {
  display: flex;
  gap: 20px;
  margin-top: 34px;
}
.card {
  flex: 1;
  min-height: 591px;
  background: #FFFFFF;
  border: 2px solid #C9C9C9;
  border-radius: 10px;
  padding: 40px 35px 0;
  display: flex;
  flex-direction: column;
}
.card-ttl {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.458;
  color: #444444;
  margin-bottom: 45px;
  white-space: nowrap;              /* ③ */
}
.card-txt {
  font-size: 16px;
  font-weight: 700;
  line-height: 2.375;
  color: #444444;
}
.card-img {
  width: 187px;
  height: auto;
  margin: auto auto 0;
}

/* お知らせ */
.news { margin-top: 82px; }

.news-inner {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  padding: 0;
}
.news-box {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 31px 66px 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.news-list { background: none; padding: 0; }

.news-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 0;
  border-bottom: 1px solid #E7E7E7;
}
.news-date {
  width: 86px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4375;
  color: #21A937;
}
.news-cat {
  width: 80px;
  height: 25px;
  flex-shrink: 0;
  background: #444444;
  color: #FFFFFF;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4375;
  color: #444444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-more {
  position: relative;
  text-align: right;
  padding: 42px 0 46px;
}
.news-more .btn {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4375;
  color: #444444;
}
.news-more .arrow {
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -2.5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #444444;
}


/* ===== フッター ===== */
.footer { padding: 196px 0 139px; }

.footer-inner {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
}

.footer-map {
  width: 51.53%;
  margin-right: 34px;
}
.footer-map iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

.footer-info { width: 45.17%; min-width: 0; }

.footer-logo { margin-bottom: 52px; }
.footer-logo img { width: 263px; }

.footer-address {
  display: flex;
  font-size: 16px;
  line-height: 1.44;
  color: #444444;
  margin-bottom: 25px;
}
.footer-address p:first-of-type { margin-right: 16px; }

.footer-tel {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  line-height: 1.46;
  color: #21A937;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 28px;
}
.footer-tel .call-icon { width: 20px; }

/* 診療時間（dl） */
.opening-hours {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.43;
  color: #444444;
  border-top: 2px solid #E7E7E7;
  border-bottom: 2px solid #E7E7E7;
  margin-top: 0;
}
.opening-hours dt {
  width: 15.4%;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;              /* ④ */
}
.opening-hours dd {
  width: 84.6%;
  border-left: 2px solid #E7E7E7;
  padding-left: 25px;
}
.opening-hours dd p {
  font-size: 14px;
  display: inline-block;
}
.opening-hours dd p:first-of-type {
  text-decoration-line: underline;
  text-decoration-color: #99E5A5;
  text-decoration-thickness: 3px;
  text-underline-offset: -1px;
  text-decoration-skip-ink: none;
}
.opening-hours dd p:nth-of-type(2) { margin-left: 23px; }
.opening-hours dd p:last-of-type  { margin-left: 17px; }

.opening-hours .line-first  { padding-top: 20px; }
.opening-hours .line-second { margin-left: 15.4%; padding-top: 14px; }
.opening-hours .line-third  { margin-left: 15.4%; padding-top: 14px; margin-bottom: 38px; }
.opening-hours .last-dt { padding-top: 0; }
.opening-hours .last-dd { padding-bottom: 20px; }

/* ⑧ コピーライト（.footer-inner の外に配置） */
.copyright {
  display: block;
  width: min(1180px, 100% - 40px);
  margin: 8px auto 0;
  text-align: right;
  font-size: 11px;
  line-height: 1.45;
  color: #444444;
}


/* ==========================================================
   レスポンシブ
   ========================================================== */

/* ===== 中間サイズ（1280px以下）===== */
@media (max-width: 1280px) {
  .intro { padding: 100px 0 70px; }
  .intro-text { padding-left: 0; }

  .contents-inner { padding-top: 60px; }
  .service-ttl { margin-bottom: 50px; }
  .news-ttl { margin-bottom: 50px; }
  .news { margin-top: 60px; }
  .contents { padding-bottom: 80px; }

  .card { min-height: 0; padding: 32px 24px 0; }
  .card-ttl { font-size: 20px; margin-bottom: 30px; }    /* ③ */
  .card-txt { font-size: 15px; line-height: 2.1; }
  .card-img { width: 150px; padding-top: 24px; }

  .footer { padding: 100px 0 60px; }
  .footer-map iframe { height: 380px; }
}


/* ===== タブレット（1024px以下）===== */
@media (max-width: 1024px) {
  .heder { height: 100px; }
  .heder-logo img { width: 200px; }
  .info1 { font-size: 12px; }
  .info2 { font-size: 18px; }

  /* ② テキストと画像を隣接させない */
  .intro-inner { gap: 40px; }
  .intro-text  { flex: 1 1 45%; padding-left: 0; margin-top: 0; }
  .intro-image { flex: 1 1 55%; }
  .intro-ttl { font-size: 21px; }
  .intro-txt { font-size: 15px; }

  .news-box { padding: 24px 28px 0; border-radius: 20px; }
  .news-cat { width: 80px; }

  .footer-map { width: 48%; margin-right: 24px; }
  .footer-map iframe { height: 320px; }
  .footer-info { width: 48%; }
  .footer-logo img { width: 220px; }
  .footer-tel { font-size: 22px; }

  /* ⑤⑦⑨ 午前・午後を左そろえで縦に */
  .opening-hours dt { width: 20%; }
  .opening-hours dd {
    width: 80%;
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
  }
  .opening-hours dd p:first-of-type {          /* 曜日 */
    width: 5em;
    flex-shrink: 0;
  }
  .opening-hours dd p:nth-of-type(2) {         /* 午前 */
    width: calc(100% - 5em);
    margin-left: 0;
  }
  .opening-hours dd p:last-of-type {           /* 午後 */
    width: calc(100% - 5em);
    margin-left: 5em;                          /* 曜日の幅ぶん押し出す */
    margin-top: 4px;
  }
  .opening-hours .line-second,
  .opening-hours .line-third { margin-left: 20%; }
  .opening-hours .last-dd { display: block; }
}


/* ===== スマホ（767px以下）===== */
@media (max-width: 767px) {

  /* --- ヘッダー：縦積み・中央寄せ --- */
  .heder { height: auto; }
  .heder-inner {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
  }
  .heder-logo img { width: 150px; }
  .heder-info { text-align: center; }
  .info1 { font-size: 10px; margin-bottom: 2px; }
  .info2 { font-size: 16px; gap: 4px; }
  .info2 .call-icon { width: 14px; }

  /* --- MV：⑥ 下に貫通させない --- */
  .mv {
    aspect-ratio: auto;
    height: 56vh;
    min-height: 420px;
    overflow: hidden;
    background-position: 80% center;
    align-items: flex-start;
    padding: 150px 0 0 16px;
  }
  .mv-copy-ttl { font-size: 14px; gap: 0.857em; }
  .mv-ttl-Box { padding: 0.8em 0; letter-spacing: 0.2em; }

  /* --- intro：縦積み・見出し中央 --- */
  .intro { padding: 40px 0 36px; }
  .intro-inner { flex-direction: column; gap: 28px; }
  .intro-text,
  .intro-image {
    flex: 1 1 auto;
    width: 100%;
    padding-left: 0;
    margin-top: 0;
  }
  .intro-ttl { text-align: center; font-size: 18px; }
  .intro-ttl-Box {
    margin-left: auto;
    margin-right: auto;
    text-decoration-thickness: 7px;
    margin-bottom: 18px;
  }
  .intro-txt { font-size: 13px; line-height: 2; margin-top: 20px; }
  .intro-txt br { display: none; }

  /* --- 治療内容 --- */
  .contents { padding-bottom: 40px; }
  .contents-inner { padding-top: 40px; }
  .section-ttl { font-size: 19px; }
  .section-ttl span { text-decoration-thickness: 7px; }
  .service-ttl { margin-bottom: 18px; }
  .contents-subttl { font-size: 12px; line-height: 1.8; }

  .cards { flex-direction: column; gap: 14px; margin-top: 22px; }
  .card { min-height: 0; padding: 22px 18px 0; border-radius: 8px; }
  .card-ttl { font-size: 16px; margin-bottom: 12px; }
  .card-txt { font-size: 12px; line-height: 1.9; }
  .card-img { width: 120px; padding-top: 14px; }

  /* --- お知らせ --- */
  .news { margin-top: 34px; }
  .news-ttl { margin-bottom: 18px; }
  .news-box { border-radius: 14px; padding: 6px 16px 0; }

  .news-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    padding: 14px 0;
  }
  .news-date { grid-column: 1; width: auto; font-size: 12px; }
  .news-cat  { grid-column: 1; width: 76px; height: 19px; font-size: 10px; }
  .news-link {
    grid-column: 2;
    grid-row: 1 / 3;
    width: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 12px;
    line-height: 1.7;
  }

  .news-more {
    position: static;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 14px 0 10px;
  }
  .news-more .btn { font-size: 13px; }
  .news-more .arrow {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    margin: 0;
    border-width: 5px 0 5px 8px;
  }

  /* --- フッター --- */
  .footer { padding: 40px 0 24px; }
  .footer-inner { flex-direction: column-reverse; gap: 24px; }
  .footer-map, .footer-info { width: 100%; margin-right: 0; }
  .footer-map iframe { height: 200px; }

  .footer-logo { margin-bottom: 16px; text-align: center; }
  .footer-logo img { width: 160px; margin: 0 auto; }

  .footer-address {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    margin-bottom: 12px;
  }
  .footer-address p:first-of-type { margin-right: 0; }

  .footer-tel { margin: 0 auto 16px; font-size: 18px; }
  .footer-tel .call-icon { width: 15px; }

  /* 診療時間 */
  .opening-hours { font-size: 11px; }
  .opening-hours dt { width: 26%; padding-top: 12px; font-size: 11px; }
  .opening-hours dd { width: 74%; padding-left: 12px; }
  .opening-hours dd p { font-size: 11px; }
  .opening-hours dd p:first-of-type { width: 4.5em; }
  .opening-hours dd p:nth-of-type(2) {
    width: calc(100% - 4.5em);
    margin-left: 0;
  }
  .opening-hours dd p:last-of-type {
    width: calc(100% - 4.5em);
    margin-left: 4.5em;                        /* 曜日の幅ぶん押し出す */
    margin-top: 4px;
  }
  .opening-hours .line-first { padding-top: 12px; }
  .opening-hours .line-second,
  .opening-hours .line-third { margin-left: 26%; padding-top: 10px; }
  .opening-hours .line-third { margin-bottom: 18px; }
  .opening-hours .last-dd { padding-bottom: 12px; }

  /* ⑧ コピーライト */
  .copyright { text-align: center; margin: 20px auto 0; font-size: 9px; }
}


/* ===== 小型スマホ（375px以下）===== */
@media (max-width: 375px) {
  .heder-logo img { width: 132px; }
  .info1 { font-size: 9px; }
  .info2 { font-size: 14px; }
  .news-cat { width: 66px; }
  .news-item { grid-template-columns: 66px 1fr; }
  .opening-hours { font-size: 10px; }
  .opening-hours dd p { font-size: 10px; }
}