@charset "UTF-8";

/* ==========================================================================
   base
   ========================================================================== */
html {
  font-size: calc(10 / 375 * 100vw);
}

body {
  /* clip指定：hiddenだとheaderのposition: stickyが効かないため */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-family: 'Noto Serif JP', serif;
  color: #555;
  background-color: #fffcf3;
}

/* SPで末尾に1〜3文字だけ落ちる「取りこぼし」を抑制 */
p,
dd,
li,
.lead,
.text,
.desc,
.message,
.note {
  text-wrap: pretty;
  word-break: auto-phrase;
}

.catch,
.jp,
h2,
h3,
.head_ttl,
.sec_ttl {
  text-wrap: balance;
  word-break: auto-phrase;
}

body.non_scroll {
  overflow: hidden;
}

.inner {
  padding: 0 1.6rem;
}

/* 住所の番地など、途中で折り返したくない文字列 */
.nowrap {
  white-space: nowrap;
}

/* 改行の出し分け（pc_on=PCのみ改行 / pc_none=SPのみ改行） */
br.pc_on {
  display: none;
}

/* ==========================================================================
   header（全ページ共通）
   ========================================================================== */
header {
  position: relative;
  width: 100%;
  height: 6.4rem;
  background-color: #fffcf3;
  z-index: 10;
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.6rem;
}

.header_logo {
  position: relative;
  z-index: 100;
}

/* ロゴマークの左に「耳つぼダイエットサロン」を添えて1つのロゴとして見せる */
.header_logo a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header_logo .tagline {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  color: #c9a882;
}

.header_logo .logo_mark {
  display: block;
  width: 8.4rem;
}

.header_logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* SPではナビをオーバーレイ表示 */
.header_right {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 90;
}

.header_right.active {
  opacity: 1;
  visibility: visible;
}

.header_nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  height: 100%;
  padding: 6.4rem 2.4rem 2.4rem;
}

.header_nav .nav_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.header_nav .nav_list .item a {
  font-size: 2rem;
  color: #555;
}

.header_nav .contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.header_nav .tel {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  line-height: 1;
}

.header_nav .tel .label {
  font-size: 1.6rem;
}

.header_nav .tel a {
  font-size: 2.4rem;
  color: #555;
}

.header_nav .line_btn {
  padding: 0.8rem 2.4rem;
  background-color: #c9a882;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: #fff;
}

/* hamburger */
.hamburger {
  width: 4.8rem;
  height: 4.8rem;
  position: relative;
  z-index: 100;
  cursor: pointer;
}

.hamburger span:not(.text) {
  position: absolute;
  left: 50%;
  width: 2.8rem;
  height: 2px;
  background-color: #c9a882;
  transition: all 0.4s;
}

.hamburger span:not(.text):nth-child(1) {
  top: 1.6rem;
  transform: translateX(-50%);
}

.hamburger span:not(.text):nth-child(2) {
  top: 2.3rem;
  transform: translateX(-50%);
}

.hamburger span:not(.text):nth-child(3) {
  top: 3rem;
  transform: translateX(-50%);
}

.hamburger .text {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 700;
  color: #c9a882;
}

.hamburger.active span:not(.text):nth-child(1) {
  top: 2.3rem;
  transform: translate(-50%) rotate(20deg);
}

.hamburger.active span:not(.text):nth-child(2) {
  opacity: 0;
}

.hamburger.active span:not(.text):nth-child(3) {
  top: 2.3rem;
  transform: translate(-50%) rotate(-20deg);
}

/* ==========================================================================
   下層ページ共通のセクション見出し（en＋jp・左寄せ小）
   ========================================================================== */
.head_ttl {
  display: flex;
  flex-direction: column;
}

.head_ttl.tac {
  text-align: center;
  align-items: center;
}

.head_ttl .en {
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: #8fc8c2;
}

.head_ttl .jp {
  margin-top: 0.4rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #555;
}

/* ==========================================================================
   lower_header（下層ページ見出し・全ページ共通）
   ========================================================================== */
.lower_header {
  padding: 8rem 0 4rem;
  background-image: url(../img/common/lower_header_wave.svg);
  background-repeat: no-repeat;
  background-position: center top;
  /* 画面幅にフィットさせて左右の見切れを防ぐ */
  background-size: 100% auto;
  overflow: hidden;
}

.lower_header .en {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #8fc8c2;
}

.lower_header .jp {
  margin-top: 0.4rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8fc8c2;
}

.lower_header .lead {
  margin-top: 2.4rem;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: #555;
}

/* ==========================================================================
   装飾バンド（全ページ共通）
   ========================================================================== */
/* 高さ固定・object-fit で切り抜くため、どの画面幅でも画角が破綻しない */
.band {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 受付カウンターが中央に収まる位置 */
  object-position: center 42%;
}

/* ==========================================================================
   access（全ページ共通）
   ========================================================================== */
#access {
  display: flex;
  flex-direction: column;
}

#access .map {
  position: relative;
  height: 30rem;
}

#access .map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#access .content_wrap {
  padding: 4rem 1.6rem;
}

#access .ttl {
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: #8fc8c2;
}

#access .info_list {
  margin-top: 2.4rem;
}

#access .info_list .item {
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px dotted #c4a987;
}

#access .info_list .item:last-child {
  margin-bottom: 0;
}

#access .info_list .item dt {
  font-size: 2rem;
  font-weight: 700;
  color: #8fc8c2;
}

#access .info_list .item dd {
  margin-top: 1.6rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #555;
}

/* ==========================================================================
   Contact / CTA（全ページ共通）
   ========================================================================== */
#cta {
  padding: 6.4rem 0;
  background-color: #8fc8c2;
  background-image: url(../img/common/cta_bg.png);
  background-size: cover;
  background-position: center;
}

#cta .inner {
  text-align: center;
  color: #fff;
}

#cta .en {
  font-size: 4.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

#cta .jp {
  margin-top: 1.6rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

#cta .lead {
  margin-top: 2.4rem;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

#cta .btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  margin-top: 3.2rem;
}

#cta .btns .btn {
  min-width: 24rem;
  padding: 0.8rem 2.4rem;
  border: 1px solid #fff;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: center;
}

/* ==========================================================================
   footer（全ページ共通）
   ========================================================================== */
footer {
  background-color: #1e1e1e;
  padding: 4.8rem 1.6rem;
}

.footer_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
}

.footer_logo {
  width: 12rem;
}

.footer_logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer_nav .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem 2.8rem;
}

.footer_nav .list .item a {
  font-size: 1.8rem;
  color: #fff;
}

.copyright {
  margin-top: 3.2rem;
  text-align: center;
  font-size: 1.4rem;
  color: #fff;
}

/* ==========================================================================
   PC
   ========================================================================== */
@media (min-width: 768px) {
  html {
    font-size: min(calc(10 / 1500 * 100vw), 10px);
  }

  .inner {
    width: 100%;
    max-width: 126rem;
    margin: 0 auto;
    padding: 0;
  }

  br.pc_on {
    display: inline;
  }

  br.pc_none {
    display: none;
  }

  /* header */
  header {
    height: 7.9rem;
  }

  .header_inner {
    padding: 0 4rem;
  }

  .header_logo .tagline {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }

  .header_logo .logo_mark {
    width: 12rem;
  }

  .header_right {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
  }

  .header_nav {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding: 0;
  }

  .header_nav .nav_list {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .header_nav .nav_list .item a {
    font-size: 1.8rem;
    transition: color 0.3s;
  }

  .header_nav .nav_list .item a:hover {
    color: #8fc8c2;
  }

  .header_nav .tel a {
    transition: color 0.3s;
  }

  .header_nav .tel a:hover {
    color: #c4a987;
  }

  .header_nav .contact {
    flex-direction: row;
    align-items: center;
    gap: 2.4rem;
  }

  .header_nav .line_btn {
    transition: background-color 0.3s;
  }

  .header_nav .line_btn:hover {
    background-color: #c4a987;
  }

  .hamburger {
    display: none;
  }

  /* 下層セクション見出し（カンプ実測 56px） */
  .head_ttl .en {
    font-size: 5.6rem;
  }

  /* lower_header */
  .lower_header {
    padding: 9.6rem 0 8rem;
  }

  .lower_header .en {
    font-size: 5.6rem;
  }

  .lower_header .jp {
    font-size: 1.8rem;
  }

  .lower_header .lead {
    margin-top: 2.4rem;
    font-size: 2rem;
    line-height: 2;
  }

  /* 装飾バンド */
  .band {
    height: 40rem;
  }

  /* access */
  #access {
    flex-direction: row;
  }

  #access .map {
    width: 50%;
    height: auto;
  }

  #access .content_wrap {
    width: 50%;
    padding: 8rem 12rem 8rem 4rem;
  }

  #access .ttl {
    font-size: 6.4rem;
  }

  #access .info_list {
    margin-top: 4rem;
  }

  /* cta */
  #cta {
    padding: 8rem 0;
  }

  #cta .en {
    font-size: 6.4rem;
  }

  #cta .jp {
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }

  #cta .lead {
    margin-top: 4rem;
    font-size: 1.8rem;
  }

  #cta .btns {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
  }

  #cta .btns .btn {
    transition: background-color 0.3s, color 0.3s;
  }

  #cta .btns .btn:hover {
    background-color: #fff;
    color: #8fc8c2;
  }

  /* footer */
  footer {
    padding: 8rem 0;
  }

  .footer_inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 126rem;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 0;
  }

  .footer_nav .list {
    gap: 4rem;
  }

  .footer_nav .list .item a {
    transition: color 0.3s;
  }

  .footer_nav .list .item a:hover {
    color: #8fc8c2;
  }

  /* ロゴ */
  .footer_logo a {
    display: block;
  }

  .header_logo a,
  .footer_logo a {
    transition: opacity 0.3s;
  }

  .header_logo a:hover,
  .footer_logo a:hover {
    opacity: 0.7;
  }

  .copyright {
    margin-top: 4rem;
  }
}
