@charset "UTF-8";
/* theme.css
   トップページのデザイン調整。
   既存CSS（base_pc / base_smp / menu）は変更せず、最後に読み込んで上書きする。
   この読み込みを外せば元の表示に戻る。 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@400;500;600&display=swap');

/* 1. デザイントークン */
:root {
  /* 藍（メイン） */
  --c-navy-900: #0B2A3D;
  --c-navy-800: #103A52;
  --c-navy-600: #1B5E7E;
  --c-navy-400: #3E8AA8;
  --c-navy-050: #EAF1F4;

  /* 砂・紙（ベース） */
  --c-sand-050: #FBF8F3;
  --c-sand-100: #F4EEE4;
  --c-paper: #FFFFFF;

  /* 夕陽（アクセント。使いどころを絞る） */
  --c-terra-600: #B45F31;
  --c-terra-500: #C8763F;
  --c-terra-100: #F2E2D6;

  /* 文字 */
  --c-ink: #1D2A30;
  --c-ink-70: #4C5B62;
  --c-ink-45: #7E8C93;
  --c-line: #E2DACF;
  --c-line-soft: #EFE9E0;

  /* ナビの帯。無彩色グレーだと浮くため、わずかに暖色を残す */
  --c-nav-face: #F1F0ED;
  --c-nav-divider: #D0CABE;

  /* 既存変数の上書き */
  --main-bg: #103A52;
  --main-color: #0B2A3D;
  --sub-color: #4C5B62;

  /* 書体 */
  --f-serif: "Shippori Mincho", "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  --f-sans: "Noto Sans JP", "游ゴシック", YuGothic, "Hiragino Sans", Meiryo, sans-serif;
  --f-en: "Baskervville", "Times New Roman", serif;

  /* 余白リズム（8の倍数） */
  --sp-sec: 120px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 61, .06), 0 8px 20px -14px rgba(11, 42, 61, .35);
  --shadow-md: 0 2px 6px rgba(11, 42, 61, .07), 0 22px 44px -26px rgba(11, 42, 61, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. 土台（本文・リンク・共通） */
body {
  background-color: var(--c-sand-050);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 1.6rem;
  line-height: 1.95;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--c-terra-100); color: var(--c-navy-900); }

/* 全リンクを一律 opacity:.5 で薄くする既存指定を解除 */
a:hover,
a:hover img,
input[type="image"]:hover {
  opacity: 1;
  filter: none;
}
a { transition: color .28s var(--ease), opacity .28s var(--ease), background-color .28s var(--ease), border-color .28s var(--ease); }
a:link, a:visited { color: var(--c-navy-800); }
a:hover { color: var(--c-terra-600); }

img { max-width: 100%; }

/* 明朝見出しの共通調整 */
.title_top,
.ttl001,
.ttl_txt01,
.mainbn p,
.bn_top_recommendarea figure figcaption h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--c-navy-900);
}

/* 3. ヘッダー */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--c-line-soft);
}

.logobox .text {
  color: var(--c-ink-45);
  font-size: 1.1rem;
  letter-spacing: .06em;
  font-weight: 400;
}

.logobox a:hover { opacity: 1; }
.logobox a:hover .logo { opacity: .72; transition: opacity .3s var(--ease); }

@media print, screen and (min-width: 768px) {
  header { height: 96px; min-height: 96px; overflow: visible; }

  ul.dropmenu { margin: 0; gap: 0; height: 100%; }
  ul.dropmenu li { margin-right: 0; }

  ul.dropmenu > li > a {
    height: 100%;
    padding: 0 20px;
    width: auto;
    border: 0;
    border-left: 1px solid var(--c-nav-divider);
    border-radius: 0;
    background-color: var(--c-nav-face);
    font-family: var(--f-sans);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .07em;
    color: var(--c-navy-900);
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  }
  ul.dropmenu > li > a:link,
  ul.dropmenu > li > a:visited,
  ul.dropmenu > li > a:active { color: var(--c-navy-900); }

  /* ホバーは藍で塗りつぶして白抜き */
  ul.dropmenu > li > a:hover {
    color: #fff;
    background-color: var(--c-navy-800);
    border-left-color: var(--c-navy-800);
  }
}

/* 電話番号とお問い合わせボタンはPCのみ表示 */
.header_cta { display: none; }

@media print, screen and (min-width: 768px) {
  .logoarea {
    display: flex;
    align-items: stretch; /* header_right ＝お問い合わせボタンをヘッダー高さいっぱいに伸ばす */
    justify-content: space-between;
    max-width: none;
    width: 100%;
    height: 100%;
    padding: 0 0 0 32px;
    text-align: left;
  }

  .logobox {
    align-self: center;
    flex-shrink: 0;
    width: 400px;
    height: 70px;
    margin-top: 0;
  }

  ul.dropmenu li a { white-space: nowrap; }

  /* ナビ・電話・お問い合わせを隙間なく連ねて一続きの帯に見せる */
  .header_right {
    display: flex;
    align-items: stretch; /* header_cta をこの高さいっぱいに伸ばす */
    gap: 0;
  }

  #navbox { align-self: stretch; }
  #nav-drawer,
  #nav-content,
  #gmenu.gnav { height: 100%; }

  .header_cta {
    display: flex;
    align-items: stretch;
    height: 100%;
  }

  .header_cta_tel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0; /* 幅が足りない時に箱だけ縮んで電話番号が折り返す事故を防ぐ */
    padding: 6px 14px;
    background: var(--c-navy-800);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.3;
  }
  .header_cta_tel:link,
  .header_cta_tel:visited,
  .header_cta_tel:active { color: #fff; text-decoration: none; }
  .header_cta_tel:hover { opacity: .88; color: #fff; text-decoration: none; }
  .header_cta_tel_label {
    font-size: 1.1rem;
    letter-spacing: .04em;
    color: var(--c-navy-050);
  }
  .header_cta_tel_num {
    font-family: var(--f-sans);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .02em;
  }

  .header_cta_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: var(--c-terra-500);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .28s var(--ease);
  }
  .header_cta_btn:link,
  .header_cta_btn:visited,
  .header_cta_btn:active { color: #fff; text-decoration: none; }
  .header_cta_btn:hover { opacity: 1; color: #fff; background: var(--c-terra-600); text-decoration: none; }
}

/* 4. メインビジュアル */
.mainbox,
.mainbg { aspect-ratio: 16 / 7; }

/* body 内の <style> より詳細度を一段上げて上書きする */
.mainbox .myVideoSwiper,
.mainbox .swiper-wrapper,
.mainbox .swiper-slide { height: 100%; }

.mainbox .swiper-slide video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.mainbox::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 42, 61, .82) 0%, rgba(11, 42, 61, .44) 32%, rgba(11, 42, 61, .08) 58%, rgba(11, 42, 61, 0) 76%),
    linear-gradient(to bottom, rgba(11, 42, 61, .30) 0%, rgba(11, 42, 61, 0) 26%);
}

.mainbn {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  top: auto;
  transform: none;
  width: auto;

  max-width: min(1020px, calc(100% - 96px));
  margin: 0 0 68px 68px;
  padding: 6px 0 6px 32px;
  background: none;
  box-shadow: none;
  text-align: left;
}

.mainbn::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 3px;
  background: var(--c-terra-500);
}

.mainbn_eyebrow {
  display: block;
  font-family: var(--f-en);
  font-size: 1.5rem;
  letter-spacing: .3em;
  text-indent: .3em;

  color: var(--c-terra-100);
  margin-bottom: 22px;
  /* 細身のセリフ体は輪郭が薄いため、影を1段強めて縁取りをはっきりさせる */
  text-shadow: 0 1px 2px rgba(11, 42, 61, 1), 0 1px 6px rgba(11, 42, 61, .9), 0 2px 14px rgba(11, 42, 61, .7);
}

.mainbn p {
  color: #fff;

  font-size: clamp(3rem, 1.4rem + 2.1vw, 4.6rem);
  line-height: 1.5;
  letter-spacing: .03em;
  text-shadow: 0 2px 5px rgba(11, 42, 61, .85), 0 8px 32px rgba(11, 42, 61, .55);
}
.mainbn p .mainbn_l1,
.mainbn p .mainbn_l2 { display: block; }
.mainbn p .mainbn_l2 { margin-top: .12em; }

.swiper-button-next,
.swiper-button-prev {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: #fff;
  filter: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 1.5rem; font-weight: 700; }

.swiper-pagination-bullet {
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, .55);
  opacity: 1;
}
.swiper-pagination-bullet-active { background: var(--c-terra-500); }

/* 5. セクション見出し */
.title_top {
  position: relative;
  font-size: 3.6rem;
  padding-bottom: 26px;
}
.title_top span {
  display: block;
  font-family: var(--f-en);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--c-terra-600);
  margin-bottom: 14px;
}
.title_top::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 1px;
  margin-left: -22px;
  background: var(--c-navy-600);
}

/* 6. Information（お知らせ） */
.section_aerea { background-color: var(--c-sand-100); }

/* 斜めの切り欠きは画像をやめて clip-path で描く */
.section1 img { display: none; }
.section_box { background: transparent; }

@media print, screen and (min-width: 768px) {
  .section1 {
    --bleed: max(0px, calc(50vw - 570px));
    flex: none;
    width: calc(30% + var(--bleed));
    margin-left: calc(-1 * var(--bleed));
    background-color: var(--c-navy-900);
    background-image: linear-gradient(150deg, var(--c-navy-800) 0%, var(--c-navy-900) 68%);
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%);
  }

  .top_info_ttl {
    top: 118px;
    left: max(40px, var(--bleed, 0px));
  }
  /* 行間を広げたぶん、3件が切れずに収まる高さへ */
  .top_info_txt { padding: 52px 0 52px 8px; }
  .top_info_scroll { height: 244px; }
}

.top_info_ttl p {
  background-color: transparent;
  font-family: var(--f-en);
  font-size: 3.4rem;
  letter-spacing: .1em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}

/* 「More」を控えめなアウトラインボタンに */
.top_info_ttl a {
  display: inline-block;
  min-width: 0;
  padding: 9px 52px 9px 18px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, .45);
  font-family: var(--f-en);
  font-size: 1.3rem;
  letter-spacing: .22em;
  line-height: 1.6;
}
.top_info_ttl a:hover {
  background-color: rgba(255, 255, 255, .12);
  border-color: #fff;
}
.top_info_ttl a::after {
  width: 20px;
  top: 50%;
  right: 18px;
  border-bottom-color: #fff;
  transition: transform .32s var(--ease);
}
.top_info_ttl a::before {
  width: 7px;
  top: calc(50% - 3px);
  right: 18px;
  border-top-color: #fff;
  transition: transform .32s var(--ease);
}
.top_info_ttl a:hover::after { transform: translateX(4px); }
.top_info_ttl a:hover::before { transform: translateX(4px) rotate(45deg); }

.top_info_txt dl {
  margin-bottom: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(11, 42, 61, .10);
}
.top_info_txt dl:last-child { border-bottom: none; }

/* 日付・電話番号は Baskervville だと旧字体数字（0557 が o557 に見える）になるのでゴシックで */
.top_info_txt dt {
  font-family: var(--f-sans);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--c-ink-45);
  line-height: 1.6;
  margin-bottom: 5px;
}
.top_info_txt dt span {
  font-family: var(--f-sans);
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--c-terra-600);
  border-color: var(--c-terra-100);
  background: var(--c-terra-100);
  padding: 1px .8em;
  margin-left: .8em;
  vertical-align: 1px;
}
.top_info_txt dd { font-size: 1.55rem; line-height: 1.75; }
.top_info_txt dd a { text-decoration: none; }
.top_info_txt dd a:hover { text-decoration: underline; text-underline-offset: .3em; }

.top_info_scroll { scrollbar-width: thin; scrollbar-color: var(--c-navy-400) transparent; }
.top_info_scroll::-webkit-scrollbar { width: 4px; }
.top_info_scroll::-webkit-scrollbar-thumb { background: var(--c-navy-400); }

/* 7. 新着物件・価格変更物件（NEW ARRIVAL / PRICE CHANGE） */
.top_new_bukken {
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px 20px 40px;
}
.bukken_block + .bukken_block { margin-top: 64px; }

.bukken_card_li li { margin-bottom: 28px; }
.bukken_card_li li:last-child { margin-bottom: 0; }

.bukken_card_li a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.bukken_card_li a:link,
.bukken_card_li a:visited,
.bukken_card_li a:active { color: var(--c-ink); text-decoration: none; }
.bukken_card_li a:hover {
  opacity: 1;
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line);
}

.bukken_card_photo { aspect-ratio: 4 / 3; overflow: hidden; }
.bukken_card_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .5s var(--ease);
}
.bukken_card_li a:hover .bukken_card_photo img { filter: saturate(1.08) brightness(1.03); }

.bukken_card_body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 22px 24px;
}

.bukken_card_price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  /*font-family: var(--f-en);*/
  font-size: 2.1rem;
  letter-spacing: .02em;
  color: var(--c-terra-600);
}
.bukken_card_price_unit {
  font-family: var(--f-sans);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-ink-70);
}
.bukken_card_tag {
  margin-left: auto;
  padding: 3px 10px;
  font-family: var(--f-sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-terra-600);
  background: var(--c-terra-100);
}
/* 「価格変更」はテラコッタ。「おすすめ」は色で分けて藍にする */
.bukken_card_tag_pick {
  color: var(--c-navy-050);
  background: var(--c-navy-800);
}
.bukken_card_name {
  margin-bottom: 8px;
  font-size: 1.6rem;
  line-height: 1.5;
}
.bukken_card_info {
  margin-top: auto;
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--c-ink-45);
}

@media print, screen and (min-width: 768px) {
  .bukken_card_li_recommend,
  .bukken_card_li_new,
  .bukken_card_li_price {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .bukken_card_li_recommend li,
  .bukken_card_li_new li,
  .bukken_card_li_price li { margin-bottom: 0; }
}

/* 8. BUSINESS（事業紹介） */
.top_business { padding-top: 96px; }

@media print, screen and (min-width: 768px) {
  .top_business_li {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4件を2×2で均等配置 */
    align-items: stretch; /* 高さを揃える */
    gap: 44px 32px;
    max-width: 1140px;
    padding: 0 20px;
    margin-bottom: 120px;
  }
  .top_business_li li { width: auto; margin-bottom: 0; }
}

/* li を flex にして、カードの高さを行内でそろえる（矢印の位置も揃う） */
.top_business_li li { display: flex; }

.top_business_li li a {
  display: block;
  flex: 1 1 auto;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.top_business_li li a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line);
}

/* 既存のホバー演出（白い幕）を止める */
.bgleft::before { display: none; }

.top_business_li li img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 0;
  transition: filter .5s var(--ease);
}
.top_business_li li a:hover img { filter: saturate(1.08) brightness(1.03); }

.top_business_li li .ttl001 {
  font-size: 2.0rem;
  padding: 26px 26px 0;
  line-height: 1.55;
}
.top_business_li li p {
  font-size: 1.45rem;
  line-height: 2;
  color: var(--c-ink-70);
  padding: 12px 26px 56px;
}

/* 矢印（既存の2本線を整えて、ホバーで前へ出る） */
.linkarrow::before {
  width: 7px;
  top: auto;
  bottom: 25px;
  right: 26px;
  border-top-color: var(--c-terra-500);
  transition: transform .34s var(--ease);
}
.linkarrow::after {
  width: 24px;
  top: auto;
  bottom: 22px;
  right: 26px;
  border-bottom-color: var(--c-terra-500);
  transition: transform .34s var(--ease);
}
.top_business_li li .ttl001.linkarrow { position: static; }
.top_business_li li a { position: relative; }
.top_business_li li a:hover .linkarrow::after { transform: translateX(6px); }
.top_business_li li a:hover .linkarrow::before { transform: translateX(6px) rotate(45deg); }

/* 9. SPECIAL FEATURE（現在販売中物件特集）/ RECOMMEND 共通の帯背景 */

.bk_topabout,
.bk_top_recommend {
  background-repeat: no-repeat, no-repeat;
  background-position: center 0, center 0;
}
.bk_topabout {
  background-image:
    linear-gradient(to bottom, rgba(11, 42, 61, .26) 0%, rgba(11, 42, 61, .02) 30%, rgba(251, 248, 243, 0) 58%, var(--c-sand-050) 100%),
    url(../img/top_bk_about.webp);
  background-size: 100% calc(100vw * 0.2917 + 2px), 100% auto;
}
.bk_top_recommend {
  background-image:
    linear-gradient(to bottom, rgba(11, 42, 61, .26) 0%, rgba(11, 42, 61, .02) 30%, rgba(251, 248, 243, 0) 58%, var(--c-sand-050) 100%),
    url(../img/top_bk_recommend.webp);
  background-size: 100% calc(100vw * 0.291 + 2px), 100% auto;
}

.whitebox { box-shadow: var(--shadow-md); }

@media print, screen and (min-width: 768px) {
  .bk_topabout { padding-top: 300px; margin-bottom: 120px; }
  .bk_top_recommend { padding-top: 300px; }
  .pad50 { padding: 72px 72px 64px; }
}

/* 各特集の行 */
.top_recommend_li li {
  margin-bottom: 0;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.top_recommend_li li:first-child { padding-top: 8px; }
.top_recommend_li li:last-child { border-bottom: none; padding-bottom: 8px; }

@media print, screen and (min-width: 768px) {
  .top_recommend_li li { gap: 48px; align-items: center; flex-wrap: nowrap; }
  .top_recommend_li_in { width: auto; flex: 1 1 auto; }
  .top_recommend_li li img {
    flex: none;
    width: 280px; /* 元画像が 230px 角と小さいため、拡大しすぎない幅に留める */
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  }
  .top_recommend_li li:hover img {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* 箇条書きの点を細い罫に置き換え */
.top_recommend_li .ttl_txt01::before {
  width: 26px;
  height: 1px;
  background-image: none;
  background-color: var(--c-terra-500);
  margin-right: 16px;
  vertical-align: .35em;
}
.top_recommend_li .ttl_txt01 {
  font-size: 2.2rem;
  margin-bottom: 14px !important;
  line-height: 1.55;
}
.top_recommend_li_in p {
  font-size: 1.55rem;
  line-height: 2;
  color: var(--c-ink-70);
  margin-bottom: 18px;
}

/* 「詳しくはこちら」 */
.btn_01 {
  min-height: 0;
  line-height: 1.6;
  padding: 11px 56px 11px 20px;
  border: 1px solid var(--c-navy-600);
  font-family: var(--f-sans);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .1em;
}
.btn_01:link, .btn_01:visited { color: var(--c-navy-800); }
.btn_01:hover {
  opacity: 1;
  color: #fff;
  background: var(--c-navy-800);
  border-color: var(--c-navy-800);
}
.btn_01::before {
  width: 7px;
  top: calc(50% - 3px);
  right: 20px;
  border-top-color: var(--c-terra-500);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.btn_01::after {
  width: 22px;
  top: 50%;
  right: 20px;
  border-bottom-color: var(--c-terra-500);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.btn_01:hover::before { transform: translateX(4px) rotate(45deg); border-top-color: #fff; }
.btn_01:hover::after { transform: translateX(4px); border-bottom-color: #fff; }

/* 10. RECOMMEND（おすすめコンテンツ） */
.bn_top_recommendarea > li {
  margin-bottom: 0;
  padding: 34px 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.bn_top_recommendarea > li:last-child { border-bottom: none; }

@media print, screen and (min-width: 768px) {
  .bn_top_recommendarea figure { gap: 40px; align-items: center; flex-wrap: nowrap; }
  .bn_top_recommendarea figure img {
    flex: none;
    width: 44%;
    aspect-ratio: 2 / 1; /* バナー画像は文字入りなので元比率（500x250）のまま。切らない */
    object-fit: cover;
    margin-right: 0;
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  }
  .bn_top_recommendarea figure figcaption { width: auto; flex: 1 1 auto; }
  .bn_top_recommendarea a:hover figure img {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.bn_top_recommendarea a:hover { opacity: 1; }
.bn_top_recommendarea a figure figcaption p:hover { opacity: 1; }

.bn_top_recommendarea figure figcaption h3 {
  position: relative;
  font-size: 2.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: .6em;
  margin-bottom: .9em;
}
.bn_top_recommendarea figure figcaption h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 1px;
  background: var(--c-terra-500);
}
.bn_top_recommendarea figcaption p,
.bn_top_recommendarea figcaption li {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--c-ink-70);
}
.bn_top_recommendarea > li li::before { color: var(--c-terra-500); }

/* 11. Google 口コミ */
.google_kuchikomi {
  background: linear-gradient(160deg, var(--c-navy-800) 0%, var(--c-navy-900) 100%);
  border-radius: 0;
  padding: 44px 36px 52px;
  margin-top: 24px;
}
/* slick-theme.css のデモ用指定 .slider{width:80%} を打ち消す */
.google_kuchikomi .inner_slider.slider { width: 100%; }

.inner_slider .slick-slide { padding: 0 10px; box-sizing: border-box; height: auto; }
/* カードの高さを3枚そろえる */
.inner_slider .slick-track { display: flex; align-items: stretch; }
.inner_slider .slick-slide .ti-review-item,
.inner_slider .slick-slide .ti-inner { height: 100%; }

.ti-inner {
  background-color: var(--c-paper);
  border-radius: 2px;
  padding: 26px 24px;
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, .5);
}
.ti-name {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--c-navy-900);
  letter-spacing: .04em;
}
.ti-date { font-size: 1.2rem; color: var(--c-ink-45); }
.ti-review-text-container {
  font-size: 1.45rem;
  line-height: 1.95;
  color: var(--c-ink-70);
  margin-top: 10px;
}
.ti-profile-img img { width: 44px !important; height: 44px !important; }

.google_kuchikomi .slick-dots { bottom: -34px; }
.google_kuchikomi .slick-dots li,
.google_kuchikomi .slick-dots li button { width: 26px; height: 12px; }
.google_kuchikomi .slick-dots li button::before {
  content: '';
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .4);
  opacity: 1;
  top: 5px;
  left: 0;
}
.google_kuchikomi .slick-dots li.slick-active button::before { background: var(--c-terra-500); }

/* 12. ABOUT US（地図・会社案内） */
.top_map { padding-top: 40px; }
.top_map_posi iframe {
  display: block;
  filter: grayscale(.28) contrast(1.03);
  transition: filter .6s var(--ease);
}
.top_map_posi:hover iframe { filter: grayscale(0) contrast(1); }

@media print, screen and (min-width: 768px) {
  .top_map_box { transform: translateY(-80px); padding: 72px 72px 64px; }
  #company .company_li li dl dt { width: 220px; }
}

#company .company_li li {
  border-bottom: 1px solid var(--c-line-soft);
  padding: 22px 24px;
}
#company .company_li li:nth-child(odd) { background-color: var(--c-sand-050); }
#company .company_li li:last-child { border-bottom: none; }

#company .company_li li dl dt {
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: .12em;
  color: var(--c-ink-45);
}
#company .company_li li dl dd { font-size: 1.6rem; }

/* 電話番号を主役に */
#company .company_li li dl dd a[href^="tel:"] {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 2.6rem;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--c-navy-900);
  text-decoration: none;
  font-feature-settings: "palt" 0;
}

/* アイコンだけだった問い合わせ行に文字を添えてボタン化 */
#company .company_li li dl dd a .fa-envelope { color: var(--c-terra-600); margin-right: .6em; }
#company .company_li li dl dd a:has(.fa-envelope) {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--c-navy-600);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.6;
  text-decoration: none;
}
#company .company_li li dl dd a:has(.fa-envelope)::after { content: "お問い合わせフォームへ"; }
#company .company_li li dl dd a:has(.fa-envelope):hover {
  background: var(--c-navy-800);
  border-color: var(--c-navy-800);
  color: #fff;
}
#company .company_li li dl dd a:has(.fa-envelope):hover .fa-envelope { color: #fff; }

.top_map_box .ttl_txt01 {
  font-size: 2.4rem;
  padding-bottom: 18px;
  margin-bottom: 26px !important;
  border-bottom: 1px solid var(--c-line);
}

/* 13. 店休日カレンダー（CALENDAR） */
.top_calendar {
  padding: 72px 20px 88px;
  background: var(--c-sand-100);
}
.top_calendar_inner { max-width: 1140px; margin: 0 auto; }

.top_calendar_lead {
  margin: 0 0 32px;
  text-align: center;
  font-size: 1.45rem;
  line-height: 1.9;
  color: var(--c-ink-70);
}

.cal_months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.cal_month {
  padding: 26px 20px 28px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow-sm);
}

.cal_month_ttl {
  margin-bottom: 16px;
  text-align: center;
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1;
  color: var(--c-navy-900);
}
.cal_month_num {
  font-family: var(--f-en);
  font-size: 3.2rem;
  letter-spacing: .02em;
}
.cal_month_unit { font-size: 1.6rem; margin-left: .12em; }
.cal_month_year {
  display: block;
  margin-top: 8px;
  font-family: var(--f-en);
  font-size: 1.2rem;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--c-ink-45);
}

.cal_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal_table th {
  padding: 6px 0 8px;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-ink-70);
  border-bottom: 1px solid var(--c-line);
}
.cal_table th.cal_sun { color: var(--c-terra-600); }
.cal_table th.cal_sat { color: var(--c-navy-600); }

.cal_table td {
  height: 48px;
  padding: 4px 0;
  text-align: center;
  vertical-align: middle;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--c-line-soft);
}
.cal_table td.cal_sun .cal_day { color: var(--c-terra-600); }
.cal_table td.cal_sat .cal_day { color: var(--c-navy-600); }

.cal_day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: var(--f-en);
  font-size: 1.6rem;
  line-height: 1;
}

/* 定休日はテラコッタの淡い丸、特別休業は藍の塗り丸 */
.cal_closed .cal_day {
  border-radius: 50%;
  color: var(--c-terra-600);
  background: var(--c-terra-100);
}
.cal_closed_special .cal_day {
  color: var(--c-navy-050);
  background: var(--c-navy-800);
}
.cal_day_note {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--c-navy-800);
}

.cal_legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 26px;
  font-size: 1.35rem;
  color: var(--c-ink-70);
}
.cal_legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.cal_legend_mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.cal_legend_mark_regular {
  background: var(--c-terra-100);
  border: 1px solid var(--c-terra-500);
}
.cal_legend_mark_special { background: var(--c-navy-800); }

.cal_note {
  margin-top: 14px;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--c-ink-45);
}

/* スマホはセル幅が詰まるので、休業名を一段小さく */
@media screen and (max-width: 768px) {
  .cal_day_note { font-size: .9rem; }
}

@media print, screen and (min-width: 768px) {
  .top_calendar { padding: 96px 20px 120px; }
  .cal_months { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .cal_month { padding: 30px 30px 34px; }
}

/* 14. フッター */
footer {
  background: var(--c-navy-900);
  background-image: linear-gradient(to bottom, var(--c-navy-800) 0%, var(--c-navy-900) 60%);
  padding-bottom: 0;
}
.foot_pagetop { background-color: transparent; }

footer .inner { border-bottom: 1px solid rgba(255, 255, 255, .14); }

@media print, screen and (min-width: 768px) {
  footer .inner { padding-top: 84px; margin-bottom: 0; padding-bottom: 40px; }
  .foot_dl { display: flex; flex-wrap: wrap; gap: 0 40px; width: 100%; }
  .foot_dl dl { width: auto; min-width: 200px; flex: 1 1 200px; margin-right: 0; margin-bottom: 34px; }
}

.foot_dl dl dt {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: .16em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: .7em;
  margin-bottom: 1em;
}
.foot_dl dl dd { margin-bottom: .6em; }
.foot_dl dl dd a { font-size: 1.4rem; line-height: 2.2; letter-spacing: .04em; }

footer a:link, footer a:visited { color: rgba(255, 255, 255, .78); }
footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .35em;
  text-decoration-color: var(--c-terra-500);
  text-decoration-thickness: 1px;
}

.copyright {
  font-family: var(--f-sans);
  font-size: 1.2rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .55);
  padding: 26px 0 30px;
}

/* ページトップボタン */
#page-top i {
  background-color: rgba(11, 42, 61, .82);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  width: 48px;
  line-height: 46px;
  font-size: 26px;
  transition: background-color .3s var(--ease);
}
#page-top:hover i { background-color: var(--c-terra-600); }

/* 15. スクロール演出（既存クラスの動きだけ上書き） */
.fadein,
.fadein_y,
.fadein_x,
.fadein_xx,
.fadein_xxx,
.fadein_top {
  opacity: 0;
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.fadein_y { transform: translate(0, 32px); }
.fadein, .fadein_top { transform: translate(0, 24px); }
.fadein_x, .fadein_xx { transform: translate(-32px, 0); }
.fadein_xxx { transform: translate(-32px, 24px); }

@media (prefers-reduced-motion: reduce) {
  .fadein, .fadein_y, .fadein_x, .fadein_xx, .fadein_xxx, .fadein_top {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print, screen and (min-width: 769px) and (max-width: 960px) {
  .logobox { width: 300px; height: 52.5px; }
  .logobox .logo { width: 300px; height: 52.5px; }
  .logobox .text { display: none; }
  }
/* 16. 中間幅（769〜1420px）— ロゴ・ナビ・お問い合わせCTAが重なるのを防ぐ */
@media print, screen and (min-width: 769px) and (max-width: 1420px) {
  ul.dropmenu > li > a { padding: 0 11px; font-size: 1.2rem; letter-spacing: 0; }

  .logoarea { padding: 0 10px; }
  .header_cta_tel { display: none; }
  .header_cta_btn { padding: 0 14px; font-size: 1.3rem; }
}

/* ロゴ・ナビ・お問い合わせボタンが収まりきらない幅。ボタンだけ引っ込める */
@media print, screen and (min-width: 769px) and (max-width: 845px) {
  .header_cta { display: none; }
}

/* 藍パネルが狭くなるぶん、Information の見出しも小さくする */
@media print, screen and (min-width: 769px) and (max-width: 1180px) {
  .top_info_ttl p { font-size: 2.8rem; }
}
@media print, screen and (min-width: 769px) and (max-width: 900px) {
  .top_info_ttl p { font-size: 2.3rem; margin-bottom: 14px; }
  .top_info_ttl a { padding: 7px 44px 7px 14px; font-size: 1.2rem; letter-spacing: .16em; }
}

/* 藍パネルが最も細くなる帯。見出しが斜めの縁に触れないところまで詰める */
@media print, screen and (min-width: 769px) and (max-width: 850px) {
  .top_info_ttl { left: 24px; }
  .top_info_ttl p { font-size: 2rem; margin-bottom: 12px; }
  .top_info_ttl a { padding: 6px 48px 6px 12px; font-size: 1.1rem; letter-spacing: .12em; }
  .top_info_ttl a::after { width: 18px; right: 15px; }
  .top_info_ttl a::before { right: 15px; }
}

/* 17. 768px ちょうど（iPad 縦）の応急処置 */
@media only screen and (min-width: 768px) and (max-width: 768px) {
  #nav-open,
  #nav-closed { display: inline-block; }
  #nav-input:checked ~ #nav-close { display: block; opacity: .5; }

  #gmenu.gnav { height: auto; margin: 0; }
  ul.dropmenu { display: block; float: none; position: static; height: auto; margin: 0; gap: 0; }
  ul.dropmenu li { display: block; margin: 0; }
  /* PC側のボタン化（枠・角丸・背景・高さ）をここで戻す */
  ul.dropmenu > li > a,
  ul.dropmenu li a {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    text-align: left;
    border: 0;
    border-left: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
  }

  /* Information をスマホと同じ縦積みに */
  .section_aerea { height: auto; }
  .top_info_up { position: static; transform: none; display: block; }
  .section1 { width: 100%; margin-left: 0; -webkit-clip-path: none; clip-path: none; }
  .top_info_ttl { position: static; width: 100%; height: auto; }
  .top_info_txt { width: 100%; padding: 6px 20px 22px; }
  .top_info_scroll { height: auto; }

  .top_business_li li { width: auto; margin-left: 0; margin-right: 0; }
}

/* 18. スマートフォン（〜768px） */
@media only screen and (max-width: 768px) {
  body { font-size: 1.5rem; line-height: 1.9; }

  .logoarea { height: 62px; }
  .logobox .logo { width: 232px; height: 40.6px; }
  .logobox .text { font-size: 1rem; margin-left: 54px; }
  #navbox { top: 16px; right: 6px; }
  #nav-open span,
  #nav-open span::before,
  #nav-open span::after { background: var(--c-navy-900); height: 2px; }

  .mainbox, .mainbg { aspect-ratio: 4 / 3; }
  .mainbox video, .swiper-slide video { aspect-ratio: 4 / 3; }

  .swiper-button-next, .swiper-button-prev { display: none; }
  .mainbn {
    width: calc(100% - 60px);
    max-width: none;
    /* ページネーションのドットと重ならない高さまで持ち上げる */
    margin: 0 0 52px 22px;
    padding: 2px 0 2px 16px;
  }
  .mainbn::before { top: 2px; bottom: 2px; left: 0; width: 2px; }
  .mainbn_eyebrow { font-size: 1.1rem; letter-spacing: .24em; margin-bottom: 12px; }
  /* セクション見出しより大きくし、玄関口の主役として目立たせる */
  .mainbn p { font-size: 2.5rem; line-height: 1.42; letter-spacing: .01em; }
  /* 横幅が狭いのでPCのような2行固定を解かず、自然な折り返しに任せる */
  .mainbn p .mainbn_l1,
  .mainbn p .mainbn_l2 { display: inline; }
  .mainbn p .mainbn_l2 { margin-top: 0; }

  .title_top { font-size: 2.4rem; padding-bottom: 20px; }
  .title_top span { font-size: 1.15rem; margin-bottom: 10px; }
  .bk_top_recommend .title_top { font-size: 2.4rem; }

  /* Information */
  .section1 {
    height: auto;
    min-height: 0;
    background-color: var(--c-navy-900);
    background-image: linear-gradient(150deg, var(--c-navy-800) 0%, var(--c-navy-900) 68%);
    padding: 22px 20px;
  }
  .top_info_ttl { padding: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .top_info_ttl p { font-size: 2.4rem; margin-bottom: 0; }
  .top_info_ttl a { width: auto; padding: 7px 44px 7px 14px; color: #fff; }
  .top_info_txt { padding: 6px 20px 22px; }

  /* 事業紹介 */
  .top_business { padding-top: 56px; }
  .top_business_li li { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; margin-bottom: 24px; }
  .top_business_li li .ttl001 { font-size: 1.85rem; padding: 22px 20px 0; }
  .top_business_li li p { padding: 10px 20px 26px; font-size: 1.4rem; }
  .linkarrow::before { right: 20px; }
  .linkarrow::after { right: 20px; }

  /* 特集：画像を本文の上に出す */
  .top_recommend_li li img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    order: -1;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
  }
  .top_recommend_li li { display: flex; flex-direction: column; padding: 28px 0; }
  .top_recommend_li .ttl_txt01 { font-size: 1.9rem; }
  .top_recommend_li .ttl_txt01::before { width: 18px; margin-right: 10px; }
  .top_recommend_li_in p { font-size: 1.45rem; }

  .bk_topabout, .bk_top_recommend { padding-top: 120px; }
  .pad50 { padding: 32px 18px 36px; }

  /* おすすめコンテンツ */
  .bn_top_recommendarea figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
  .bn_top_recommendarea figure figcaption h3 { font-size: 1.85rem; }

  .google_kuchikomi { padding: 26px 14px 36px; }

  /* 会社案内 */
  .top_map_box { padding: 28px 18px 30px; }
  #company .company_li li { padding: 16px 16px; }
  #company .company_li li dl dd a[href^="tel:"] { font-size: 2.4rem; }
  .top_map_box .ttl_txt01 { font-size: 2rem; }

  /* フッター：スマホでもサイトマップを出す */
  footer .inner { display: block; padding: 34px 20px 8px; }
  .foot_dl { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .foot_dl dl { flex: 1 1 40%; min-width: 132px; margin-bottom: 24px; }
  .foot_dl dl dt { font-size: 1.3rem; color: #fff; background: transparent; padding: 0 0 .6em; }
  .foot_dl dl dd { margin-left: 0; margin-bottom: .3em; }
  .foot_dl dl dd a { font-size: 1.3rem; line-height: 2; }
  .copyright { padding: 20px 0 24px; }
}
