/* ==========================================================================
   top.css
   ========================================================================== */
.sp-none{
  display: block !important;
}
.pc-none{
  display: none !important;
}
/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #3A5596;
  --color-primary-light: #356C9A;
  --color-primary-dark:  #1A4A7A;
  --color-accent:        #63B3D6;
  --color-bg:            #F7FAFD;
  --color-bg-light:      #EBF4FB;
  --color-text:          #2D3748;
  --color-text-light:    #718096;
  --color-white:         #FFFFFF;
  --color-border:        #D6E8F5;

  --font-sans:  'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  --container-width: 1140px;
  --container-pad:   40px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px  rgba(43, 108, 176, 0.08);
  --shadow-md: 0 4px 20px rgba(43, 108, 176, 0.12);
  --shadow-lg: 0 8px 40px rgba(43, 108, 176, 0.16);
}
/* ===============================
   Opening animation
=============================== */

:root{
  --opening-gap: 22px;
  --opening-mark-w: 99px;
  --opening-type-w: 621px;
  --opening-shift-x: calc((var(--opening-type-w) + var(--opening-gap)) / 2);
}

.opening{
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  overflow: hidden;
}

.opening__inner{
  position: relative;
  width: 100%;
  height: 100%;
}

/* 最終形のロゴ全体を中央に置く */
.opening__logo-set{
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--opening-gap);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* -------------------------------
   mark
-------------------------------- */

.opening__mark-wrap{
  width: var(--opening-mark-w);
  flex: 0 0 var(--opening-mark-w);

  /* 初期は mark だけ画面中央に見えるよう右へずらす */
  transform: translateX(var(--opening-shift-x));
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}

.opening__mark{
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(.5);
}

/* -------------------------------
   type
-------------------------------- */

.opening__type-wrap{
  width: var(--opening-type-w);
  overflow: hidden;
  padding-left: 24px;          /* 左見切れ対策 */
  box-sizing: content-box;     /* paddingを幅に含めない */
}

.opening__type{
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateX(-24px);
  clip-path: inset(0 100% 0 0);
}

/* ===============================
   step1: mark appear
=============================== */

.opening.step1 .opening__mark{
  animation: openingMarkIn .8s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes openingMarkIn{
  0%{
    opacity: 0;
    transform: scale(.5);
    filter: blur(10px);
  }
  60%{
    opacity: 1;
    transform: scale(1.06);
    filter: blur(0);
  }
  100%{
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* ===============================
   step2: mark move left
=============================== */

.opening.step2 .opening__mark-wrap{
  transform: translateX(0);
}

/* ===============================
   step3: type reveal
=============================== */

.opening.step3 .opening__type{
  animation: openingTypeIn .8s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes openingTypeIn{

  0%{
    opacity:0;
    transform: translateX(-24px);
    clip-path: inset(0 100% 0 0);
  }

  100%{
    opacity:1;
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
  }

}

/* ===============================
   fade out
=============================== */

.opening.is-out{
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  pointer-events: none;
}

/* ===============================
   mobile
=============================== */

@media (max-width: 767px){
  :root{
    --opening-gap: 14px;
    --opening-mark-w: 64px;
    --opening-type-w: min(72vw, 360px);
    --opening-shift-x: calc((var(--opening-type-w) + var(--opening-gap)) / 2);
  }
  .opening__type-wrap{
    padding-left: 16px;
  }

  .opening__type{
    transform: translateX(-16px);
  }

  @keyframes openingTypeIn{
    0%{
      opacity: 0;
      transform: translateX(-16px);
      clip-path: inset(0 100% 0 0);
    }
    100%{
      opacity: 1;
      transform: translateX(0);
      clip-path: inset(0 0 0 0);
    }
  }
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
}

a {
  transition: opacity 0.2s;
  text-decoration: none;
}
a:hover {
  opacity: 0.75;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.btn--reserve {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
}
.btn--reserve:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

.btn--sm {
  padding: 6px 16px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1920px;
  z-index: 100;
  background: transparent;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

/* fixed化したあと */
.header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.7); /* 透過30% */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


/* 表示アニメ */
@keyframes headerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.header__top {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}
/* 1行レイアウト */
.header.is-fixed .header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 18px;

}



/* LEFT */
#header_left {
  width: 60%;
  display: flex;
  flex-direction: column;
  padding-left: 6%;
}
/* 左エリア */
.header.is-fixed #header_left {
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* RIGHT */
#header_right {
  width: 37%;
  display: flex;
  justify-content: flex-end;
  padding-right: 3%;
  max-width: 500px;
}
/* header_right 非表示 */
.header.is-fixed #header_right {
  display: none !important;
}


.header__logo{
  margin-bottom: 20px;
}
.header__logo img {
  display: block;
  width: 100%;
  max-width: 422px; /* 通常時 */
  transition: max-width 0.35s ease;
}

.header__logo a {
  display: inline-block;
}

.header__logo a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  white-space: nowrap;
}
/* ロゴサイズ */
.header.is-fixed .header__logo {
  margin-bottom: 0;
  padding-top: 10px;
}
.header.is-fixed .header__logo img {
  max-width: 280px;
}

.header__info {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* グローバルナビ */
.nav-list {
  display: flex;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.nav-list li a {
  display: block;
  padding: 10px 46px 0 0;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #fff; /* hero上では白 */
  transition: color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-list li a:hover {
  opacity: 0.7;
}
/* ナビ */
.header.is-fixed .nav-list {
  justify-content: flex-end;
}


/* nav色 */
.header.is-fixed .nav-list li a {
  color: var(--color-primary);
  padding: 10px 30px 0 0;

}


/* 右側 */
.header__info {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 24px;
}

/* table画像 */
.header__info img {
  display: block;
  width: auto;
  max-width: 100%;
  transition: transform 0.35s ease, opacity 0.3s ease;
}



main{
    background: linear-gradient(to bottom, #ffffff 0%, #e1eef4 100%);
}
/* ==========================================================================
   HERO
   ========================================================================== */
/* HERO */
.hero {
  position: relative;
  height: 100vh;
  border-bottom-left-radius: 50px;
  overflow: hidden;
  margin-left: 3vw;
	margin-top: -30px;
}

/* 背景画像 */
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero3.png") no-repeat center 100% / cover;
}
/* .hero_bnr{
    width: 341px;
    position: absolute;
    z-index: 1;
    bottom: 9px;
    left: 24px;
}
.hero_bnr img{
  max-width: 100%;
  height: auto;
}


@media (max-width: 640px) {
  .hero_bnr{
    width: 254px;
      bottom: 0;
      left: 0;
  }
} */


	.hero_bnr{
    width: 341px;
    position: absolute;
    z-index: 1;
    bottom: 46px;
    left: 50px;
}
.hero_bnr img{
  max-width: 100%;
  height: auto;
}


@media (max-width: 640px) {

  .hero_bnr{
      width: 80%;
      max-width: 254px;
      bottom: 22px;
      left: 0;
  }
}
	.hero_bnr2{
    width: 341px;
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: 50px;
}
.hero_bnr2 img{
  max-width: 100%;
  height: auto;
}


@media (max-width: 640px) {
  .hero_bnr2{
      width: 80%;
      max-width: 254px;
      bottom: -10px;
      left: 0;
  }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 80px 0;
  background-image: url("../img/bg_2nd2.svg");
  background-repeat: no-repeat;
  background-position: right top -80px;
  background-size: contain;

}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text{
  background-image: url("../img/bg_2nd1.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  color: var(--color-primary);
}


.about__catch {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  margin-bottom: 70px;
}
.about__catch span{
  margin-left: 30px;
}
.about__body{
  position: relative;
  padding: 80px 60px;
}
.about__body p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.9;
  color: #333;
}

.about__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}




/* ==========================================================================
   NEWS
   ========================================================================== */
.news {
  padding: 60px 0;
}

.news__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
   gap: 180px; /* ← ここを増やす */
  align-items: start;
}
.section-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 50px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
}
.section-subtitle {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary);
  margin-top: 4px;
  margin-bottom: 20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:500;
  text-decoration: none;
}
/* Newsボタン */
.btn--news{
  position: relative;
  color: var(--color-primary);
 background: var(--color-primary);
  
  color:#fff;
  border:2px solid #356C9A;
  border-radius:16px;
  padding:27px 75px 20px 54px;
  line-height:1;
  text-decoration:none;

  transition:
    background .28s cubic-bezier(.4,0,.2,1),
    color .28s cubic-bezier(.4,0,.2,1),
    border-color .28s cubic-bezier(.4,0,.2,1),
    transform .18s ease;
}

/* 右下の白い“出っ張り” */
.btn--news::before{
  content:"";
  position:absolute;
  right:-2px;
  bottom:-2px;
  width:40px;
  height:40px;
  background:#fff;
  border-top-left-radius:16px;
  transition:background .28s cubic-bezier(.4,0,.2,1);
}

/* hover */
.btn--news:hover{
  background:#fff;
  color: var(--color-primary);

  transform: translateY(-2px);
}

/* 右下の白い“出っ張り” */
.btn--news::before{
  content:"";
  position:absolute;
  right: -2px;
  bottom: -2px;
  width: 40px;     /* 出っ張りサイズ */
  height: 40px;
  background:#fff;
  border-top-left-radius: 16px; /* 白パーツの角 */
}


/* 矢印（白パーツの上） */
.btn--news::after{
  content:"";
  position:absolute;
    right: 5px;
    bottom: 5px;
  width:20px;
  height:20px;
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'>\
<path d='M5 12H19M19 12L13 6M19 12L13 18' stroke='%23356C9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") no-repeat center / contain;
}


.news__item {
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  display: flex;
  align-items: center;
}

.news__item--highlight {
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.news__date {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  color: var(--color-primary);
  white-space: nowrap;
}


.news__tag--new {
  background: var(--color-primary);
  color: var(--color-white);
}

.news__title {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.news__title:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* 丸 */
.news__item::before{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:10px;
  height:10px;
  background: var(--color-primary);
  border-radius:50%;

  transform: translateY(-50%) scale(1);
  transform-origin:center;   /* ← これ重要 */

  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

/* 矢印 */
.news__item::after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  width:14px;
  height:14px;
  transform: translateY(-50%) scale(.6);
  opacity:0;
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'>\
<path d='M5 12H19M19 12L13 6M19 12L13 18' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") no-repeat center / contain;

  transition: all .3s ease;
}

/* hover */
.news__item:hover::before{
  transform: translateY(-50%) scale(4); /* 10px × 4 = 40px */
}

.news__item:hover::after{
  opacity:1;
  transform: translateY(-50%) scale(1);
}
.section-title{
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 42px;
  font-weight: 500;
 color: var(--color-primary);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section-subtitle{
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
/* ==========================================================================
   FEATURES
   ========================================================================== */
.features{
  padding: 80px 0;
  text-align: center;
  /* section背景はメインのグラデがある前提なら、ここは透明でもOK */
}

.features__panel{
  background: #fff;
  border-radius: 56px;                 /* 角丸 */
  padding: 56px clamp(20px, 4vw, 64px);/* 内側余白 */
}

.features__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  row-gap: 48px;   /* ← 行間を広げる */
  margin-top: 48px;
  text-align: left;
}

/* カード */
.feature-card{
  background: transparent;                 /* 背景なし */
  border-right: 2px dotted rgba(53,108,154,.35); /* dotted */
  padding: 0 24px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
  flex-direction: column;
}
.feature-card:nth-child(3n){
  border-right: none;
}

.feature-card__title{
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.5;
  text-align: center;
}
.feature-card__title .small{
  display: block;
  font-size: 18px;
}

.feature-card__icon img{
  display:block;
  max-width:100%;
  height:auto;
  margin: 0 auto 15px;
}


.feature-card__text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.feature-card__btn {
	margin-top: auto;
	padding-top: 40px;
	text-align: right;
}

.btn--right {		 
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #718096;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 20px;
    border-radius: 100px;
    background-color: var(--color-primary);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg width='9' height='10' viewBox='0 0 9 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path transform='rotate(-90 4.5 5)' d='M4.49988 10L9 5.6179L8.27888 4.91569L5.04809 8.06175L5.04809 -2.20659e-07L3.95191 -1.72744e-07L3.95191 8.06176L0.721121 4.91569L2.45566e-07 5.6179L4.49988 10Z' fill='white'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50% 50%;
  }
}

@media (max-width: 640px) {
	.feature-card__btn {
		padding-top: 20px;
}
	.btn--right {
		font-size: 14px;
	}
}
	
	
	
/* ==========================================================================
   TREATMENTS
   ========================================================================== */
.treatments {
  padding: 80px 0;
  background: #fff;
  text-align: center;
   position: relative;
   overflow: visible;
    z-index: 2;
}

.treatments::before{
  content:"";
  position:absolute;
  left: 0;
  bottom: -50px;

  width: 520px;
  height: 520px;

  background: url("../img/treatments_bg.svg") no-repeat left bottom;
  background-size: contain;

  z-index: 0;          /* ← 背景レイヤー */
  pointer-events: none;
}

/* セクション内の要素を前面に */
.treatments > *{
  position: relative;
  z-index: 1;
}
.treatments .section-subtitle{
  margin-bottom: 30px;
}
.treatments__lead {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-top: 16px;
  line-height: 1.9;
}

.treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.treatment-card {
}


.treatment-card__img {
}

.treatment-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}





/* ==========================================================================
   BLOG
   ========================================================================== */
.blog {
  position: relative;
  padding: 80px 0;
  background: var(--color-white);
  position: relative;
  z-index: 1;
}
/* 右側背景 */
.blog_bg{
  position: relative;
padding: 50px 0;
}

.blog_bg::before{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:54vw;              /* 画面の1/3 */
  height:100%;
  background:#FCFAF3;
  border-top-left-radius:60px;
  border-bottom-left-radius:60px;
  z-index:0;
}
/* コンテンツは前面 */
.blog .container{
  position:relative;
  z-index:1;
}
.blog__inner{
  display:grid;
  grid-template-columns: 200px 1fr;
  column-gap: 70px;   /* 見出しと右面の距離は広めが近い */
  align-items:start;
}


/* グリッド（2列2行） */
.blog__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 58px;
}
.blog-card__link{
  display:flex;
  align-items:center;
  gap:20px;        /* 画像と本文の間隔 */
  text-decoration:none;
  color:inherit;
}
.blog-card{
  border: none;
  border-radius: 20px;
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
  display:flex;
  gap:16px;
  align-items:center;
}

.blog-card:hover{
  transform: translateY(-22px); /* 元が-18pxなので少し浮かせる */
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

.blog-card__body{
  padding: 12px 2px 0;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card__img{
  width:160px;
  height:120px;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
   flex: 0 0 160px; /* ← これが効く */
}

/* 通常の写真 */
.blog-card__img > img{
  width:160px;
  height:120px;
  object-fit:cover;
  display:block;
}

/* ロゴ用 */
.blog-card__img-placeholder{
  width:100%;
  height:100%;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* ロゴサイズ */
.blog-card__img-placeholder img{
  width:60px;
  height:auto;
}


.blog-card__meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 6px;
}

.blog-card__date{
  font-family:"Zen Maru Gothic", sans-serif;
  font-size:16px;
  font-weight:500;
  color: var(--color-primary);
  line-height:1;
}

.blog-card__tag{
  font-family:"Zen Maru Gothic", sans-serif;
  font-size:12px;
  font-weight:500;
  color: var(--color-primary);
  background:#FFF0C6;
  padding: 6px 10px;
  border-radius: 999px;
  line-height:1;
}
.blog-card__title{
/*  font-family:"Zen Maru Gothic", sans-serif;*/
  font-size:16px;
/*  font-weight:500;*/
  color:#2b2b2b;
  line-height:1.6;
}
/* 
===============================================
   FOOTER
   ============================================= */


.access{
  margin-bottom: 50px;
  padding: 0 0 40px;
}

.access__map{
  width: 100%;
  height: 360px;
  border-radius: 56px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.access__map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.footer{
  position: relative;
  color:#fff;
  background: none;
  z-index:1;
  padding-bottom: 60px;
}

.footer::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;            /* 下から */
  width:100%;
  height:80%;          /* 高さ80% */
  background: var(--color-primary);
  z-index:-1;
}

.footer__top {
  padding: 48px 0;
}

.footer__inner{
  display:grid;
  grid-template-columns: 50% 1fr;
  gap:60px;
}



.footer__schedule-img{
  width: 100%;
  height: auto;
  display: block;
  padding-top: 20px;
}

.footer__clinic{
  display:flex;
  flex-direction:column;
  align-items:center;   /* ← 横中央 */
  text-align:center;    /* ← 文字も中央 */
  gap:16px;
}

.footer__address {
  font-size: 0.875rem;
  line-height: 1.8;
  opacity: 0.85;
}

.footer__tel {
  font-size: 1.25rem;
  font-weight: 500;
  display: inline-block;
  margin-top: 4px;
}


.footer__access-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
.footer__access-title img{
}
.footer__access-text{
  font-size:14px;
  line-height:1.7;
  opacity:.9;
}
.footer__access-text {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__access-text li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  text-align: left;
}

.footer__access-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: #FFF0C6;
  border-radius: 50%;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
}

.footer__nav ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center; 
}

.footer__nav ul li a {
  display: inline-block;
  font-size: 0.8125rem;
  padding: 4px 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  text-decoration: none;
}

.footer__nav ul li:last-child a {
  border-right: none;
}

.footer__nav ul li a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer__copyright {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

   @media (max-width: 1300px) {
    .nav-list{
      gap:0px; 
    }
    .nav-list li a{
      padding:0 20px;
    }

#header_left {
    padding-left: 6%;
}
.hero{
    /* border-top-left-radius: 30px; */

}

   }

@media (min-width: 1024px) {

  .feature-card__title{
    line-height:1.4;
    min-height:calc(1.4em * 2);
  }

}

/* Tablet: ~960px */
@media (max-width: 1024px) {

.sp-none{
  display: none !important;
}
.pc-none{
  display: block !important;
}
img{
  max-width:100%;
  height:auto;
  display:block;
}

/* 背景画像専用レイヤー */

.hero{
    width: 100%;
    height: auto;
    aspect-ratio: 750 / 860;
    border-radius: 0;
    overflow: hidden;
    margin: -30px 0 0;
}

.hero__bg{
  position:absolute;
  inset:0;
  background: url("../img/hero2_sp2x.png") no-repeat center / contain;
}

#table-sp{
  width: 94%;
  margin: auto;
  text-align: center;
}

.about {
    padding: 40px 0;
    background-position: right bottom ;
    background-size: 50vw auto;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}
.about__inner{
  display: block;
}

.about__text {
    background-image: url(../img/bg_2nd1.png);
    background-position: left top;
}

.about__catch {
  text-align: center;
    font-size: 24px;
    margin-bottom: 35px;
}
.about__body {
    padding: 0;
}
.about__body p {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.9;
    text-align: center;
}
.about__images {
    display: block;
    position: relative;
    text-align: center;
}



/* NEWS */

.news{
  padding:60px 0;
}

/* header → list の縦並び */
.news__inner{
  display:flex;
  flex-direction:column;
  gap:40px;
}
.news__header{
  width: 100%;
}
/* タイトルサイズ */
.section-title{
  font-size:50px;
  line-height:1.1;
  text-align: center;
}
.features .section-title,
.treatments .section-title{
  font-size:32px;
}

.section-subtitle{
  font-size:16px;
  text-align: center;
  margin-bottom: 0;
}
.news__list{
  width:100%;
}
.news__item{
  display:flex;
  flex-direction:column;   /* 縦並び */
  align-items:flex-start;  /* 左揃え */
  gap:3px;
  width:100%;              /* 横幅いっぱい */
  padding:20px 0;
  border-bottom:1px solid var(--color-border);
}
.news__item:first-child{
  border-top:1px solid var(--color-border);
}
.btn--news{
  display:block;
  width:fit-content;
  margin:10px auto 0;
}

/* FEATURES */
.feature-card{
  border:none;
}
.feature-card__title{
  font-size: 24px;
}

.feature-card__title .small{
  font-size: 14px;
}
.feature-card__text {
  font-size: 14px;
}

.treatments::before {
    left: 0;
    bottom: -50px;
    width: 90vw;
    height: 520px;
    background: url(../img/treatments_bg.svg) no-repeat left bottom;
    background-size: contain;
}
.treatments__lead{
  font-size: 16px;
  text-align: left;
}
treatment-card {
    margin-bottom: 30px;
}

.blog {
    position: relative;
    padding: 40px 0;
    background: var(--color-white);
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}
.blog_bg .container{
  margin-bottom: 40px;

}
.blog__inner{
  display:grid;
  grid-template-columns:1fr; /* 1カラム */
  row-gap:40px;
}

/* blogカード縦並び */
.blog__grid{
  display:flex;
  flex-direction:column;
  gap:32px;
}

.access {
    margin-bottom: 20px;
}

.footer {
    padding-bottom: 40px;
}
/* footer全体を縦 */
.footer__inner{
  display:grid;
  grid-template-columns:1fr;
  row-gap:40px;
}
.footer__top {
    padding: 5px 0;
}
/* ナビを2列 */
.footer__nav ul{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px 20px;
  padding:0;
  margin:0;
  list-style:none;
}
.add_span{
  margin-left: 5px;
}
.footer__access-item{
  margin-bottom: 15px;
}
.footer__access-item{
  display:flex;
  flex-direction:column;   /* 縦並び */
  align-items:flex-start;  /* 左揃え */
  gap:8px;
}

}

/* Mobile: ~640px */
@media (max-width: 640px) {

  .features__grid {
    grid-template-columns: 1fr;
  }

  .treatments__grid {
    grid-template-columns: 1fr;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .footer__nav ul {
    flex-direction: column;
  }

  .footer__nav ul li a {
    border-right: none;
    border-bottom: none;
  }
}


