/* ===== Aesthetics Inc. ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: #fff; color: #111; font-family: Georgia, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
a { color: #111; }
a:hover { color: #6b6357; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1140px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.label { font-family: 'Jost', sans-serif; font-weight: 400; font-size: 15px; letter-spacing: 4px; text-transform: uppercase; color: #333; margin-bottom: 14px; }
/* セクション見出しの日本語併記（区切り線＋ゴシック） */
h2.label { display: flex; align-items: center; line-height: 1; }  /* 英字（Jost）と日本語を上下中央で揃える */
.label-sep { display: inline-block; width: 1px; height: 12px; background: #bbb; margin: 0 14px 0 10px; }
.label-ja { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; font-weight: 400; font-size: 11.5px; letter-spacing: 2px; text-transform: none; color: #777; line-height: 1; position: relative; top: -0.5px; }  /* 日本語の字面をJostの大文字の中心に合わせる微調整 */
.bg-black .label-sep { background: #999; }
.bg-black .label-ja { color: #ddd; }
.eyebrow { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 3px; color: #6b6357; }
.body { font-size: 15px; line-height: 2; color: #444; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: .5px solid #e6e2dc; }
.nav .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.nav-logo, .footer-logo { display: block; line-height: 0; color: #444; }  /* ロゴ色 */
.nav-logo:hover, .footer-logo:hover { color: #444; }
.nav-logo svg { height: 21.6px; width: auto; }
.nav-links { display: flex; gap: 32px; flex-wrap: wrap; font-family: 'Jost', sans-serif; font-size: 16px; letter-spacing: 2px; }
.nav-links a { text-decoration: none; }
.nav-toggle { display: none; }  /* PCでは非表示 */

/* ===== スマホ（767px以下）：ハンバーガーメニュー ===== */
@media (max-width: 767px) {
  .nav .wrap { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 1px; background: #444; transition: transform .3s; }
  .nav.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 4px 24px 20px; background: #fff; border-bottom: .5px solid #e6e2dc; font-size: 17px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: .5px solid #eee; }
  .nav-links a:last-child { border-bottom: 0; }
}

/* hero */
.hero { padding-top: 44px; padding-bottom: 72px; }
.hero .catch { font-family: 'Jost', sans-serif; font-size: clamp(40px, 6.2vw, 80px); font-weight: 300; line-height: 1.12; letter-spacing: -1px; margin-top: 32px; }
.hero .catch em { font-style: normal; color: #8a8580; display: inline-block; opacity: 0; filter: blur(5px); animation: emerge 1.5s cubic-bezier(.22,.61,.36,1) .5s forwards; }
/* 2行目をぼかしからジワっと浮かび上がらせる */
@keyframes emerge { to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .hero .catch em { animation: none; opacity: 1; filter: none; } }
.hero .body { max-width: 600px; margin-top: 20px; font-weight: 300; }  /* h1 だが見た目は本文と同じ */
.nowrap { white-space: nowrap; }  /* 単語の途中で折り返さない */
.sp-only { display: none; }  /* スマホでだけ表示する要素 */
.cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; min-height: 44px; text-decoration: none; }
.cta-line { width: 28px; height: 1px; background: #111; }
.cta-text { font-size: 14px; letter-spacing: 2px; border-bottom: 1px solid #111; padding-bottom: 3px; }

/* photo strip */
.strip { overflow: hidden; padding-bottom: 24px;
  /* 左右の端をフェードアウト */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); }
.strip-track { display: flex; gap: 20px; width: max-content; align-items: flex-end; animation: strip 60s linear infinite; }
.strip-track img { height: 420px; width: auto; max-width: none; border-radius: 20px; background: #f0ede8; object-fit: cover; }
.strip-track img:nth-child(even) { height: 340px; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* numbers */
.numbers { display: flex; gap: 24px 64px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 60px; }
.numbers > div { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }  /* 数字の右に説明文（上下中央揃え）。狭い時は下に回る */
.num { font-family: 'Jost', sans-serif; font-size: 48px; font-weight: 300; letter-spacing: -.5px; color: #6b6357; }
.num-cap { font-size: 12px; letter-spacing: 2px; color: #555; }

/* sections */
.sec { padding-top: 104px; padding-bottom: 104px; }
.bg-beige { background: #f0ede8; }
.bg-black { background: #5f5f5f; color: #fff; }
.bg-black .sec { padding-top: 52px; padding-bottom: 68px; }

/* business */
/* 横幅が足りない時は横スクロール（02が右にはみ出して見える） */
.biz { display: flex; gap: 20px; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -24px; padding-right: 24px; }
.biz::-webkit-scrollbar { display: none; }
.biz-card { scroll-snap-align: start; }
.biz-card.main { flex: 0 0 82%; }
.biz-card.sub { flex: 0 0 62%; }
.biz-card.sub img { aspect-ratio: 4 / 3; }
/* 十分な幅がある時は 2:1 で並べる。sub の写真は main と高さを揃える */
@media (min-width: 900px) {
  .biz { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; overflow: visible; margin-right: 0; padding-right: 0; }
  .biz-card.sub img { aspect-ratio: 8 / 9; }  /* main(16:9)の写真と高さを揃える比率 */
}
.biz-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; }
.biz-card img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.biz-card-body { padding: 36px 36px 40px; }
.biz h3 { margin-top: 16px; font-size: 32px; font-weight: 300; }
.biz .body { margin-top: 20px; }
.biz-card { position: relative; }
.biz-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.biz-link { font-size: 13px; letter-spacing: 2px; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; }  /* カード全体をクリック可能に */
.social { position: relative; z-index: 1; display: flex; gap: 14px; }
.social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #444; transition: opacity .2s; }
.social a:hover { opacity: .6; }
.social svg { width: 26px; height: 26px; fill: currentColor; }

/* about */
.about { display: flex; flex-wrap: wrap; gap: 48px; }
.about h3 { flex: 1 1 360px; min-width: 0; font-size: clamp(24px, 2.8vw, 36px); font-weight: 300; line-height: 1.5; }
.about-text { flex: 1 1 420px; min-width: 0; }
.about-text p + p { margin-top: 24px; }

/* strengths */
.bg-black .label { color: #fff; }
.strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 56px; }
.strengths .eyebrow { color: #e6e1d8; }
.strengths h4 { margin-top: 20px; font-size: 24px; font-weight: 300; line-height: 1.5; }
.strengths p { margin-top: 12px; font-size: 14px; line-height: 2; color: #f2efea; }

/* company */
#business .sec, #about.sec { padding-top: 52px; padding-bottom: 68px; }
#company .sec { padding-top: 52px; padding-bottom: 68px; }
#company .label { margin-bottom: 8px; }
.company { max-width: 760px; font-size: 14px; line-height: 1.7; }
.company div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 12px 0; border-bottom: .5px solid #cfc8bd; }
.company dt { flex: 0 0 120px; color: #555; }
.company dd { flex: 1 1 300px; }

/* footer */
.footer { border-top: .5px solid #ddd; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 32px; padding-bottom: 32px; }
.footer-logo svg { height: 13px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 12px; }
.footer-links a { color: #555; text-decoration: none; }
.footer-copy { color: #6f6f6f; }

/* privacy */
.doc { max-width: 760px; padding-top: 80px; padding-bottom: 104px; }
.doc h1 { font-size: 32px; font-weight: 300; margin-bottom: 48px; }
.doc h2 { font-size: 18px; font-weight: 400; margin: 48px 0 16px; }
.doc p, .doc li { font-size: 15px; line-height: 2; color: #444; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc .date { margin-top: 56px; font-size: 13px; color: #6f6f6f; }

/* ===== スマホ（767px以下）：基本スタイルの上書き。必ずファイル末尾に置く ===== */
@media (max-width: 767px) {
  /* 写真の帯：縦横50%に縮小（比率はそのまま、切り取りなし）。流れる速さはPCと同じに保つ */
  .strip-track { gap: 10px; animation-duration: 30s; }
  .strip-track img { height: 210px; border-radius: 12px; }
  .strip-track img:nth-child(even) { height: 170px; }
  /* 各セクションの上下余白：PCの約50% */
  .hero { padding-top: 22px; padding-bottom: 36px; }
  .numbers { padding-top: 18px; padding-bottom: 30px; }
  #business .sec, #about.sec, #company .sec, .bg-black .sec { padding-top: 26px; padding-bottom: 34px; }
  /* ヘッダーロゴ：PCの85% */
  .nav-logo svg { height: 18.4px; }
  /* PC専用／スマホ専用の表示切り替え */
  .pc-only { display: none; }
  br.sp-only { display: inline; }
  /* 数字の帯：数字をPCの60% */
  .num { font-size: 29px; }
  /* business：Investmentカードをoursと同じ幅・同じ写真比率に */
  .biz-card.sub { flex: 0 0 82%; }
  .biz-card.sub img { aspect-ratio: 16 / 9; }
  /* Hero見出し：画面幅に比例して縮む（390px以上は40px、狭い機種でも2行目を1行に収める） */
  .hero .catch { font-size: clamp(34px, 10.2vw, 40px); margin-top: 16px; }
  /* our promise：項目間・見出し・本文の間隔を詰める */
  .strengths { gap: 16px; }
  .strengths h4 { margin-top: 8px; font-size: 22px; }
  .strengths p { margin-top: 6px; }
  /* ハンバーガーメニュー：サイトのベージュを背景にし、ページと区別する */
  .nav-links { background: rgba(240,237,232,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }  /* 半透明＋背景ぼかし */
  .nav-links a { border-bottom-color: #ddd6cc; }
}
