/* ==========================================================
   BOKOTAR TRASTERO - main stylesheet
   1. 共通設定 / 2. ヒーロー / 3. 店舗紹介 / 4. 商品
   5. Programming GYM / 6. ワークスタジオ / 7. アクセス
   8. フッター / 9. レスポンシブ
   ========================================================== */

/* 1. 共通設定
   ブランドカラー：添付デザインから採色
   画像は assets/images/ 内で一括管理
   ---------------------------------------------------------- */
:root {
  --color-aqua: #02b1bd;
  --color-deep: #0097b2;
  --color-white: #fff;
  --color-gold: #ffdf29;
  --color-line: rgba(255,255,255,.42);
  --font-body: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic','Meiryo',sans-serif;
  --font-display: 'Hiragino Mincho ProN','Yu Mincho','Noto Serif JP',serif;
  --content-width: 1000px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-white); background: var(--color-deep); font-family: var(--font-body); font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
a:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 4px; }
h1,h2,h3,p { margin-top:0; }
h2,h3 { line-height:1.45; }
.skip-link { position:absolute; top:-100px; left:10px; z-index:999; padding:12px 18px; color:#002c38; background:white; }
.skip-link:focus { top:10px; }
.container { width:min(calc(100% - 64px),var(--content-width)); margin-inline:auto; }
.section--aqua { background:var(--color-aqua); }
.section--deep { background:var(--color-deep); }
.section-title { font-weight:500; font-family:var(--font-body); font-size:clamp(22px,2.4vw,29px); text-align:center; letter-spacing:.06em; margin-bottom:38px; }
.section-title--large { font-family:var(--font-display); font-weight:500; font-size:clamp(27px,3vw,36px); letter-spacing:.045em; }
.outline-button { display:flex; justify-content:center; align-items:center; position:relative; min-height:41px; width:100%; padding:7px 30px; border:1.5px solid var(--color-white); border-radius:8px; font-size:14px; line-height:1.4; text-align:center; text-decoration:none; transition:background-color .2s,color .2s; }
.outline-button span { position:absolute; right:13px; }
.outline-button:hover { color:var(--color-deep); background:var(--color-white); }

/* 2. ヒーロー
   ---------------------------------------------------------- */
.masthead { background:var(--color-aqua); }
.masthead__intro { padding:40px 20px 16px; text-align:center; }
.brand-mark { position:relative; display:flex; flex-direction:column; width:138px; height:137px; margin:0 auto 35px; border:2px solid rgba(255,255,255,.65); text-decoration:none; line-height:1; font-family:Georgia,'Times New Roman',serif; font-weight:700; font-size:17px; letter-spacing:-.025em; }
.brand-mark__top, .brand-mark__bottom { display:grid; place-items:center; flex:1; }
.brand-mark__top { background:var(--color-aqua); }
.brand-mark__bottom { background:white; color:var(--color-deep); }
.brand-mark::after { position:absolute; content:''; background:white; width:34px; height:17px; border-radius:22px 22px 0 0; top:calc(50% - 17px); left:calc(50% - 17px); }
.masthead__eyebrow { margin-bottom:13px; font-size:20px; letter-spacing:.13em; font-weight:400; }
.masthead__title { margin-bottom:1px; font-size:clamp(39px,4.9vw,54px); font-family:var(--font-display); font-weight:500; letter-spacing:.07em; }
.masthead__subtitle { font-size:clamp(25px,3vw,38px); line-height:1.4; font-family:Georgia,'Times New Roman',serif; font-weight:400; letter-spacing:.055em; margin:0; }
.masthead__visual { width:100%; overflow:hidden; max-height:660px; }
.masthead__visual img { width:100%; aspect-ratio:419 / 237; object-fit:cover; object-position:center; }

/* 3. ボコタートラステーロとは
   ---------------------------------------------------------- */
.about { padding:55px 0 47px; }
.about__body { display:grid; grid-template-columns:135px minmax(0,1fr); gap:40px; align-items:center; }
.about__brand { text-align:center; display:block; text-decoration:none; font-family:Georgia,serif; color:#063a40; font-size:16px; line-height:1.15; }
.about__brand img { width:130px; height:auto; object-fit:contain; margin:0 auto 12px; }
.about__brand span { text-decoration:underline; text-underline-offset:3px; }
.about__text { font-size:15px; line-height:1.65; }
.about__text p { margin:0 0 5px; }
.about__text p:last-child { margin-bottom:0; }

/* 4. 注目商品
   ---------------------------------------------------------- */
.products { padding:36px 0 51px; }
.products__heading { display:flex; justify-content:center; align-items:center; gap:27px; margin:0 0 67px; }
.products__heading img { width:90px; height:auto; }
.products__heading h2 { margin:0; font-family:var(--font-display); font-weight:500; font-size:clamp(30px,3.4vw,39px); letter-spacing:.04em; }
.feature { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(0,1fr); align-items:center; gap:45px; }
.feature__media { min-width:0; }
.feature__media img { width:100%; border-radius:10px; }
.feature__media--double { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.feature__media--double img { border-radius:0; height:100%; object-fit:cover; }
.feature__details { min-width:0; font-size:15px; line-height:1.65; }
.feature__details p { margin:0 0 12px; }
.feature__lead { font-family:var(--font-display); font-size:clamp(24px,2.4vw,29px); line-height:1.35; letter-spacing:.045em; }
.feature__title { font-weight:800; color:var(--color-gold); font-size:clamp(28px,3vw,37px); line-height:1.22; letter-spacing:.015em; margin:8px 0 14px; }
.feature__title--badge { position:relative; white-space:nowrap; }
.feature__stamp { position:absolute; color:#e43c0d; font-size:15px; font-weight:900; line-height:1.1; transform:rotate(-16deg); top:-18px; right:-2px; max-width:65px; white-space:normal; }
.feature__subline { font-family:var(--font-display); font-size:22px; line-height:1.5; }
.feature__note { font-size:17px; font-weight:400; letter-spacing:0; }
.feature__details .outline-button { margin-top:20px; }
.section-rule { height:1px; border:0; margin:55px 0; background:var(--color-line); }
.feature--last .feature__media img { border-radius:8px; }

/* 5. プログラミング教室
   ---------------------------------------------------------- */
.programming { padding:42px 0 45px; }
.programming .section-title { margin-bottom:32px; }
.split-layout { display:grid; grid-template-columns:minmax(0,1.95fr) minmax(0,1fr); gap:45px; align-items:center; }
.programming__visual img { width:100%; }
.programming__copy { align-self:center; font-size:14px; line-height:1.64; }
.programming__copy h3 { font-size:29px; margin:4px 0 12px; line-height:1.35; }
.programming__copy p { margin:0 0 8px; }
.programming__copy .outline-button { margin-top:15px; }
.gym-logo { position:relative; display:flex; flex-direction:column; align-items:center; line-height:1.0; margin:0 0 14px; font-family:Arial, sans-serif; font-style:italic; }
.gym-logo__large { display:block; color:transparent; -webkit-text-stroke:1.6px white; text-shadow:2px 2px 0 rgba(0,255,255,.4); font-size:clamp(56px,7vw,91px); font-weight:950; letter-spacing:-.15em; transform:skewX(-11deg); padding-right:20px; }
.gym-logo__small { display:block; align-self:flex-end; margin-top:-11px; font-weight:700; font-size:22px; color:white; }

/* 6. ワークスタジオ
   ---------------------------------------------------------- */
.workshop { padding:44px 0 53px; }
.workshop .section-title { margin-bottom:35px; }
.workshop__visual { margin-bottom:24px; }
.workshop__visual img { width:100%; }
.workshop__text { margin:0; font-size:15px; line-height:1.7; }

/* 7. アクセス
   ---------------------------------------------------------- */
.access { padding:43px 0 59px; }
.access .section-title { margin-bottom:37px; }
.access__grid { grid-template-columns:minmax(0,1.85fr) minmax(0,1fr); gap:35px; }
.access__map { display:block; line-height:0; }
.access__map img { width:100%; }
.access__copy { align-self:center; }
.access__copy h3 { font-weight:500; font-size:30px; line-height:1.5; letter-spacing:.02em; margin:0; }
.access__address { font-size:22px; line-height:1.5; margin:2px 0 38px; }
.access__info { font-size:14px; line-height:1.65; }
.access__info p { margin:0 0 18px; }
.access__info strong { font-weight:700; }
.access__textlink { text-underline-offset:4px; }

/* 8. フッター
   ---------------------------------------------------------- */
.site-footer { background:var(--color-deep); min-height:148px; text-align:center; padding:42px 20px 30px; }
.site-footer__social { display:flex; justify-content:center; align-items:center; gap:35px; margin:0 0 22px; }
.social-icon { display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center; color:white; text-decoration: none;}
.icon-tiktok:before {
   content:'';
   background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20121.439%20139.314%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M97.669%2C23.422c-4.747-4.625-7.912-10.815-9.094-17.614-.156-.904-.278-1.826-.365-2.73V0h-23.996v95.235c-.035%2C11.094-9.059%2C20.083-20.17%2C20.083-3.269%2C0-6.347-.782-9.077-2.156-6.807-3.423-11.1-10.395-11.094-18.014%2C0-11.128%2C9.024-20.17%2C20.17-20.17%2C2.139%2C0%2C4.191.33%2C6.121.939v-24.378c-2-.278-4.034-.417-6.051-.417-24.378.052-44.114%2C19.788-44.114%2C44.114%2C0%2C15.267%2C7.755%2C28.708%2C19.544%2C36.619%2C7.257%2C4.879%2C15.807%2C7.477%2C24.552%2C7.46%2C24.361%2C0%2C44.096-19.736%2C44.096-44.079v-48.669c9.697%2C6.936%2C21.324%2C10.658%2C33.246%2C10.642v-23.839c-3.669%2C0-7.303-.591-10.746-1.756-2.417-.817-6.99-2.278-13.041-8.19h.017Z%22%2F%3E%0A%3C%2Fsvg%3E');
   background-repeat: no-repeat;
   position: absolute;
   width: 24px;
   height: 30px;
   transform: translate(-12px, -26px)
}
.site-footer__name { font-family:Georgia,'Times New Roman',serif; font-size:17px; letter-spacing:.02em; margin:0; }

/* 9. レスポンシブ：中間幅
   ---------------------------------------------------------- */
@media (max-width:820px) {
  .container { width:min(calc(100% - 40px),var(--content-width)); }
  .masthead__eyebrow { font-size:17px; }
  .about__body { gap:23px; grid-template-columns:115px 1fr; }
  .about__brand img { width:108px; }
  .about__text { font-size:13px; }
  .products__heading { margin-bottom:40px; }
  .feature, .split-layout { gap:25px; }
  .feature__details, .programming__copy, .workshop__text, .access__info { font-size:13px; }
  .programming__copy h3 { font-size:23px; }
  .gym-logo__small { font-size:17px; }
  .access__copy h3 { font-size:23px; }
  .access__address { font-size:17px; margin-bottom:22px; }
}

/* スマートフォン：画像と文章を縦並びにする */
@media (max-width:640px) {
  body { font-size:15px; line-height:1.8; }
  .container { width:min(calc(100% - 32px),540px); }
  .masthead__intro { padding:27px 12px 24px; }
  .brand-mark { width:91px; height:91px; margin-bottom:22px; font-size:11px; border-width:1px; }
  .brand-mark::after { width:20px; height:10px; top:calc(50% - 10px); left:calc(50% - 10px); }
  .masthead__eyebrow { font-size:12px; letter-spacing:.08em; margin-bottom:8px; }
  .masthead__title { font-size:clamp(26px,7.4vw,37px); margin-bottom:4px; }
  .masthead__subtitle { font-size:clamp(17px,5vw,23px); }
  .masthead__visual img { aspect-ratio:419 / 237; }
  .section-title, .section-title--large { font-size:25px; margin-bottom:25px; }
  .about { padding:38px 0 38px; }
  .about__body { grid-template-columns:75px 1fr; gap:14px; align-items:start; }
  .about__brand { font-size:11px; }
  .about__brand img { width:73px; margin-bottom:6px; }
  .about__text { font-size:12px; line-height:1.65; }
  .about__text p { margin:0 0 5px; }
  .products { padding:34px 0 42px; }
  .products__heading { gap:14px; margin-bottom:28px; }
  .products__heading img { width:55px; }
  .products__heading h2 { font-size:clamp(20px,5.2vw,28px); }
  .feature { grid-template-columns:1fr; gap:20px; }
  .feature__media { max-width:540px; margin:auto; width:100%; }
  .feature__details { font-size:14px; line-height:1.75; }
  .feature__lead { font-size:21px; }
  .feature__title { font-size:30px; }
  .feature__subline { font-size:19px; }
  .feature__stamp { right:40px; }
  .feature__details .outline-button { max-width:320px; }
  .section-rule { margin:33px 0; }
  .programming { padding:36px 0 46px; }
  .programming .section-title { margin-bottom:25px; }
  .split-layout { grid-template-columns:1fr; gap:16px; }
  .programming__visual { max-width:540px; margin:0 auto; }
  .programming__copy { font-size:14px; }
  .gym-logo { align-items:flex-start; max-width:190px; margin:0 0 17px; }
  .gym-logo__large { font-size:59px; }
  .gym-logo__small { font-size:15px; }
  .programming__copy h3 { font-size:24px; }
  .programming__copy .outline-button { max-width:320px; }
  .workshop { padding:36px 0 42px; }
  .workshop .section-title { margin-bottom:26px; }
  .workshop__visual { margin-bottom:20px; }
  .workshop__text { font-size:13px; }
  .access { padding:37px 0 44px; }
  .access .section-title { margin-bottom:29px; }
  .access__grid { gap:23px; }
  .access__copy h3 { font-size:24px; }
  .access__address { font-size:17px; margin-bottom:18px; }
  .access__info { font-size:13px; }
  .site-footer { min-height:131px; padding:35px 20px 25px; }
  .site-footer__social { gap:29px; margin-bottom:18px; }
  .social-icon { width:22px; height:22px; }
  .site-footer__name { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .outline-button { transition:none; } }
