@charset "UTF-8";
/*
Theme Name: HEPTA
Theme URI: https://hepta.jp/
Author: HEPTA
Description: HEPTA コーポレートサイト用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hepta
*/

:root{
  --color-bg:#ffffff;
  --color-bg-dark:#1a1a1a;
  --color-text:#1a1a1a;
  --color-text-muted:#6b6b6b;
  --color-text-light:#767676;
  --color-text-white:#ffffff;
  --color-border:#e0e0e0;
  --font-sans:"Helvetica Neue","Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Meiryo",sans-serif;
  --font-display:"Helvetica Neue","Helvetica","Arial",sans-serif;
  --header-height:62px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-sans);
  font-size:15px;
  line-height:1.9;
  color:var(--color-text);
  background:var(--color-bg);
  font-feature-settings:"palt";
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;transition:opacity .2s ease}
a:hover{opacity:.6}
img,svg{display:block;max-width:100%}
table{border-collapse:collapse}
button,input,textarea,select{font:inherit;color:inherit}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:1100;
  padding:12px 20px;background:var(--color-text);color:var(--color-text-white);
  font-size:.75rem;
}
.skip-link:focus{left:0}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.site-header{
  position:fixed;top:0;left:0;width:100%;z-index:1000;
  display:flex;justify-content:flex-start;align-items:center;
  padding:18px 31px 0;pointer-events:none;
}
.site-header__logo{pointer-events:auto;display:flex;align-items:center;height:48px}
.site-header__logo svg{height:15px;width:auto}
.site-header__logo svg path{fill:var(--color-text);transition:fill .35s ease}

.menu-toggle{
  position:absolute;top:18px;right:20px;
  pointer-events:auto;cursor:pointer;
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  background:none;border:0;padding:0;
}
.menu-toggle__lines{position:relative;display:block;width:26px;height:9px}
.menu-toggle__lines::before,
.menu-toggle__lines::after{
  content:"";position:absolute;left:0;width:100%;height:1px;
  background:var(--color-text);
  transition:transform .4s cubic-bezier(.22,1,.36,1),background .35s ease;
}
.menu-toggle__lines::before{top:0}
.menu-toggle__lines::after{bottom:0}
.menu-toggle:hover .menu-toggle__lines::before{transform:translateY(-1px)}
.menu-toggle:hover .menu-toggle__lines::after{transform:translateY(1px)}

body.is-menu-open{overflow:hidden}
body.is-menu-open .site-header__logo svg path{fill:var(--color-text-white)}
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle__lines::after{background:var(--color-text-white)}
body.is-menu-open .menu-toggle__lines::before{transform:translateY(4px) rotate(45deg)}
body.is-menu-open .menu-toggle__lines::after{transform:translateY(-4px) rotate(-45deg)}
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(4px) rotate(45deg)}
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-4px) rotate(-45deg)}

.global-menu{
  position:fixed;inset:0;z-index:900;
  background:var(--color-bg-dark);color:var(--color-text-white);
  display:flex;align-items:center;padding:0 48px;
  opacity:0;visibility:hidden;
  transition:opacity .5s cubic-bezier(.22,1,.36,1),visibility .5s;
}
body.is-menu-open .global-menu{opacity:1;visibility:visible}
.global-menu__inner{width:100%;max-width:1280px;margin:0 auto}
.global-menu__list{list-style:none}
.global-menu__list li{overflow:hidden}
.global-menu__list a{
  display:inline-block;
  font-family:var(--font-display);font-weight:500;
  font-size:clamp(2.5rem,7vw,5.5rem);letter-spacing:-.03em;line-height:1.25;
  color:var(--color-text-white);
  transform:translateY(105%);
  transition:transform .7s cubic-bezier(.22,1,.36,1);
}
.global-menu__list a:hover{opacity:.5}
body.is-menu-open .global-menu__list a{transform:translateY(0)}
body.is-menu-open .global-menu__list li:nth-child(1) a{transition-delay:.08s}
body.is-menu-open .global-menu__list li:nth-child(2) a{transition-delay:.16s}
body.is-menu-open .global-menu__list li:nth-child(3) a{transition-delay:.24s}
.global-menu__meta{
  margin-top:4rem;font-size:.75rem;letter-spacing:.06em;color:#aaaaaa;line-height:2.2;
  opacity:0;transition:opacity .6s ease .35s;
}
body.is-menu-open .global-menu__meta{opacity:1}
.global-menu__meta a{text-decoration:underline;text-underline-offset:.3em}

.marquee{
  position:absolute;left:50%;bottom:36px;transform:translateX(-50%);
  z-index:2;width:min(460px,84vw);overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
}
.marquee__track{display:flex;width:max-content;animation:hepta-marquee 32s linear infinite}
.marquee:hover .marquee__track{animation-play-state:paused}
.marquee__set{display:flex;gap:8px;padding-right:8px}
.marquee__item{
  flex:0 0 auto;width:64px;height:64px;overflow:hidden;background:#ededed;
}
.marquee__item:nth-child(2n){background:#e3e3e3}
.marquee__item:nth-child(3n){background:#f1f1f1}
.marquee__item img{width:100%;height:100%;object-fit:cover}
@keyframes hepta-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion:reduce){
  .marquee__track{animation:none}
  .global-menu__list a{transition:none;transform:none}
}

.hero{
  position:relative;overflow:hidden;
  min-height:100svh;display:flex;align-items:center;
  padding:calc(var(--header-height) + 6rem) 48px 6rem;
}
.hero__blob{
  position:absolute;border-radius:50%;filter:blur(90px);z-index:0;
  background:rgba(26,26,26,.05);
}
.hero__blob--1{width:44vw;height:44vw;top:-10%;left:-8%}
.hero__blob--2{width:36vw;height:36vw;bottom:-14%;right:-6%;background:rgba(26,26,26,.035)}
.hero__inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.35fr 1fr;gap:5rem;align-items:start;
  width:100%;max-width:1280px;margin:0 auto;
}
.hero__mark{font-size:2.25rem;line-height:1;display:block;margin-bottom:1.5rem}
.hero__title{
  font-family:var(--font-display);
  font-size:clamp(2.75rem,7.5vw,6.5rem);
  font-weight:500;letter-spacing:-.03em;line-height:1.05;
}
.hero__logo{display:block;line-height:0}
.hero__logo svg{width:100%;max-width:620px;height:auto;display:block}
.hero__logo svg path{fill:var(--color-text)}
.hero__catch{margin-top:2.5rem;font-size:.9375rem;line-height:2.1;letter-spacing:.02em}
.hero__tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2.5rem}
.hero__tags span{
  font-size:.6875rem;letter-spacing:.04em;color:var(--color-text-muted);
  border:1px solid var(--color-border);border-radius:999px;padding:.45em 1em;
}
.hero__desc{font-size:.8125rem;line-height:2.2;color:var(--color-text-muted);letter-spacing:.02em}
.hero__btn{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:2rem;font-size:.75rem;font-weight:500;letter-spacing:.02em;
  padding:14px 30px;border-radius:999px;
  color:var(--color-text-white);background:var(--color-text);
  border:1px solid var(--color-text);
  transition:background .2s ease,color .2s ease;
}
.hero__btn:hover{background:transparent;color:var(--color-text);opacity:1}

.overview{padding:9rem 0}
.overview__inner{
  display:grid;grid-template-columns:200px 1fr;gap:4rem;
  max-width:1280px;margin:0 auto;padding:0 48px;
}
.overview__label{
  font-size:.75rem;font-weight:600;letter-spacing:.1em;
  color:var(--color-text-muted);padding-top:.4em;
}
.overview__body{max-width:46em}
.overview__text{font-size:.9375rem;line-height:2.3;letter-spacing:.02em;margin-bottom:2.5rem}
.overview__table{width:100%}
.overview__table tr{border-bottom:1px solid var(--color-border)}
.overview__table th,.overview__table td{
  padding:1rem 0;font-size:.875rem;text-align:left;vertical-align:top;line-height:1.8;
}
.overview__table th{
  width:120px;font-weight:400;color:var(--color-text-muted);
  white-space:nowrap;font-size:.8125rem;letter-spacing:.03em;
}

.cta{
  border-top:1px solid var(--color-border);
  padding:10rem 48px;text-align:center;
}
.cta__title{
  font-size:clamp(1.125rem,2vw,1.5rem);font-weight:500;
  letter-spacing:.02em;margin-bottom:1.2rem;
}
.cta__desc{
  font-size:.8125rem;line-height:2.1;color:var(--color-text-muted);
  max-width:40em;margin:0 auto 2.5rem;
}
.cta__btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.75rem;font-weight:500;letter-spacing:.02em;
  padding:14px 30px;border-radius:999px;
  color:var(--color-text-white);background:var(--color-text);
  border:1px solid var(--color-text);
  transition:background .2s ease,color .2s ease;
}
.cta__btn:hover{background:transparent;color:var(--color-text);opacity:1}

.page-head{padding:calc(var(--header-height) + 7rem) 48px 0}
.page-head__inner{max-width:1060px;margin:0 auto}
.page-head__en{
  font-family:var(--font-display);
  font-size:clamp(2.25rem,5vw,4rem);font-weight:500;
  letter-spacing:-.02em;line-height:1;
}
.page-head__ja{
  margin-top:1rem;font-size:.75rem;letter-spacing:.1em;
  color:var(--color-text-muted);
}

.section{padding:7rem 0 9rem}
.section__inner{
  display:grid;grid-template-columns:200px 1fr;gap:4rem;
  max-width:1060px;margin:0 auto;padding:0 48px;
}
.section__label{
  font-size:.75rem;font-weight:600;letter-spacing:.1em;
  color:var(--color-text-muted);padding-top:.4em;
}
.section__body{max-width:46em}
.section__text{font-size:.9375rem;line-height:2.3;letter-spacing:.02em;margin-bottom:2.5rem}
.section__text p + p{margin-top:1.8em}

.spec-table{width:100%}
.spec-table tr{border-bottom:1px solid var(--color-border)}
.spec-table th,.spec-table td{
  padding:1rem 0;font-size:.875rem;text-align:left;vertical-align:top;line-height:1.8;
}
.spec-table th{
  width:120px;font-weight:400;color:var(--color-text-muted);
  white-space:nowrap;font-size:.8125rem;letter-spacing:.03em;
}

.contact-lead{font-size:.9375rem;line-height:2.3;letter-spacing:.02em;margin-bottom:3.5rem}
.contact-note{
  margin-top:3rem;padding-top:2rem;border-top:1px solid var(--color-border);
  font-size:.8125rem;line-height:2.1;color:var(--color-text-muted);
}
.form-fallback{
  padding:2rem;border:1px solid var(--color-border);
  font-size:.8125rem;line-height:2.1;color:var(--color-text-muted);
}

.hepta-form p{margin-bottom:1.75rem}
.hepta-form .form-group{margin-bottom:1.75rem}
.hepta-form label{display:block;font-size:.8125rem;letter-spacing:.04em;margin-bottom:.6rem}
.hepta-form .required{font-size:.6875rem;color:var(--color-text-muted);margin-left:.6em}
.hepta-form .contact-type-select{display:flex;flex-wrap:wrap;gap:.75rem 2rem;margin-bottom:.4rem}
.hepta-form .wpcf7-radio,
.hepta-form .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:.75rem 2rem}
.hepta-form .wpcf7-list-item{margin:0}
.hepta-form .wpcf7-list-item label{display:inline-flex;align-items:center;margin:0;font-size:.875rem;cursor:pointer}
.hepta-form .wpcf7-list-item input[type="radio"],
.hepta-form .wpcf7-list-item input[type="checkbox"]{margin-right:.6em;accent-color:var(--color-text)}
.hepta-form .wpcf7-list-item-label{letter-spacing:.02em}
.hepta-form ::placeholder{color:#b0b0b0}
.hepta-form .form-submit-note{
  margin:2.5rem 0 0;font-size:.75rem;letter-spacing:.02em;color:var(--color-text-muted);
}
.hepta-form .form-privacy-note{margin-top:1.5rem;font-size:.75rem;color:var(--color-text-muted)}
.hepta-form .form-privacy-note a{text-decoration:underline;text-underline-offset:.25em}
.hepta-form input[type="text"],
.hepta-form input[type="email"],
.hepta-form input[type="tel"],
.hepta-form input[type="url"],
.hepta-form select,
.hepta-form textarea{
  width:100%;padding:.9em 1em;
  background:var(--color-bg);
  border:1px solid var(--color-border);border-radius:2px;
  font-size:.9375rem;line-height:1.7;
  transition:border-color .2s ease;
  -webkit-appearance:none;appearance:none;
}
.hepta-form select{
  background-image:linear-gradient(45deg,transparent 50%,var(--color-text) 50%),linear-gradient(135deg,var(--color-text) 50%,transparent 50%);
  background-position:calc(100% - 20px) 55%,calc(100% - 15px) 55%;
  background-size:5px 5px,5px 5px;background-repeat:no-repeat;
}
.hepta-form textarea{min-height:12em;resize:vertical}
.hepta-form input:focus,
.hepta-form select:focus,
.hepta-form textarea:focus{outline:none;border-color:var(--color-text)}
.hepta-form input[type="submit"],
.hepta-form button[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:1rem;cursor:pointer;
  font-size:.75rem;font-weight:500;letter-spacing:.08em;
  padding:16px 44px;border-radius:999px;
  color:var(--color-text-white);background:var(--color-text);
  border:1px solid var(--color-text);
  transition:background .2s ease,color .2s ease;
}
.hepta-form input[type="submit"]:hover,
.hepta-form button[type="submit"]:hover{background:transparent;color:var(--color-text)}
.hepta-form .wpcf7-not-valid-tip{font-size:.75rem;color:#c0392b;margin-top:.5rem}
.hepta-form .wpcf7-response-output{
  margin:2rem 0 0;padding:1rem 1.2rem;
  border:1px solid var(--color-border);
  font-size:.8125rem;line-height:1.9;
}
.hepta-form .wpcf7-spinner{margin:0 0 0 1rem}

.notfound{
  min-height:70svh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:calc(var(--header-height) + 6rem) 48px 8rem;text-align:center;
}
.notfound__en{
  font-family:var(--font-display);
  font-size:clamp(3rem,10vw,7rem);font-weight:500;letter-spacing:-.02em;line-height:1;
}
.notfound__text{margin-top:1.5rem;font-size:.875rem;color:var(--color-text-muted)}
.notfound__btn{
  display:inline-flex;margin-top:2.5rem;
  font-size:.75rem;font-weight:500;letter-spacing:.02em;
  padding:14px 30px;border-radius:999px;
  color:var(--color-text-white);background:var(--color-text);
  border:1px solid var(--color-text);
  transition:background .2s ease,color .2s ease;
}
.notfound__btn:hover{background:transparent;color:var(--color-text);opacity:1}

.site-footer{background:var(--color-bg-dark);color:var(--color-text-white);padding:6rem 48px 3rem}
.site-footer__inner{max-width:1280px;margin:0 auto}
.site-footer__headline{
  display:inline-block;position:relative;
  font-family:var(--font-display);font-weight:500;
  font-size:clamp(2.5rem,10vw,10rem);line-height:.9;letter-spacing:-.02em;
  white-space:nowrap;color:var(--color-text-white);
}
.site-footer__headline::after{
  content:"";position:absolute;left:0;bottom:-.08em;
  width:0;height:2px;background:var(--color-text-white);
  transition:width .6s cubic-bezier(.22,1,.36,1);
}
.site-footer__headline:hover{opacity:1}
.site-footer__headline:hover::after{width:100%}
.site-footer__nav{display:flex;gap:24px;margin-top:4rem}
.site-footer__nav a{
  font-family:var(--font-display);
  font-size:.6875rem;font-weight:500;letter-spacing:.1em;color:#aaaaaa;
}
.site-footer__nav a:hover{color:var(--color-text-white);opacity:1}
.site-footer__logo{margin-top:3rem}
.site-footer__logo svg{width:44px;height:auto}
.site-footer__logo svg path{fill:#ffffff}
.site-footer__meta{
  margin-top:1.5rem;font-size:.6875rem;letter-spacing:.06em;color:#aaaaaa;line-height:2.2;
}
.site-footer__bottom{
  margin-top:4rem;padding-top:2rem;border-top:1px solid #333333;
  font-size:.6875rem;letter-spacing:.06em;color:#aaaaaa;
}

@media (max-width:1024px){
  .global-menu{padding:0 24px}
  .hero{padding:calc(var(--header-height) + 4rem) 24px 6rem}
  .hero__inner{gap:3rem}
  .overview__inner{padding:0 24px;gap:2.5rem}
  .page-head{padding:calc(var(--header-height) + 5rem) 24px 0}
  .section__inner{padding:0 24px}
  .cta{padding:7rem 24px}
  .notfound{padding:calc(var(--header-height) + 5rem) 24px 6rem}
  .site-footer{padding:5rem 24px 2.5rem}
}
@media (max-width:768px){
  body{font-size:14px}
  .site-header{padding:14px 23px 0}
  .menu-toggle{top:14px;right:12px}
  .global-menu{padding:0 20px}
  .global-menu__meta{margin-top:3rem}
  .hero{padding:calc(var(--header-height) + 3rem) 20px 5rem;min-height:auto}
  .hero__inner{grid-template-columns:1fr;gap:3rem}
  .overview{padding:6rem 0}
  .overview__inner{grid-template-columns:1fr;gap:1.5rem;padding:0 20px}
  .overview__table th{width:90px}
  .hero__mark{margin-bottom:1.25rem;font-size:2rem}
  .marquee{bottom:24px}
  .marquee__item{width:52px;height:52px}
  .page-head{padding:calc(var(--header-height) + 4rem) 20px 0}
  .section{padding:4rem 0 6rem}
  .section__inner{grid-template-columns:1fr;gap:1.5rem;padding:0 20px}
  .cta{padding:6rem 20px}
  .notfound{padding:calc(var(--header-height) + 4rem) 20px 5rem}
  .site-footer{padding:4rem 20px 2.5rem}
  .site-footer__nav{margin-top:3rem}
  .spec-table th{width:90px}
}

/* ============================================================
   TOP ポスター構成（2026-08-14）
   ロゴマークを中央に据え、素材3点を断ち切り・回転で散らす
   ============================================================ */
.hero--poster{
  position:relative;overflow:hidden;
  min-height:100svh;display:block;padding:0;
}
.hero--poster .hero__blob--1{width:54vw;height:54vw;top:-18%;left:-14%}
.hero--poster .hero__blob--2{width:44vw;height:44vw;bottom:-22%;right:-12%}

.hero__symbol{
  position:absolute;z-index:3;margin:0;line-height:0;
  top:43%;left:50%;
  width:clamp(190px,23vw,380px);
  transform:translate(-50%,-50%) rotate(-4deg);
}
.hero__symbol img{width:100%;height:auto;display:block}

.deco{position:absolute;z-index:2;pointer-events:none;user-select:none;line-height:0}
.deco img{width:100%;height:auto;display:block}

/* PURPOSE BEFORE PIXELS：左寄りの柱。画面上部を突き抜ける */
.deco--purpose{
  left:9vw;top:8vh;width:clamp(44px,5vw,82px);
  transform:rotate(-6deg);
  animation:hepta-drift-a 16s ease-in-out infinite;
}
/* PRACTICE DOESN'T MAKE PERFECT：右下から斜めに差し込む */
.deco--practice{
  right:-3vw;top:33vh;width:clamp(140px,17vw,290px);
  transform:rotate(18deg);
  animation:hepta-drift-b 21s ease-in-out infinite;
}
/* 手描きHEPTA：右上。中央のマークと視線でぶつける */
.deco--stamp{
  right:11vw;top:10vh;width:clamp(130px,17vw,280px);
  transform:rotate(8deg);
  animation:hepta-drift-c 18s ease-in-out infinite;
}

@keyframes hepta-drift-a{
  0%,100%{transform:rotate(-6deg) translateY(0)}
  50%{transform:rotate(-5deg) translateY(20px)}
}
@keyframes hepta-drift-b{
  0%,100%{transform:rotate(18deg) translate(0,0)}
  50%{transform:rotate(15deg) translate(-14px,-12px)}
}
@keyframes hepta-drift-c{
  0%,100%{transform:rotate(8deg) translate(0,0)}
  50%{transform:rotate(5deg) translate(-12px,14px)}
}
@media(prefers-reduced-motion:reduce){ .deco{animation:none !important} }

.hero__foot{
  position:absolute;z-index:4;left:50%;bottom:7vh;
  transform:translateX(-50%);
  width:min(1080px,84vw);
  display:grid;grid-template-columns:1fr 1fr;gap:5vw;align-items:end;
}
.hero--poster .hero__catch{margin:0;font-size:.9375rem;line-height:2.1;letter-spacing:.02em}
.hero--poster .hero__tags{margin-top:1.5rem}
.hero--poster .hero__desc{font-size:.8125rem;line-height:2.2;color:var(--color-text-muted);letter-spacing:.02em}
.hero--poster .hero__btn{margin-top:1.5rem}
.hero__copy--right{text-align:right}
.hero__copy--right .hero__tags{justify-content:flex-end}

@media (max-width:1024px){
  .hero__foot{width:88vw;gap:3vw;bottom:6vh}
  .deco--stamp{right:6vw;top:9vh;width:clamp(120px,20vw,220px)}
  .deco--purpose{left:6vw}
}
@media (max-width:768px){
  .hero--poster{min-height:auto;padding:calc(var(--header-height) + 6rem) 20px 5rem}
  .hero__symbol{position:relative;top:auto;left:auto;
    transform:rotate(-4deg);width:clamp(130px,46vw,200px);margin:0 auto 4rem}
  .hero__foot{position:relative;left:auto;bottom:auto;transform:none;
    width:100%;grid-template-columns:1fr;gap:2.5rem}
  .hero__copy--right{text-align:left}
  .hero__copy--right .hero__tags{justify-content:flex-start}
  .deco--purpose{left:auto;right:1.5vw;top:14vh;width:34px}
  .deco--practice{left:auto;right:-26vw;top:44vh;bottom:auto;width:120px}
  .deco--stamp{right:auto;left:-11vw;top:auto;bottom:2vh;width:130px}
}

/* front-page sections 2026-08-20 */
.spec-table--wide th{width:200px}
@media(max-width:640px){
  .spec-table--wide th{width:100px;white-space:normal}
}
body.is-menu-open .global-menu__list li:nth-child(4) a{transition-delay:.32s}

/* hero centered 2026-08-20 */
.hero--center .hero__inner{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  max-width:860px;
}
.hero--center .hero__mark{margin-bottom:2.5rem}
.hero--center .hero__catch{margin-top:2.25rem}
.hero--center .hero__tags{justify-content:center;margin-top:2rem}
.hero--center .hero__desc{margin-top:2.75rem;max-width:36em}
.hero--center .hero__btn{margin-top:2.75rem}

/* hero duo centered 2026-08-20 */
.hero__inner{max-width:1080px;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:7rem}
@media(max-width:960px){.hero__inner{grid-template-columns:1fr;gap:3rem}}
.hero__desc{max-width:30em}

/* ===== hero blob: labs.google風 モーフィングベクター 2026-08-20 ===== */
:root{
  --hero-blob-1:#8ba4f5; /* 青。変えるならここ */
  --hero-blob-2:#f6bfe9; /* ピンク。変えるならここ */
}
.hero{background:#f4f1ec}
.hero__blob{
  filter:none;
  opacity:1;
  will-change:border-radius,transform;
}
.hero__blob--1{
  background:var(--hero-blob-1);
  width:42vw;height:38vw;top:-16%;left:-12%;
  border-radius:58% 42% 46% 54% / 54% 48% 52% 46%;
  animation:heptaMorphA 16s ease-in-out infinite alternate,
            heptaDriftA 28s ease-in-out infinite alternate;
}
.hero__blob--2{
  background:var(--hero-blob-2);
  width:36vw;height:32vw;bottom:-20%;right:-10%;
  border-radius:46% 54% 58% 42% / 44% 56% 44% 56%;
  animation:heptaMorphB 20s ease-in-out infinite alternate,
            heptaDriftB 34s ease-in-out infinite alternate;
}
@keyframes heptaMorphA{
  0%  {border-radius:58% 42% 46% 54% / 54% 48% 52% 46%}
  50% {border-radius:44% 56% 60% 40% / 46% 60% 40% 54%}
  100%{border-radius:52% 48% 40% 60% / 60% 42% 58% 40%}
}
@keyframes heptaMorphB{
  0%  {border-radius:46% 54% 58% 42% / 44% 56% 44% 56%}
  50% {border-radius:60% 40% 44% 56% / 56% 44% 60% 40%}
  100%{border-radius:42% 58% 52% 48% / 48% 58% 42% 58%}
}
@keyframes heptaDriftA{
  0%  {transform:translate(0,0) rotate(0deg)}
  100%{transform:translate(4vw,3vw) rotate(6deg)}
}
@keyframes heptaDriftB{
  0%  {transform:translate(0,0) rotate(0deg)}
  100%{transform:translate(-3vw,-4vw) rotate(-5deg)}
}
@media(prefers-reduced-motion:reduce){
  .hero__blob--1,.hero__blob--2{animation:none}
}

/* ===== hero shapes: 幾何学バージョン 2026-08-20 ===== */
.hero__blob{display:none}
:root{
  --shape-yellow:#e6c13c;
  --shape-orange:#e0793d;
  --shape-pink:#f2cbf1;
  --shape-green:#7edc8e;
  --shape-blue:#6d8df0;
}
.hero__shapes{position:absolute;inset:0;z-index:0;pointer-events:none}
.hshape{position:absolute;display:block}
.hshape--flower{
  width:clamp(110px,13vw,190px);height:auto;
  top:10%;left:6%;
  animation:hShapeSpin 60s linear infinite;
}
.hshape--flower g circle{fill:var(--shape-yellow)}
.hshape--flower path{display:none}
.hshape--hex{
  width:clamp(100px,12vw,175px);height:auto;
  top:14%;right:7%;
  transform:rotate(14deg);
  animation:hShapeBobA 9s ease-in-out infinite;
}
.hshape--hex path{fill:var(--shape-orange);stroke:var(--shape-orange)}
.hshape--square{
  width:clamp(90px,11vw,160px);aspect-ratio:1;
  bottom:12%;left:9%;
  background:var(--shape-pink);border-radius:22%;
  animation:hShapeBobB 11s ease-in-out infinite;
}
.hshape--circle{aspect-ratio:1;border-radius:50%;background:var(--shape-blue)}
.hshape--circle1{
  width:clamp(100px,12vw,175px);
  bottom:9%;right:14%;
  animation:hShapeBobA 10s ease-in-out infinite reverse;
}
.hshape--circle2{
  width:clamp(60px,7vw,100px);
  bottom:26%;right:6%;
  background:var(--shape-green);
  animation:hShapeBobB 13s ease-in-out infinite;
}
@keyframes hShapeSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes hShapeBobA{0%,100%{transform:translateY(0) rotate(14deg)}50%{transform:translateY(-18px) rotate(10deg)}}
@keyframes hShapeBobB{0%,100%{transform:translateY(0)}50%{transform:translateY(14px)}}
@media(max-width:768px){
  .hshape--hex,.hshape--circle2{display:none}
  .hshape--flower{top:7%;left:4%}
  .hshape--square{bottom:8%;left:6%}
  .hshape--circle1{bottom:6%;right:6%}
}
@media(prefers-reduced-motion:reduce){.hshape{animation:none}}

/* ===== hero shapes v2: ロゴ構成（角丸四角3＋円4＝7） 2026-08-20 ===== */
.hshape--flower,.hshape--hex,.hshape--square,.hshape--circle{display:none}
.hshape--sq{aspect-ratio:1;border-radius:22%}
.hshape--ci{aspect-ratio:1;border-radius:50%}
/* 四角3つ＝左サイド（シンボルの左列の引用） */
.hshape--sq1{width:clamp(100px,12vw,175px);top:11%;left:6%;background:var(--shape-yellow);animation:hs-bob1 10s ease-in-out infinite}
.hshape--sq2{width:clamp(70px,8vw,115px);top:44%;left:12%;background:var(--shape-pink);animation:hs-bob2 12s ease-in-out infinite}
.hshape--sq3{width:clamp(90px,11vw,160px);bottom:10%;left:7%;background:var(--shape-green);animation:hs-bob1 14s ease-in-out infinite reverse}
/* 円4つ＝右サイド */
.hshape--ci1{width:clamp(100px,12vw,175px);top:9%;right:7%;background:var(--shape-orange);animation:hs-bob2 11s ease-in-out infinite}
.hshape--ci2{width:clamp(60px,7vw,100px);top:40%;right:13%;background:var(--shape-blue);animation:hs-bob1 9s ease-in-out infinite}
.hshape--ci3{width:clamp(110px,13vw,185px);bottom:8%;right:6%;background:var(--shape-blue);animation:hs-bob2 13s ease-in-out infinite reverse}
.hshape--ci4{width:clamp(55px,6vw,90px);bottom:30%;right:22%;background:var(--shape-yellow);animation:hs-bob1 15s ease-in-out infinite}
@keyframes hs-bob1{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-16px) rotate(3deg)}}
@keyframes hs-bob2{0%,100%{transform:translateY(0)}50%{transform:translateY(14px)}}
@media(max-width:768px){
  .hshape--sq2,.hshape--ci2,.hshape--ci4{display:none}
}
@media(prefers-reduced-motion:reduce){.hshape{animation:none}}

/* ===== hero shapes v3: labs.google比率（画面を覆う大型・見切れ配置） 2026-08-20 ===== */
.hshape--sq1{
  width:clamp(300px,36vw,560px);
  top:-14%;left:-9%;right:auto;bottom:auto;
  background:var(--shape-yellow);
  animation:hsDriftA 26s ease-in-out infinite alternate;
}
.hshape--ci3{
  width:clamp(360px,46vw,720px);
  bottom:-28%;right:-13%;top:auto;left:auto;
  background:var(--shape-blue);
  animation:hsDriftB 32s ease-in-out infinite alternate;
}
.hshape--ci1{
  width:clamp(180px,24vw,380px);
  top:-12%;right:-7%;left:auto;bottom:auto;
  background:var(--shape-orange);
  animation:hsDriftC 24s ease-in-out infinite alternate;
}
.hshape--sq3{
  width:clamp(200px,26vw,420px);
  bottom:-16%;left:-8%;top:auto;right:auto;
  background:var(--shape-pink);
  animation:hsDriftB 28s ease-in-out infinite alternate-reverse;
}
.hshape--sq2{
  width:clamp(90px,10vw,150px);
  top:56%;left:16%;right:auto;bottom:auto;
  background:var(--shape-green);
  animation:hsDriftC 20s ease-in-out infinite alternate;
}
.hshape--ci2,.hshape--ci4{display:none}
@keyframes hsDriftA{
  0%{transform:translate(0,0) rotate(-4deg) scale(1)}
  100%{transform:translate(3vw,2.5vw) rotate(3deg) scale(1.05)}
}
@keyframes hsDriftB{
  0%{transform:translate(0,0) scale(1)}
  100%{transform:translate(-2.5vw,-3vw) scale(1.07)}
}
@keyframes hsDriftC{
  0%{transform:translate(0,0) rotate(0deg) scale(1)}
  100%{transform:translate(-1.5vw,2vw) rotate(-6deg) scale(1.04)}
}
@media(max-width:768px){
  .hshape--sq2{display:none}
  .hshape--sq1{width:52vw;top:-10%;left:-16%}
  .hshape--ci3{width:64vw;bottom:-18%;right:-22%}
  .hshape--ci1{width:34vw;top:-8%;right:-12%}
  .hshape--sq3{width:38vw;bottom:-12%;left:-14%}
}

/* hero shapes v3.1: サイズ増し 2026-08-20 */
.hshape--sq1{width:clamp(380px,46vw,720px);top:-16%;left:-10%}
.hshape--ci3{width:clamp(460px,56vw,880px);bottom:-34%;right:-10%}
.hshape--ci1{width:clamp(240px,30vw,480px);top:-13%;right:-8%}
.hshape--sq3{width:clamp(260px,32vw,520px);bottom:-18%;left:-9%}

/* ===== hero shapes v4: 左右30%を使い切る・動き大きめ 2026-08-20 ===== */
/* 左バンド */
.hshape--sq1{width:clamp(420px,40vw,760px);top:-12%;left:-8%;animation:hsBigA 20s ease-in-out infinite alternate}
.hshape--sq3{width:clamp(340px,34vw,620px);bottom:-16%;left:-6%;animation:hsBigB 24s ease-in-out infinite alternate}
.hshape--sq2{display:block;width:clamp(110px,13vw,200px);top:46%;left:15%;background:var(--shape-green);animation:hsBigC 16s ease-in-out infinite alternate}
/* 右バンド */
.hshape--ci1{width:clamp(300px,30vw,560px);top:-10%;right:-5%;animation:hsBigB 22s ease-in-out infinite alternate-reverse}
.hshape--ci3{width:clamp(480px,46vw,860px);bottom:-20%;right:-9%;animation:hsBigA 26s ease-in-out infinite alternate-reverse}
.hshape--ci2{display:block;width:clamp(100px,11vw,180px);top:38%;right:8%;background:var(--shape-blue);animation:hsBigC 18s ease-in-out infinite alternate-reverse}
.hshape--ci4{display:none}
@keyframes hsBigA{
  0%  {transform:translate(0,0) rotate(-5deg) scale(1)}
  100%{transform:translate(4.5vw,3.5vw) rotate(5deg) scale(1.08)}
}
@keyframes hsBigB{
  0%  {transform:translate(0,0) rotate(3deg) scale(1.06)}
  100%{transform:translate(-4vw,-4.5vw) rotate(-4deg) scale(1)}
}
@keyframes hsBigC{
  0%  {transform:translate(0,0) rotate(0deg)}
  100%{transform:translate(2.5vw,-3.5vw) rotate(10deg)}
}
@media(max-width:768px){
  .hshape--sq2,.hshape--ci2{display:none}
  .hshape--sq1{width:60vw;top:-8%;left:-18%}
  .hshape--ci3{width:70vw;bottom:-14%;right:-24%}
  .hshape--ci1{width:38vw;top:-6%;right:-12%}
  .hshape--sq3{width:44vw;bottom:-10%;left:-16%}
}

/* ===== hero shapes v5: 全図形を大サイズに統一 2026-08-20 ===== */
:root{--shape-size:clamp(420px,42vw,780px)}
.hshape--sq1,.hshape--sq2,.hshape--sq3,
.hshape--ci1,.hshape--ci2,.hshape--ci3{width:var(--shape-size)}
/* 四隅 */
.hshape--sq1{top:-14%;left:-10%}
.hshape--ci1{top:-14%;right:-12%}
.hshape--sq3{bottom:-18%;left:-12%}
.hshape--ci3{bottom:-18%;right:-12%}
/* 中段の2つは左右の外に大きく逃がして、縁だけ見せる */
.hshape--sq2{top:32%;left:-30%}
.hshape--ci2{top:30%;right:-32%}
@media(max-width:768px){
  .hshape--sq2,.hshape--ci2{display:none}
  .hshape--sq1,.hshape--ci1,.hshape--sq3,.hshape--ci3{width:64vw}
  .hshape--sq1{top:-10%;left:-24%}
  .hshape--ci1{top:-10%;right:-26%}
  .hshape--sq3{bottom:-12%;left:-24%}
  .hshape--ci3{bottom:-12%;right:-26%}
}

/* ===== hero shapes v6: 平面構成（全面散らし・ベタ抜き50:50狙い） 2026-08-20 ===== */
:root{--shape-size:clamp(240px,27vw,480px)}
.hshape--ci4{display:block;width:var(--shape-size);background:var(--shape-yellow)}
/* 上段 */
.hshape--sq1{top:-12%;left:9%;right:auto;bottom:auto;transform:rotate(-8deg)}
.hshape--ci1{top:-8%;right:-7%;left:auto;bottom:auto}
/* 中段 */
.hshape--sq2{top:33%;left:-9%;right:auto;bottom:auto;transform:rotate(12deg)}
.hshape--ci2{top:24%;right:20%;left:auto;bottom:auto}
.hshape--ci4{top:40%;left:36%;right:auto;bottom:auto}
/* 下段 */
.hshape--sq3{bottom:-14%;left:20%;top:auto;right:auto;transform:rotate(6deg)}
.hshape--ci3{bottom:-12%;right:-8%;top:auto;left:auto}
@media(max-width:768px){
  .hshape--ci2,.hshape--ci4{display:none}
  .hshape--sq1{top:-8%;left:2%}
  .hshape--ci1{top:-6%;right:-16%}
  .hshape--sq2{top:36%;left:-18%}
  .hshape--sq3{bottom:-8%;left:14%}
  .hshape--ci3{bottom:-8%;right:-18%}
}

/* v6.1: 中央の黄円をタグ行から離して下段の空きへ 2026-08-20 */
.hshape--ci4{top:auto;left:47%;bottom:-20%}

/* ===== hero shapes v7: 平面構成・特大（ベタ:抜き=50:50狙い） 2026-08-20 ===== */
:root{--shape-size:clamp(300px,32vw,560px)}
.hshape--sq1{top:-16%;left:4%;right:auto;bottom:auto}
.hshape--ci1{top:-14%;right:-10%;left:auto;bottom:auto}
.hshape--sq2{top:34%;left:-14%;right:auto;bottom:auto}
.hshape--ci2{top:30%;right:-12%;left:auto;bottom:auto}
.hshape--ci4{top:38%;left:34%;right:auto;bottom:auto}
.hshape--sq3{bottom:-18%;left:10%;top:auto;right:auto}
.hshape--ci3{bottom:-20%;right:14%;top:auto;left:auto}
@media(max-width:768px){
  .hshape--ci2,.hshape--ci4{display:none}
  .hshape--sq1{top:-10%;left:-6%}
  .hshape--ci1{top:-8%;right:-20%}
  .hshape--sq2{top:38%;left:-22%}
  .hshape--sq3{bottom:-10%;left:6%}
  .hshape--ci3{bottom:-10%;right:-14%}
}

/* ===== hero shapes v8: ベタ75%狙い・特大 2026-08-20 ===== */
:root{--shape-size:clamp(360px,42vw,720px)}
.hshape--sq1{top:-20%;left:0%}
.hshape--ci1{top:-18%;right:-12%}
.hshape--sq2{top:28%;left:-16%}
.hshape--ci2{top:26%;right:-16%}
.hshape--ci4{top:30%;left:30%}
.hshape--sq3{bottom:-24%;left:10%}
.hshape--ci3{bottom:-26%;right:-4%}
@media(max-width:768px){
  .hshape--sq1{top:-12%;left:-10%}
  .hshape--ci1{top:-10%;right:-24%}
  .hshape--sq2{top:34%;left:-26%}
  .hshape--sq3{bottom:-14%;left:0%}
  .hshape--ci3{bottom:-14%;right:-20%}
}

/* ===== hero shapes v9: ベタ75%・隙間詰め 2026-08-20 ===== */
:root{--shape-size:clamp(400px,46vw,780px)}
.hshape--sq1{top:-26%;left:2%}
.hshape--ci1{top:-22%;right:-6%}
.hshape--sq2{top:30%;left:-14%}
.hshape--ci2{top:30%;right:-14%}
.hshape--ci4{top:30%;left:28%}
.hshape--sq3{bottom:-26%;left:6%}
.hshape--ci3{bottom:-28%;right:-2%}

/* ===== hero shapes v10: 形の左右指定を解除・等間隔の平面構成 2026-08-20 ===== */
:root{--shape-size:clamp(360px,40vw,700px)}
/* 上段: 円(青)・四角(ピンク) */
.hshape--ci3{top:-24%;left:0%;right:auto;bottom:auto}
.hshape--sq3{top:-26%;right:-2%;left:auto;bottom:auto;transform:rotate(5deg)}
/* 中段: 四角(黄)・円(オレンジ)・四角(緑) */
.hshape--sq1{top:30%;left:-13%;right:auto;bottom:auto;transform:rotate(-7deg)}
.hshape--ci1{top:33%;left:32%;right:auto;bottom:auto}
.hshape--sq2{top:28%;right:-9%;left:auto;bottom:auto;transform:rotate(10deg)}
/* 下段: 円(青)・円(黄) */
.hshape--ci2{bottom:-26%;left:7%;top:auto;right:auto}
.hshape--ci4{bottom:-28%;right:2%;top:auto;left:auto}

/* ===== hero shapes v11: 4図形（円2・四角2）に削減、被覆率は維持 2026-08-20 ===== */
:root{--shape-size:clamp(480px,56vw,900px)}
.hshape--sq2,.hshape--ci2,.hshape--ci4{display:none !important}
/* 円(青)左上 / 四角(黄)右上 / 四角(ピンク)左下 / 円(オレンジ)右下 */
.hshape--ci3{top:-28%;left:-6%;right:auto;bottom:auto}
.hshape--sq1{top:-20%;right:-8%;left:auto;bottom:auto;transform:rotate(6deg)}
.hshape--sq3{bottom:-24%;left:-4%;top:auto;right:auto;transform:rotate(-5deg)}
.hshape--ci1{bottom:-30%;right:-8%;top:auto;left:auto}
@media(max-width:768px){
  .hshape--ci3{top:-14%;left:-20%}
  .hshape--sq1{top:-12%;right:-24%}
  .hshape--sq3{bottom:-14%;left:-22%}
  .hshape--ci1{bottom:-16%;right:-26%}
}

/* ===== hero shapes v12: 構図を固定比率キャンバス化（cover方式） 2026-08-20 ===== */
/* 1.4:1のキャンバスに構図を固定し、ウィンドウには短辺合わせで敷く。
   はみ出た分は .hero の overflow:hidden が切る。 */
.hero__shapes{
  inset:auto;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:max(100%, 140svh);
  aspect-ratio:1.4;
  height:auto;
}
/* 図形サイズはキャンバス幅に対する比率で固定（スクショで良かった比率＝約39%） */
.hshape--ci3,.hshape--sq1,.hshape--sq3,.hshape--ci1{width:39%}
@media(max-width:768px){
  /* 縦画面は縦長キャンバスに切り替え（構図の並びは同じ） */
  .hero__shapes{width:max(100%, calc(100svh * 0.72));aspect-ratio:0.72}
  .hshape--ci3,.hshape--sq1,.hshape--sq3,.hshape--ci1{width:52%}
  .hshape--ci3{top:-14%;left:-12%;right:auto;bottom:auto}
  .hshape--sq1{top:-10%;right:-14%;left:auto;bottom:auto}
  .hshape--sq3{bottom:-12%;left:-12%;top:auto;right:auto}
  .hshape--ci1{bottom:-14%;right:-14%;top:auto;left:auto}
}

/* ===== hero shapes v13: 配色変更（緑・赤・青・黄） 2026-08-20 ===== */
.hshape--ci3{background:#3340d9} /* 左上・円＝青 */
.hshape--sq1{background:#efc63e} /* 右上・四角＝黄 */
.hshape--sq3{background:#3a7d36} /* 左下・四角＝緑 */
.hshape--ci1{background:#db3b26} /* 右下・円＝赤 */

/* ===== hero shapes v14: 図形の語彙を自由化（半円・花・三角・丸） 2026-08-20 ===== */
.hshape--semi{
  aspect-ratio:2/1;
  border-radius:999px 999px 0 0;
  background:#3340d9;
  top:-8%;left:-5%;
}
.hshape--flower{height:auto}
.hshape--flower circle{fill:#efc63e}
.hshape--tri{height:auto;width:44% !important}
.hshape--tri path{fill:#3a7d36;stroke:#3a7d36}
.hshape--round{aspect-ratio:1;border-radius:50%}

/* v14.1: flower名の衝突回避 2026-08-20 */
.hshape--flw{height:auto;display:block}
.hshape--flw circle{fill:#efc63e}

/* v14.2: 花の背景透過・三角の調整 2026-08-20 */
.hshape--flw{background:transparent !important;border-radius:0}
.hshape--tri{background:transparent !important;border-radius:0;width:40% !important}
.hshape--sq3.hshape--tri{bottom:-28%;left:-6%}

/* v14.3: 半円→角丸四角、花の中央を埋める 2026-08-20 */
.hshape--semi{
  aspect-ratio:1;
  border-radius:22%;
  top:-18%;left:-7%;
}

/* service: ラベル列なしレイアウト 2026-08-20 */
.section__inner--plain{grid-template-columns:1fr}

/* ===== hero: Figma 1:3 準拠に再構成 2026-08-20 ===== */
.hero{
  min-height:100svh;
  display:flex;align-items:flex-start;
  padding:calc(var(--header-height) + 8.5rem) 54px 6rem;
}
.hero__inner{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:4rem;max-width:1620px;margin:0 auto;grid-template-columns:none;
}
.hero__lead{max-width:528px;flex:0 1 auto}
.hero__title{
  font-family:var(--font-display);
  font-size:clamp(2rem,2.6vw,2.5rem);
  font-weight:400;letter-spacing:-.05em;line-height:1.15;
  color:#000;
}
.hero__catch{
  margin-top:1.1rem;
  font-family:var(--font-display);
  font-size:.9375rem;line-height:1.5;letter-spacing:0;color:#000;
}
.hero__desc{
  margin-top:2.6rem;width:100%;max-width:528px;
  font-size:.875rem;line-height:1.65;letter-spacing:0;color:#000;
}
.hero__side{
  display:flex;align-items:center;gap:3.4rem;
  padding-top:.9rem;flex:0 0 auto;
}
.hero__tags{display:flex;flex-wrap:nowrap;gap:2.4rem;margin:0}
.hero__tags span{
  font-size:1rem;letter-spacing:0;color:#000;
  border:0;border-radius:0;padding:0;white-space:nowrap;
}
.hero__mark{
  font-family:var(--font-display);
  font-size:4rem;line-height:1;margin:0;display:block;color:#000;
}
@media(max-width:1100px){
  .hero__inner{flex-direction:column;gap:3rem}
  .hero__side{padding-top:0;gap:2rem;flex-direction:row-reverse;justify-content:flex-end}
  .hero__tags{flex-wrap:wrap;gap:1.4rem}
}
@media(max-width:640px){
  .hero{padding:calc(var(--header-height) + 4rem) 24px 5rem}
  .hero__title{font-size:1.75rem}
  .hero__mark{font-size:3rem}
  .hero__tags span{font-size:.875rem}
}

/* header: Figma 1:3 の実寸に合わせる（ロゴ 116x26 @54,50／メニュー 61.5x20 @右54,50） */
.site-header{padding:50px 54px 0}
.site-header__logo{height:26px;align-items:flex-start}
.site-header__logo svg{width:116px;height:auto}
.menu-toggle{top:50px;right:54px;width:61.5px;height:20px;align-items:flex-start;justify-content:flex-end}
.menu-toggle__lines{width:61.5px;height:20px}
@media(max-width:640px){
  .site-header{padding:24px 24px 0}
  .site-header__logo svg{width:92px}
  .menu-toggle{top:24px;right:24px;width:44px}
  .menu-toggle__lines{width:44px;height:16px}
}

/* ===== Figma 1:3 に完全準拠：装飾を撤去し白背景に 2026-08-20 ===== */
.hero{background:#fff}
.hero__shapes,.hshape,.hero__blob{display:none !important}

/* ===== takram.com/ja の版面・級数・導入アニメに合わせる 2026-08-20 ===== */
:root{--gutter:24px}

/* 版面：左右24pxのみ。最大幅を設けず端まで使う */
.site-header{padding:24px var(--gutter) 0}
.menu-toggle{top:24px;right:var(--gutter)}
.hero{
  min-height:100svh;
  display:block;
  padding:158px var(--gutter) 6rem;
  background:#fff;
}
.hero__inner{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:4rem;max-width:none;width:100%;margin:0;
}
.hero__lead{max-width:none;flex:1 1 auto}

/* 級数：Takram実測（h1 64px/400/-0.04em/lh1.0、本文16px/300/lh1.4） */
.hero__title{
  font-size:clamp(2.25rem,4.4vw,4rem);
  font-weight:400;letter-spacing:-.04em;line-height:1;
  color:#000;
}
.hero__catch{
  margin-top:12px;
  font-size:1rem;font-weight:300;letter-spacing:-.005em;line-height:1.4;color:#000;
}
.hero__desc{
  margin-top:34px;width:100%;max-width:34em;
  font-size:1.03125rem;font-weight:300;letter-spacing:.01em;line-height:1.4;color:#000;
}
.hero__side{display:flex;align-items:flex-start;gap:3rem;padding-top:.4rem;flex:0 0 auto}
.hero__tags span{font-size:1rem;font-weight:400;letter-spacing:-.01em}
.hero__mark{font-size:3.25rem;line-height:1}

/* 導入アニメ：見出しは左からのワイプ（clip-path inset）、以降はフェードアップで時差 */
@keyframes heptaWipe{
  from{clip-path:inset(-.4em 0% -.4em 100%)}
  to  {clip-path:inset(-.4em 0% -.4em 0px)}
}
@keyframes heptaRise{
  from{opacity:0;transform:translateY(12px)}
  to  {opacity:1;transform:translateY(0)}
}
.hero__title{
  clip-path:inset(-.4em 0% -.4em 100%);
  animation:heptaWipe .95s cubic-bezier(.22,1,.36,1) .15s forwards;
}
.hero__catch,.hero__desc,.hero__tags,.hero__mark{
  opacity:0;animation:heptaRise .8s cubic-bezier(.22,1,.36,1) forwards;
}
.hero__catch{animation-delay:.55s}
.hero__tags {animation-delay:.65s}
.hero__mark {animation-delay:.75s}
.hero__desc {animation-delay:.85s}
@media(prefers-reduced-motion:reduce){
  .hero__title{clip-path:none;animation:none}
  .hero__catch,.hero__desc,.hero__tags,.hero__mark{opacity:1;animation:none}
}
@media(max-width:1100px){
  .hero{padding:112px var(--gutter) 5rem}
  .hero__inner{flex-direction:column;gap:2.5rem}
  .hero__side{padding-top:0;gap:2rem;flex-direction:row-reverse;justify-content:flex-end}
  .hero__tags{flex-wrap:wrap;gap:1.2rem}
}
@media(max-width:640px){
  .hero{padding:88px var(--gutter) 4rem}
  .hero__desc{font-size:.9375rem}
  .hero__mark{font-size:2.5rem}
}

/* logo: Figma版（116x26）に差し替え 2026-08-20 */
.site-header__logo{height:26px}
.site-header__logo svg{width:116px;height:26px}
@media(max-width:640px){.site-header__logo{height:22px}.site-header__logo svg{width:98px;height:22px}}

/* ==========================================================================
   Takram準拠のグローバル設定（全ページ） 2026-08-20
   ・版面：左右24pxのみ、最大幅なし
   ・級数：見出し64px/400/-0.04em、本文16px/300/lh1.4
   ========================================================================== */

/* --- 版面：全ページ共通で端まで使う --- */
.page-head{padding:158px var(--gutter) 0}
.page-head__inner{max-width:none;margin:0}
.section{padding:5rem 0 8rem}
.section__inner,
.overview__inner{
  max-width:none;margin:0;padding:0 var(--gutter);
  grid-template-columns:200px 1fr;gap:4rem;
}
.section__inner--plain{grid-template-columns:1fr}
.section__body{max-width:none}
.cta{padding:8rem var(--gutter);text-align:left}
.cta__desc{margin:0 0 2.5rem;max-width:34em}
.site-footer{padding:6rem var(--gutter) 3rem}
.site-footer__inner{max-width:none;margin:0}

/* --- 級数：Takram実測に統一 --- */
.page-head__en{
  font-size:clamp(2.25rem,4.4vw,4rem);
  font-weight:400;letter-spacing:-.04em;line-height:1;
}
.page-head__ja{
  margin-top:12px;font-size:1rem;font-weight:300;
  letter-spacing:-.005em;color:var(--color-text-muted);
}
.section__label{font-size:1rem;font-weight:400;letter-spacing:-.01em}
.section__text{font-size:1.03125rem;font-weight:300;line-height:1.4;letter-spacing:.01em}
.section__text p + p{margin-top:1.2em}
.spec-table th,.spec-table td{font-size:1.03125rem;font-weight:300;line-height:1.4;padding:1.25rem 0}
.spec-table th{font-size:1rem;font-weight:400;color:var(--color-text-muted)}
.contact-lead{font-size:1.03125rem;font-weight:300;line-height:1.4;letter-spacing:.01em;margin-bottom:2rem}
.cta__title{font-size:2rem;font-weight:400;letter-spacing:-.015em;margin-bottom:12px}
.cta__desc{font-size:1.03125rem;font-weight:300;line-height:1.4;color:var(--color-text-muted)}
.cta__btn{font-size:1rem;font-weight:400;letter-spacing:-.01em;padding:16px 32px}
.site-footer__headline{font-weight:400;letter-spacing:-.04em}
.site-footer__nav{font-size:1rem;font-weight:400}
.site-footer__meta{font-size:1rem;font-weight:300;line-height:1.7}

/* --- モーダル（グローバルメニュー）：Takramの32px/400/-0.015em --- */
.global-menu{padding:0 var(--gutter)}
.global-menu__inner{max-width:none;margin:0}
.global-menu__list a{
  font-size:2rem;font-weight:400;letter-spacing:-.015em;line-height:1.6;
}
.global-menu__meta{font-size:1rem;font-weight:300;line-height:1.7}

/* --- ハンバーガー：閉＝2本線、開＝中央で交差する正しい×印 --- */
.menu-toggle{
  top:24px;right:var(--gutter);
  width:56px;height:12px;
  display:flex;align-items:center;justify-content:center;
}
.menu-toggle__lines{width:56px;height:12px}
.menu-toggle__lines::before,
.menu-toggle__lines::after{
  left:50%;width:56px;margin-left:-28px;
  transform-origin:50% 50%;
  transition:transform .45s cubic-bezier(.22,1,.36,1),width .45s cubic-bezier(.22,1,.36,1),margin-left .45s cubic-bezier(.22,1,.36,1),background .35s ease;
}
.menu-toggle__lines::before{top:0;bottom:auto}
.menu-toggle__lines::after{bottom:0;top:auto}
.menu-toggle:hover .menu-toggle__lines::before{transform:translateY(-1px)}
.menu-toggle:hover .menu-toggle__lines::after{transform:translateY(1px)}
/* 開いた状態：線を24pxに縮め、中央（上下の中点）で±45度に交差 */
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle__lines::after{width:24px;margin-left:-12px}
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(5.5px) rotate(45deg)}
body.is-menu-open .menu-toggle__lines::after,
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-5.5px) rotate(-45deg)}

@media(max-width:640px){
  .page-head{padding:88px var(--gutter) 0}
  .section{padding:3rem 0 5rem}
  .section__inner,.overview__inner{grid-template-columns:1fr;gap:1.5rem}
  .cta{padding:5rem var(--gutter)}
  .site-footer{padding:4rem var(--gutter) 2.5rem}
  .menu-toggle{width:44px}
  .menu-toggle__lines{width:44px}
  .menu-toggle__lines::before,.menu-toggle__lines::after{width:44px;margin-left:-22px}
}

/* ==========================================================================
   Figma 1:3（更新版）準拠 — 級数・体裁はFigma、版面と導入アニメはTakram
   2026-08-20
   ========================================================================== */

/* --- ヒーロー：級数をFigma実数に戻す --- */
.hero__title{
  font-size:40px;font-weight:400;letter-spacing:-.05em;line-height:1.2;color:#000;
}
.hero__catch{
  margin-top:18px;font-size:15px;font-weight:400;letter-spacing:0;line-height:1.2;color:#000;
}
.hero__desc{
  margin-top:0;font-size:14px;font-weight:400;line-height:23px;letter-spacing:0;
  color:#000;max-width:528px;
}
.hero__lead .hero__desc:first-of-type{margin-top:41px}
.hero__lead .hero__desc + .hero__desc{margin-top:23px}

/* --- タグ：Figmaのピル（枠#333／角丸60／余白18-9／15px） --- */
.hero__tags{display:flex;flex-wrap:nowrap;gap:20px;margin:0}
.hero__tags span{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 18px;border:1px solid #333;border-radius:60px;background:#fff;
  font-size:15px;font-weight:400;letter-spacing:0;color:#000;white-space:nowrap;
}
.hero__side{display:flex;align-items:center;gap:34px;padding-top:0}
.hero__mark{font-size:64px;line-height:1;color:#000}

/* --- フッター：Figmaの新構成（白地・左ナビ／中央コピーライト／右マーク3点） --- */
.site-footer{
  background:#fff;color:#000;
  padding:6rem var(--gutter) 51px;
  border-top:0;
}
.site-footer__inner{
  display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;
  max-width:none;margin:0;
}
.site-footer__nav{display:flex;gap:80px;margin:0}
.site-footer__nav a{
  font-size:18px;font-weight:400;letter-spacing:-.05em;color:#000;
}
.site-footer__copy{
  font-size:12px;font-weight:400;letter-spacing:-.05em;color:#000;
  margin:0 0 4px;white-space:nowrap;
}
.site-footer__marks{display:flex;align-items:center;gap:34px}
.fmark{display:block}
.fmark--symbol{width:70px;height:70px}
.fmark--symbol svg{width:100%;height:100%}
.fmark--symbol svg path{fill:#000}
/* 未入稿のSVG2点はいったん場所だけ確保（入稿後に差し替え） */
.fmark--net{width:91px;height:87px}
.fmark--wave{width:134px;height:55px}

@media(max-width:900px){
  .site-footer__inner{flex-direction:column;align-items:flex-start;gap:2.5rem}
  .site-footer__nav{gap:40px}
  .site-footer__marks{gap:24px}
}
@media(max-width:640px){
  .hero__title{font-size:28px}
  .hero__tags{flex-wrap:wrap;gap:12px}
  .hero__side{gap:20px}
  .hero__mark{font-size:44px}
  .site-footer__nav{gap:28px}
  .site-footer__nav a{font-size:16px}
  .fmark--net{width:64px;height:61px}
  .fmark--wave{width:94px;height:39px}
  .fmark--symbol{width:50px;height:50px}
}
/* fix: 説明文の頭余白（catchの次のdesc） 2026-08-20 */
.hero__catch + .hero__desc{margin-top:41px}
/* footer marks: SVG入稿版 2026-08-20 */
.fmark svg{display:block;width:100%;height:100%}
.fmark--net svg path,.fmark--wave svg path{fill:currentColor}
.site-footer__marks{color:#000}

/* ===== TOP：1画面完結（スクロールなし） 2026-08-20 ===== */
body.home{overflow:hidden}
body.home #main{height:100svh;display:flex;flex-direction:column}
body.home .hero{
  flex:1 1 auto;min-height:0;
  padding:158px var(--gutter) 2rem;
}
body.home .site-footer{
  flex:0 0 auto;
  padding:0 var(--gutter) 51px;
}
@media(max-width:900px){
  body.home{overflow:auto}
  body.home #main{height:auto}
  body.home .hero{padding:112px var(--gutter) 3rem}
  body.home .site-footer{padding:3rem var(--gutter) 32px}
}
/* fix: フッターは#mainの外にあるのでbody側をフレックス化 2026-08-20 */
body.home{height:100svh;overflow:hidden;display:flex;flex-direction:column}
body.home #main{flex:1 1 auto;min-height:0;height:auto;display:flex;flex-direction:column}
body.home .hero{flex:1 1 auto;min-height:0}
body.home .site-footer{flex:0 0 auto}
@media(max-width:900px){
  body.home{height:auto;overflow:auto;display:block}
  body.home #main{display:block}
}

/* footer marks: Figma更新版の実寸に変更（net 132.34x127 / wave 195.46x80.37 / symbol 102.2） 2026-08-20 */
.fmark--net{width:132px;height:127px}
.fmark--wave{width:195px;height:80px}
.fmark--symbol{width:102px;height:102px}
.site-footer__marks{gap:50px}
@media(max-width:900px){
  .site-footer__marks{gap:32px}
  .fmark--net{width:96px;height:92px}
  .fmark--wave{width:142px;height:58px}
  .fmark--symbol{width:74px;height:74px}
}
@media(max-width:640px){
  .fmark--net{width:70px;height:67px}
  .fmark--wave{width:104px;height:43px}
  .fmark--symbol{width:54px;height:54px}
}

/* ===== Figma 1:3 差分反映（h1 50px / sub 18px / 間隔） 2026-08-20 ===== */
.hero__title{font-size:50px;letter-spacing:-.05em}
.hero__catch{margin-top:25px;font-size:18px}
.hero__catch + .hero__desc{margin-top:45px}
@media(max-width:640px){
  .hero__title{font-size:32px}
  .hero__catch{margin-top:18px;font-size:16px}
  .hero__catch + .hero__desc{margin-top:32px}
}

/* ===== フッターにも導入アニメを適用（ヒーローの続きとして時差） 2026-08-20 ===== */
.site-footer__nav a,
.site-footer__copy,
.site-footer__marks .fmark{
  opacity:0;animation:heptaRise .8s cubic-bezier(.22,1,.36,1) forwards;
}
/* 左のナビから順に */
.site-footer__nav a:nth-child(1){animation-delay:.95s}
.site-footer__nav a:nth-child(2){animation-delay:1.03s}
.site-footer__nav a:nth-child(3){animation-delay:1.11s}
.site-footer__copy{animation-delay:1.19s}
/* 右のマークは3点を順に */
.site-footer__marks .fmark:nth-child(1){animation-delay:1.27s}
.site-footer__marks .fmark:nth-child(2){animation-delay:1.35s}
.site-footer__marks .fmark:nth-child(3){animation-delay:1.43s}

@media(prefers-reduced-motion:reduce){
  .site-footer__nav a,
  .site-footer__copy,
  .site-footer__marks .fmark{opacity:1;animation:none}
}

/* ===== フッターナビ hover：左から引かれ、右へ抜ける下線 2026-08-20 ===== */
.site-footer__nav a{position:relative;display:inline-block}
.site-footer__nav a::after{
  content:"";position:absolute;left:0;bottom:-5px;
  width:100%;height:1px;background:currentColor;
  transform:scaleX(0);transform-origin:right center;
  transition:transform .4s cubic-bezier(.22,1,.36,1);
}
@media(hover:hover){
  .site-footer__nav a:hover{opacity:1}
  .site-footer__nav a:hover::after{transform:scaleX(1);transform-origin:left center}
}
@media(prefers-reduced-motion:reduce){
  .site-footer__nav a::after{transition:none}
}

/* footer marks: Figma再更新（net 115.63x110.96 / wave 170.78x70.22 / symbol 89.29、間隔43px） 2026-08-20 */
.fmark--net{width:116px;height:111px}
.fmark--wave{width:171px;height:70px}
.fmark--symbol{width:89px;height:89px}
.site-footer__marks{gap:43px}
@media(max-width:900px){
  .site-footer__marks{gap:28px}
  .fmark--net{width:86px;height:82px}
  .fmark--wave{width:126px;height:52px}
  .fmark--symbol{width:66px;height:66px}
}
@media(max-width:640px){
  .fmark--net{width:62px;height:59px}
  .fmark--wave{width:92px;height:38px}
  .fmark--symbol{width:48px;height:48px}
}
/* fix: 旧・黒背景時代のhover色（白）が残っていて白地で消えていた 2026-08-20 */
@media(hover:hover){
  .site-footer__nav a:hover{color:#000;opacity:1}
}

/* ===== ハンバーガー：Figma実寸(61.5x20)に戻し、×を大きく 2026-08-20 ===== */
.menu-toggle{top:50px;right:var(--gutter);width:61.5px;height:20px}
.menu-toggle__lines{width:61.5px;height:20px}
.menu-toggle__lines::before,
.menu-toggle__lines::after{width:61.5px;margin-left:-30.75px}
/* 開：線を44pxに（閉じた幅の約7割）、上下の中点で±45度に交差 */
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle__lines::after{width:44px;margin-left:-22px}
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(9.5px) rotate(45deg)}
body.is-menu-open .menu-toggle__lines::after,
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-9.5px) rotate(-45deg)}
@media(max-width:640px){
  .menu-toggle{top:24px;width:48px;height:16px}
  .menu-toggle__lines{width:48px;height:16px}
  .menu-toggle__lines::before,.menu-toggle__lines::after{width:48px;margin-left:-24px}
  body.is-menu-open .menu-toggle__lines::before,
  body.is-menu-open .menu-toggle__lines::after{width:34px;margin-left:-17px}
  body.is-menu-open .menu-toggle__lines::before,
  body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(7.5px) rotate(45deg)}
  body.is-menu-open .menu-toggle__lines::after,
  body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-7.5px) rotate(-45deg)}
}

/* ==========================================================================
   Studio ページ（Figma 7:97 準拠）2026-08-22
   4カラムのグリッド：ラベル / 図版 / 見出し / 本文
   ========================================================================== */
.hero--page{min-height:auto;padding:158px var(--gutter) 0}
.hero--page .hero__catch{margin-top:25px}

.studio{
  display:grid;
  grid-template-columns:16.4% 33.9% 15.1% 34.2%;
  gap:0 0;
  padding:45px var(--gutter) 79px;
  border-top:1px solid #000;
  margin-top:54px;
}
.studio + .studio{margin-top:0}
.studio__label{
  font-size:14px;line-height:23px;color:#000;
  grid-column:1;
}
.studio__visual{grid-column:2;align-self:start}
.studio__visual svg{width:207px;height:207px;display:block}
.studio__visual svg path{fill:#000}

.studio__meta{
  grid-column:3 / span 2;
  display:grid;grid-template-columns:calc(15.1% / 49.3% * 100%) 1fr;
  column-gap:0;row-gap:24px;align-content:start;
}
.studio__meta dt,
.studio__meta dd{font-size:14px;line-height:23px;color:#000;margin:0}
.studio__meta dd{max-width:554px}
.studio__meta dd a{text-decoration:underline;text-underline-offset:.2em}

/* 事業セクション：大組みタイポ */
.studio__display{grid-column:2;align-self:start}
.studio__display span{
  display:block;
  font-family:var(--font-display);
  font-size:84px;line-height:80px;letter-spacing:-.05em;color:#000;
}
.studio--service .studio__meta{row-gap:53px}
.studio--service{padding-bottom:120px}

/* 導入アニメ（TOPと同じ流れ） */
.hero--page .hero__title{clip-path:inset(-.4em 0% -.4em 100%);animation:heptaWipe .95s cubic-bezier(.22,1,.36,1) .15s forwards}
.studio__label,.studio__visual,.studio__display span,.studio__meta dt,.studio__meta dd{
  opacity:0;animation:heptaRise .8s cubic-bezier(.22,1,.36,1) forwards;
}
.studio--about .studio__label{animation-delay:.85s}
.studio--about .studio__visual{animation-delay:.93s}
.studio--about .studio__meta dt,
.studio--about .studio__meta dd{animation-delay:1.01s}
.studio--service .studio__label{animation-delay:1.09s}
.studio--service .studio__display span:nth-child(1){animation-delay:1.17s}
.studio--service .studio__display span:nth-child(2){animation-delay:1.25s}
.studio--service .studio__display span:nth-child(3){animation-delay:1.33s}
.studio--service .studio__display span:nth-child(4){animation-delay:1.41s}
.studio--service .studio__meta dt,
.studio--service .studio__meta dd{animation-delay:1.45s}
@media(prefers-reduced-motion:reduce){
  .hero--page .hero__title{clip-path:none;animation:none}
  .studio__label,.studio__visual,.studio__display span,.studio__meta dt,.studio__meta dd{opacity:1;animation:none}
}

@media(max-width:1100px){
  .studio{grid-template-columns:1fr 1fr;gap:40px 24px}
  .studio__label{grid-column:1 / -1}
  .studio__visual,.studio__display{grid-column:1}
  .studio__meta{grid-column:2;grid-template-columns:1fr;row-gap:8px}
  .studio__meta dd{margin-bottom:16px}
  .studio--service .studio__meta{row-gap:8px}
  .studio__display span{font-size:56px;line-height:56px}
}
@media(max-width:700px){
  .hero--page{padding:88px var(--gutter) 0}
  .studio{grid-template-columns:1fr;gap:24px;padding:32px var(--gutter) 56px;margin-top:32px}
  .studio__visual,.studio__display,.studio__meta{grid-column:1}
  .studio__visual svg{width:132px;height:132px}
  .studio__display span{font-size:40px;line-height:44px}
}

/* ==========================================================================
   Studio ページ v2（Figma 7:97 更新版）2026-08-22
   4カラム：ラベル13.9% / 図版・大組み36% / 見出し15.9% / 本文34.2%
   ========================================================================== */
.studio{
  display:grid;
  grid-template-columns:13.9% 36% 15.9% 34.2%;
  column-gap:0;
  row-gap:24px;
  padding:50px var(--gutter) 64px;
  border-top:1px solid #000;
  margin-top:54px;
}
.studio--service{padding:47px var(--gutter) 120px;row-gap:56px}

.studio__label{grid-column:1;grid-row:1;font-size:14px;line-height:23px;color:#000;margin:0}
.studio__visual{grid-column:2;grid-row:1 / span 4;align-self:start}
.studio__visual svg{width:175px;height:175px;display:block}
.studio__visual svg path{fill:#000}

.studio__name{grid-column:3;font-size:14px;line-height:23px;color:#000;margin:0}
.studio__desc{grid-column:4;font-size:14px;line-height:23px;color:#000;margin:0;max-width:554px}
.studio__desc a{text-decoration:underline;text-underline-offset:.2em}
.studio__name--r1,.studio__desc--r1,.studio__big--r1{grid-row:1}
.studio__name--r2,.studio__desc--r2,.studio__big--r2{grid-row:2}
.studio__name--r3,.studio__desc--r3,.studio__big--r3{grid-row:3}
.studio__name--r4,.studio__desc--r4,.studio__big--r4{grid-row:4}

/* 事業名の大組み：70px・字間-0.05em、各行の説明文と横並び */
.studio__big{
  grid-column:2;align-self:start;
  font-family:var(--font-display);
  font-size:70px;line-height:1.05;letter-spacing:-.05em;color:#000;
  display:block;
}

/* 導入アニメ */
.hero--page .hero__title{clip-path:inset(-.4em 0% -.4em 100%);animation:heptaWipe .95s cubic-bezier(.22,1,.36,1) .15s forwards}
.studio__label,.studio__visual,.studio__big,.studio__name,.studio__desc{
  opacity:0;animation:heptaRise .8s cubic-bezier(.22,1,.36,1) forwards;
}
.studio--about .studio__label{animation-delay:.85s}
.studio--about .studio__visual{animation-delay:.93s}
.studio--about .studio__name,.studio--about .studio__desc{animation-delay:1.01s}
.studio--service .studio__label{animation-delay:1.09s}
.studio--service .studio__big--r1,.studio--service .studio__name--r1,.studio--service .studio__desc--r1{animation-delay:1.17s}
.studio--service .studio__big--r2,.studio--service .studio__name--r2,.studio--service .studio__desc--r2{animation-delay:1.25s}
.studio--service .studio__big--r3,.studio--service .studio__name--r3,.studio--service .studio__desc--r3{animation-delay:1.33s}
.studio--service .studio__big--r4,.studio--service .studio__name--r4,.studio--service .studio__desc--r4{animation-delay:1.41s}
@media(prefers-reduced-motion:reduce){
  .hero--page .hero__title{clip-path:none;animation:none}
  .studio__label,.studio__visual,.studio__big,.studio__name,.studio__desc{opacity:1;animation:none}
}

@media(max-width:1100px){
  .studio{grid-template-columns:1fr 1fr;row-gap:32px}
  .studio--service{row-gap:48px}
  .studio__label{grid-column:1 / -1;grid-row:auto}
  .studio__visual{grid-column:1 / -1;grid-row:auto}
  .studio__big{grid-column:1 / -1;grid-row:auto;font-size:48px}
  .studio__name{grid-column:1;grid-row:auto}
  .studio__desc{grid-column:2;grid-row:auto}
}
@media(max-width:700px){
  .studio{grid-template-columns:1fr;row-gap:16px;padding:32px var(--gutter) 48px;margin-top:32px}
  .studio--service{padding:32px var(--gutter) 64px;row-gap:32px}
  .studio__name,.studio__desc,.studio__big,.studio__visual{grid-column:1}
  .studio__visual svg{width:120px;height:120px}
  .studio__big{font-size:36px}
}

/* ===== Studio v3（Figma 7:97 更新版）2026-08-22 ===== */
.studio__visual{grid-row:1 / span 5}
.studio__name--r5,.studio__desc--r5{grid-row:5}
/* 区切り線の位置：ヒーロー下78px、About下84px */
.studio{margin-top:78px;padding:71px var(--gutter) 84px;row-gap:30px}
.studio--about .studio__label{margin-top:16px}
.studio--about .studio__visual{margin-top:23px}
.studio--service{padding:101px var(--gutter) 120px;row-gap:56px}
.studio--service .studio__label{margin-top:3px}
.studio--service .studio__name,
.studio--service .studio__desc{padding-top:9px}
/* Est. 行追加ぶんのアニメ時差 */
.studio--about .studio__name,.studio--about .studio__desc{animation-delay:1.01s}
@media(max-width:1100px){
  .studio__visual{grid-row:auto}
  .studio__name--r5,.studio__desc--r5{grid-row:auto}
}

/* ===== fix 2026-08-22 ===== */
/* 1) About行のズレ：ラベル/図版のmargin-topが1行目の行高を押し上げていた
      → レイアウトに影響しないrelative offsetに変更し、全項目を上寄せ */
.studio__label,.studio__visual,.studio__name,.studio__desc,.studio__big{align-self:start}
.studio--about .studio__label{margin-top:0;position:relative;top:16px}
.studio--about .studio__visual{margin-top:0;position:relative;top:23px}
.studio--service .studio__label{margin-top:0;position:relative;top:3px}

/* 2) TOPのフッターが管理バーの高さぶん下に押し出されて見切れていた
      → 1画面の高さから管理バー分を差し引き、下余白51pxを両ページで揃える */
body.admin-bar.home{height:calc(100svh - 32px)}
@media screen and (max-width:782px){
  body.admin-bar.home{height:calc(100svh - 46px)}
}

/* ===== Figma 7:97 更新反映（本文15px / 説明の行送り27px / 大組み68px） 2026-08-22 ===== */
.studio__name,.studio__desc{font-size:15px;line-height:23px}
.studio--service .studio__desc{line-height:27px}
.studio__big{font-size:68px;line-height:1;letter-spacing:-.05em}
.studio--service{row-gap:60px}
.studio--service .studio__name,
.studio--service .studio__desc{padding-top:6px}

/* フッター：ナビは Studio / Contact（頭文字のみ大文字）、コピーライトは字間ノーマル */
.site-footer__nav{gap:68px}
.site-footer__nav a{font-size:18px;letter-spacing:-.05em}
.site-footer__copy{font-size:12px;letter-spacing:normal}

@media(max-width:700px){
  .studio__big{font-size:36px}
  .studio--service{row-gap:32px}
}

/* ===== 和文を游ゴシックに 2026-08-22 ===== */
/* 欧文は Helvetica Neue のまま、和文だけ游ゴシックへ。
   Windowsの游ゴシックRegularは細く潰れるため、Winのみ Medium を先に当てる。 */
:root{
  --font-sans:"Helvetica Neue",Helvetica,"游ゴシック体",YuGothic,"游ゴシック Medium","Yu Gothic Medium","游ゴシック","Yu Gothic","Hiragino Sans","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
}
body{
  font-family:var(--font-sans);
  font-feature-settings:"palt";
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
/* 見出し・大組みは欧文が主役なので Helvetica を優先しつつ、和文が来たら游ゴシック */
:root{
  --font-display:"Helvetica Neue",Helvetica,Arial,"游ゴシック体",YuGothic,"游ゴシック Medium","Yu Gothic Medium",sans-serif;
}

/* ===== ＊：常時ゆっくり回転 2026-08-22 ===== */
@keyframes heptaSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.hero__mark{
  display:inline-block;
  transform-origin:50% 50%;
  /* 導入のフェードアップ（heptaRise）が終わってから回転に引き継ぐ */
  animation:heptaRise .8s cubic-bezier(.22,1,.36,1) .75s forwards,
            heptaSpin 24s linear 1.55s infinite;
}
@media(prefers-reduced-motion:reduce){
  .hero__mark{opacity:1;animation:none}
}

/* ===== Service：3カラムの光学的な上端揃え＋ブロックの等間隔配置 2026-08-22 ===== */
/* 68pxの欧文と15pxの本文では、行ボックス内で文字の天が始まる位置が約2pxずれる。
   本文側の上余白を4pxにして、キャップの高さを揃える。 */
.studio--service .studio__name,
.studio--service .studio__desc{padding-top:4px}

/* 各行を同じ高さにして、Commerce / Branding / Graphic design / Web を等間隔に。
   本文が想定より伸びた場合だけ行が広がる（minmax）。 */
.studio--service{
  grid-template-rows:repeat(4,minmax(174px,auto));
  row-gap:0;
}
@media(max-width:1100px){
  .studio--service{grid-template-rows:none;row-gap:48px}
  .studio--service .studio__name,
  .studio--service .studio__desc{padding-top:0}
}

/* ===== フッター：コピーライトをナビの右隣へ（Figma更新） 2026-08-22 ===== */
.site-footer__inner{
  display:flex;align-items:flex-end;justify-content:flex-start;gap:82px;
}
.site-footer__nav{gap:82px}
.site-footer__copy{margin:0}
.site-footer__marks{margin-left:auto}
@media(max-width:900px){
  .site-footer__inner{flex-direction:column;align-items:flex-start;gap:2rem}
  .site-footer__nav{gap:40px}
  .site-footer__marks{margin-left:0}
}

/* ===== Contact ページ（Figma 7:288 準拠）2026-08-22 ===== */
.studio--contact{padding:87px var(--gutter) 140px;row-gap:0}
.studio--contact .contact-body{grid-column:2 / span 3;max-width:554px;margin-top:4px}
.studio--contact .contact-lead{
  font-size:15px;line-height:27px;letter-spacing:0;color:#000;margin:0 0 56px;
}
.studio--contact .contact-note{
  margin-top:48px;font-size:15px;line-height:27px;color:#000;
}
.studio--contact .contact-note p + p{margin-top:12px}
.studio--contact .contact-note a{text-decoration:underline;text-underline-offset:.2em}
/* 導入アニメ */
.studio--contact .studio__label,
.studio--contact .contact-body{opacity:0;animation:heptaRise .8s cubic-bezier(.22,1,.36,1) forwards}
.studio--contact .studio__label{animation-delay:.85s}
.studio--contact .contact-body{animation-delay:.95s}
@media(prefers-reduced-motion:reduce){
  .studio--contact .studio__label,.studio--contact .contact-body{opacity:1;animation:none}
}
@media(max-width:1100px){
  .studio--contact .contact-body{grid-column:1 / -1}
}
@media(max-width:700px){
  .studio--contact{padding:40px var(--gutter) 72px}
}

/* ===== Contact：本文とフォームを中央側まで広げる 2026-08-22 ===== */
/* ラベル(col1)はそのまま、中身は col2〜col3 いっぱい（画面中央あたりまで）に */
.studio--contact .contact-body{
  grid-column:2 / span 2;
  max-width:none;
}
/* リード文だけは可読性のため行長を保つ */
.studio--contact .contact-lead{max-width:38em}
/* フォームの各入力欄を親幅いっぱいに */
.studio--contact .hepta-form input[type=text],
.studio--contact .hepta-form input[type=email],
.studio--contact .hepta-form input[type=tel],
.studio--contact .hepta-form select,
.studio--contact .hepta-form textarea,
.studio--contact .hepta-form .wpcf7-form-control-wrap{width:100%;max-width:none}
.studio--contact .hepta-form{max-width:none}
.studio--contact .contact-note{max-width:38em}
@media(max-width:1100px){
  .studio--contact .contact-body{grid-column:1 / -1}
}

/* ===== Contact フォーム 仕上げ 2026-08-22 ===== */
/* ラベル：15px、必須は括弧つきで半角スペース分あける */
.studio--contact .hepta-form label{
  display:block;font-size:15px;line-height:27px;letter-spacing:0;
  color:#000;margin-bottom:10px;
}
.studio--contact .hepta-form .req,
.studio--contact .hepta-form .required{
  font-size:15px;color:#000;margin-left:.4em;letter-spacing:0;
}
.studio--contact .hepta-form .req::before,
.studio--contact .hepta-form .required::before{content:"（"}
.studio--contact .hepta-form .req::after,
.studio--contact .hepta-form .required::after{content:"）"}

/* CTA：文字を大きく、ボタン自体も存在感を出す */
.studio--contact .hepta-form input[type=submit],
.studio--contact .hepta-form .wpcf7-submit{
  font-size:16px;font-weight:400;letter-spacing:0;
  padding:20px 44px;border-radius:60px;
  background:#000;color:#fff;border:1px solid #000;
  cursor:pointer;transition:background .25s ease,color .25s ease;
}
.studio--contact .hepta-form input[type=submit]:hover,
.studio--contact .hepta-form .wpcf7-submit:hover{background:#fff;color:#000}

/* 返信目安：CTAの直下へ寄せる */
.studio--contact .hepta-form .form-note{
  order:2;margin:14px 0 0;font-size:13px;line-height:1.6;color:#767676;
}
.studio--contact .hepta-form .form-note + p,
.studio--contact .hepta-form p:has(input[type=submit]){margin-top:32px}
/* 送信ボタンと注記をひとまとまりに（順序を入れ替え） */
.studio--contact .hepta-form .cta-group{
  display:flex;flex-direction:column;align-items:flex-start;margin-top:36px;
}

/* 下の区切り線をフォーム幅に合わせる */
.studio--contact .contact-note{
  max-width:none;
  margin-top:56px;padding-top:28px;
  border-top:1px solid var(--color-border);
}
.studio--contact .contact-note p{max-width:38em}

/* CTAと返信目安をひとまとまりに（CF7の標準マークアップのままCSSだけで寄せる） 2026-08-22 */
.studio--contact .hepta-form .form-note{
  margin:36px 0 0;font-size:13px;line-height:1.6;color:#767676;
}
.studio--contact .hepta-form p:has(input[type=submit]),
.studio--contact .hepta-form p:has(.wpcf7-submit){
  margin-top:12px;margin-bottom:0;
}

/* ==========================================================================
   グローバルメニュー：右半分の白パネル＋背景ぼかし（Made Thought型）
   2026-08-22
   ========================================================================== */
.global-menu{
  position:fixed;inset:0;z-index:900;
  display:block;padding:0;background:transparent;color:#000;
  opacity:0;visibility:hidden;
  transition:opacity .3s ease .06s,visibility .3s;
}
body.is-menu-open .global-menu{
  opacity:1;visibility:visible;
  transition:opacity .1s linear,visibility 0s;
}

/* 背景：白の薄膜＋ぼかし。クリックで閉じる */
.global-menu__scrim{
  position:absolute;inset:0;
  background:rgba(255,255,255,.45);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  cursor:pointer;
}

/* 右半分の白パネル */
.global-menu__panel{
  position:absolute;top:0;right:0;bottom:0;
  width:50%;max-width:none;background:#fff;
  display:flex;flex-direction:column;
  padding:112px var(--gutter) 40px;
  transform:translateX(4%);
  transition:transform .5s cubic-bezier(.22,1,.36,1);
  overflow:hidden;
}
body.is-menu-open .global-menu__panel{transform:translateX(0)}

/* メニュー項目：他ページの版面に合わせる */
.global-menu__list{list-style:none;margin:0;padding:0}
.global-menu__list li{overflow:hidden}
.global-menu__list a{
  display:inline-block;
  font-family:var(--font-display);
  font-size:50px;font-weight:400;letter-spacing:-.05em;line-height:1.35;
  color:#000;
  transform:translateY(105%);
  transition:transform .7s cubic-bezier(.22,1,.36,1);
}
body.is-menu-open .global-menu__list a{transform:translateY(0)}
body.is-menu-open .global-menu__list li:nth-child(1) a{transition-delay:.06s}
body.is-menu-open .global-menu__list li:nth-child(2) a{transition-delay:.13s}
body.is-menu-open .global-menu__list li:nth-child(3) a{transition-delay:.2s}
@media(hover:hover){.global-menu__list a:hover{opacity:.45}}

/* 下部：連絡先とマーキー */
.global-menu__foot{margin-top:auto}
.global-menu__meta{
  margin:0 0 28px;font-size:15px;line-height:27px;color:#000;
  opacity:0;transition:opacity .4s ease .24s;
}
body.is-menu-open .global-menu__meta{opacity:1}
.global-menu__meta a{text-decoration:underline;text-underline-offset:.2em}

.global-menu__marquee{
  position:relative;overflow:hidden;width:100%;
  border-top:1px solid var(--color-border);padding-top:20px;
  opacity:0;transition:opacity .4s ease .26s;
}
body.is-menu-open .global-menu__marquee{opacity:1}
.global-menu__marquee::before,
.global-menu__marquee::after{
  content:"";position:absolute;z-index:1;top:20px;bottom:0;width:72px;pointer-events:none;
}
.global-menu__marquee::before{left:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,0) 100%)}
.global-menu__marquee::after{right:0;background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,0) 100%)}
.global-menu__marquee-track{
  display:flex;width:100%;
}
.global-menu__marquee-track span{
  flex:1 0 35%;
  text-align:center;
  font-family:var(--font-display);
  font-size:26px;font-weight:500;letter-spacing:-.3px;line-height:1.1;
  white-space:nowrap;color:var(--color-text-light);
  animation:heptaMarquee 1.5s linear infinite;
}
@keyframes heptaMarquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-100%,0,0)}}

/* メニューが開いている間、ロゴと×は黒のまま（旧・黒背景時代の白反転を打ち消す） */
body.is-menu-open .site-header__logo svg path{fill:#000}
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle__lines::after{background:#000}

@media(max-width:900px){
  .global-menu__panel{width:78%;padding:96px var(--gutter) 32px}
  .global-menu__list a{font-size:36px}
}
@media(max-width:640px){
  .global-menu__panel{width:100%}
  .global-menu__list a{font-size:32px}
  .global-menu__marquee-track span{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .global-menu__marquee-track span{animation:none}
  .global-menu__panel{transform:none}
  .global-menu__list a{transform:none;transition:none}
}

/* ==========================================================================
   Contact Form 7：エラー／完了メッセージの見た目
   2026-08-22
   ========================================================================== */

/* 各項目の下に出るエラー：小さすぎず、赤は一段落ち着かせる */
.hepta-form .wpcf7-not-valid-tip,
.studio--contact .hepta-form .wpcf7-not-valid-tip{
  display:block;
  margin-top:8px;
  font-size:13px;line-height:1.6;letter-spacing:0;
  color:#c0392b;
}
/* エラーになった入力欄そのものも赤で示す */
.hepta-form .wpcf7-not-valid{
  border-color:#c0392b !important;
  background:rgba(192,57,43,.03);
}
.hepta-form .wpcf7-not-valid:focus{outline:none;border-color:#c0392b !important}

/* 全体メッセージ：CF7標準の黄枠・緑枠を打ち消して、サイトの罫線に揃える */
.hepta-form .wpcf7 form .wpcf7-response-output,
.studio--contact .hepta-form .wpcf7 form .wpcf7-response-output{
  margin:24px 0 0;
  padding:16px 20px;
  border:1px solid var(--color-border) !important;
  border-left-width:3px !important;
  border-radius:0;
  font-size:14px;line-height:1.9;letter-spacing:0;
  color:#000;
  background:#fafafa;
}
/* 入力エラー時 */
.hepta-form .wpcf7 form.invalid .wpcf7-response-output,
.hepta-form .wpcf7 form.unaccepted .wpcf7-response-output,
.hepta-form .wpcf7 form.payment-required .wpcf7-response-output{
  border-color:var(--color-border) !important;
  border-left-color:#c0392b !important;
  color:#c0392b;
  background:rgba(192,57,43,.03);
}
/* 送信失敗・スパム判定時 */
.hepta-form .wpcf7 form.failed .wpcf7-response-output,
.hepta-form .wpcf7 form.aborted .wpcf7-response-output,
.hepta-form .wpcf7 form.spam .wpcf7-response-output{
  border-color:var(--color-border) !important;
  border-left-color:#c0392b !important;
  color:#c0392b;
  background:rgba(192,57,43,.03);
}
/* 送信完了時 */
.hepta-form .wpcf7 form.sent .wpcf7-response-output{
  border-color:var(--color-border) !important;
  border-left-color:#000 !important;
  color:#000;
  background:#fafafa;
}

/* 送信中のスピナー位置 */
.hepta-form .wpcf7-spinner{margin:0 0 0 16px;vertical-align:middle}

/* ==========================================================================
   Studio ページ SP レイアウト（oms 参照：ラベル列を残したまま2カラムで組む）
   2026-08-22
   ========================================================================== */
@media(max-width:700px){

  /* 左：セクションラベル（狭い固定列）／右：中身。SPでも1カラムに落とさない */
  .studio{
    grid-template-columns:26% 1fr;
    column-gap:16px;
    row-gap:0;
    padding:36px var(--gutter) 52px;
    margin-top:0;
    grid-template-rows:none;
  }
  .studio--service{
    padding:36px var(--gutter) 72px;
    row-gap:0;
    grid-template-rows:none;
  }

  .studio .studio__label{
    grid-column:1;grid-row:1;
    position:static;top:auto;margin:0;
    font-size:13px;line-height:1.7;color:#000;
  }
  .studio--about .studio__label,
  .studio--service .studio__label{position:static;top:auto;margin-top:0}

  /* 右列：上から順に流す（--r1〜r5 の行指定は解除） */
  .studio .studio__visual,
  .studio .studio__name,
  .studio .studio__desc,
  .studio .studio__big{
    grid-column:2;grid-row:auto;
    align-self:start;
    position:static;top:auto;
    max-width:none;
  }

  /* シンボルは本文列の左端に揃える */
  .studio .studio__visual{
    grid-row:1;
    justify-self:start;
    margin:0 0 12px;
  }
  .studio .studio__visual svg{width:152px;height:152px}

  /* 項目名は小さく上に、値はその直下。ペア間だけ余白を取る */
  .studio .studio__name{
    margin:32px 0 0;padding-top:0;
    font-size:12px;line-height:1.7;letter-spacing:.02em;
    color:#000;
  }
  .studio .studio__desc{
    margin:10px 0 0;padding-top:0;
    font-size:16px;line-height:1.8;color:#000;
  }

  /* Service：大組み → 日本語名 → 説明文 の縦積み */
  .studio--service .studio__big{
    margin:44px 0 0;
    font-size:40px;line-height:1.05;letter-spacing:-.04em;
  }
  .studio--service .studio__big--r1{margin-top:0}
  .studio--service .studio__name{
    margin:24px 0 0;
    font-size:12px;line-height:1.7;color:#000;
  }
  .studio--service .studio__desc{
    margin:14px 0 0;
    font-size:14px;line-height:1.95;color:#000;
  }

  /* Contact だけはフォームの可読性を優先して、ラベルの下に全幅で置く */
  .studio--contact{padding:36px var(--gutter) 72px}
  .studio--contact .studio__label{grid-column:1 / -1;grid-row:1}
  .studio--contact .contact-body{grid-column:1 / -1;grid-row:auto;margin-top:20px}
}

/* 375px以下：ラベル列をさらに詰める */
@media(max-width:400px){
  .studio{grid-template-columns:24% 1fr;column-gap:12px}
  .studio .studio__visual svg{width:128px;height:128px}
  .studio--service .studio__big{font-size:34px}
}

/* ==========================================================================
   SP：ヘッダーとヒーロー（Figma スマホ版に合わせる）
   タイトル左／アスタリスク右を同じ行に。タグは下に1行で並べる。
   2026-08-22
   ========================================================================== */
@media(max-width:700px){

  /* 版面：左右20px */
  :root{--gutter:20px}

  /* ヘッダー：ロゴ96px、ハンバーガーはその半分の48px・線間12px */
  .site-header{padding:26px var(--gutter) 0}
  .site-header__logo{height:22px}
  .site-header__logo svg{width:96px;height:22px}
  .menu-toggle{top:26px;right:var(--gutter);width:48px;height:12px}
  .menu-toggle__lines{width:48px;height:12px}
  .menu-toggle__lines::before,
  .menu-toggle__lines::after{width:48px;margin-left:-24px}
  body.is-menu-open .menu-toggle__lines::before,
  body.is-menu-open .menu-toggle__lines::after{width:26px;margin-left:-13px}
  body.is-menu-open .menu-toggle__lines::before,
  body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(5.5px) rotate(45deg)}
  body.is-menu-open .menu-toggle__lines::after,
  body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-5.5px) rotate(-45deg)}

  /* ヒーロー：見出し行（左：文言／右：アスタリスク）＋タグ行 の2段グリッド */
  .hero{padding:120px var(--gutter) 112px;min-height:auto}
  .hero__inner{
    display:grid;
    grid-template-columns:1fr auto;
    column-gap:16px;row-gap:0;
    align-items:start;
  }
  .hero__side{display:contents}
  .hero__lead{grid-column:1;grid-row:1;max-width:none}
  .hero__mark{
    grid-column:2;grid-row:1;
    align-self:start;margin-top:2px;
    font-size:52px;line-height:1;
  }
  .hero__tags{
    grid-column:1 / -1;grid-row:2;
    margin-top:30px;
    flex-wrap:nowrap;
    justify-content:space-between;
    gap:8px;
  }

  .hero__title{font-size:40px;line-height:1.2}
  .hero__catch{margin-top:18px;font-size:15px;line-height:1.2}
  .hero__lead .hero__desc:first-of-type,
  .hero__lead .hero__catch + .hero__desc{margin-top:28px}
  .hero__lead .hero__desc + .hero__desc{margin-top:18px}

  /* タグ：4つが1行に収まるよう、幅に応じて級数と余白を伸縮させる */
  .hero__tags span{
    padding:6px clamp(8px,3vw,13px);
    font-size:clamp(12px,3.4vw,15px);
    line-height:1.4;
  }
}

/* 340px未満だけは1行に入らないので折り返す */
@media(max-width:340px){
  .hero__tags{flex-wrap:wrap;row-gap:8px}
}

/* ==========================================================================
   SP：フッター（Figma スマホ版）
   1段目 Studio / Contact を両端／2段目 マーク3点を等間隔／3段目 コピーライト中央
   2026-08-22
   ========================================================================== */
@media(max-width:700px){
  .site-footer{padding:80px var(--gutter) 28px}
  .site-footer__inner{
    display:flex;flex-direction:column;align-items:stretch;gap:0;
  }
  .site-footer__nav{
    order:1;
    display:flex;justify-content:space-between;gap:0;width:100%;margin:0;
  }
  .site-footer__nav a{font-size:18px;letter-spacing:-.05em}

  .site-footer__marks{
    order:2;
    display:flex;align-items:center;justify-content:space-between;
    width:100%;margin:24px 0 0;
  }
  .fmark--net{width:clamp(64px,21vw,100px);height:auto}
  .fmark--wave{width:clamp(98px,33vw,150px);height:auto}
  .fmark--symbol{width:clamp(50px,17vw,78px);height:auto}
  .fmark svg{width:100%;height:auto}

  .site-footer__copy{
    order:3;
    margin:28px 0 0;text-align:center;
    font-size:12px;letter-spacing:normal;
  }
}

/* ==========================================================================
   ヘッダー：スクロールでの表示／非表示 ＋ 背景に合わせた色の反転（Takram型）
   2026-08-22
   ========================================================================== */

/* 下スクロールで消し、上スクロールで戻す */
.site-header{
  transition:opacity .3s ease-in-out;
}
.site-header.is-hidden{
  opacity:0;
}
.site-header.is-hidden .site-header__logo,
.site-header.is-hidden .menu-toggle{pointer-events:none}

/* 背景の明暗に応じて自動で反転する。
   中身を白で描き、ヘッダー全体に difference をかけると、
   白地の上では黒、暗い面の上では白に見える。 */
.site-header{mix-blend-mode:difference}
.site-header__logo svg path{fill:#fff}
.menu-toggle__lines::before,
.menu-toggle__lines::after{background:#fff}

/* メニューを開いた状態も同じ理屈で白のまま（白いパネルの上では黒く出る） */
body.is-menu-open .site-header__logo svg path{fill:#fff}
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle__lines::after{background:#fff}

@media(prefers-reduced-motion:reduce){
  .site-header{transition:none}
}

/* ===== 送信完了ページ 2026-08-22 ===== */
.studio--thanks .contact-lead{margin-bottom:0}
.studio--thanks .contact-note{margin-top:40px}
.thanks-back{margin:48px 0 0}
.thanks-back a{
  display:inline-block;
  font-size:15px;line-height:27px;color:#000;
  border-bottom:1px solid #000;padding-bottom:2px;
  transition:opacity .25s ease;
}
@media(hover:hover){.thanks-back a:hover{opacity:.5}}
/* 完了ページは内容が短いので、フッターを画面下端に落とす */
body:has(.studio--thanks){min-height:100svh;display:flex;flex-direction:column}
body:has(.studio--thanks) #main{flex:1 0 auto}
body:has(.studio--thanks) .site-footer{margin-top:auto}
body.admin-bar:has(.studio--thanks){min-height:calc(100svh - 32px)}
@media screen and (max-width:782px){
  body.admin-bar:has(.studio--thanks){min-height:calc(100svh - 46px)}
}

/* ===== プライバシーポリシー 2026-08-22 ===== */
.studio--policy .contact-lead{margin-bottom:0}
.policy{margin-top:56px}
.policy__item + .policy__item{margin-top:44px}
.policy h2{
  font-size:15px;font-weight:400;line-height:27px;letter-spacing:0;color:#000;
  margin:0 0 12px;
}
.policy p{
  font-size:15px;line-height:29px;letter-spacing:0;color:#000;margin:0;max-width:38em;
}
.policy p + p{margin-top:16px}
.policy ul{
  margin:14px 0 0;padding:0;list-style:none;max-width:38em;
}
.policy li{
  position:relative;padding-left:1.1em;
  font-size:15px;line-height:29px;color:#000;
}
.policy li::before{content:"—";position:absolute;left:0;color:#767676}
.policy ul + p{margin-top:16px}
.policy a{text-decoration:underline;text-underline-offset:.2em}

.policy__meta{margin:0;display:grid;grid-template-columns:6em 1fr;row-gap:6px;max-width:38em}
.policy__meta dt{font-size:15px;line-height:29px;color:#767676;margin:0}
.policy__meta dd{font-size:15px;line-height:29px;color:#000;margin:0}

.policy__date{
  margin-top:56px;padding-top:28px;
  border-top:1px solid var(--color-border);
  font-size:13px;line-height:1.8;color:#767676;
}

@media(max-width:700px){
  .studio--policy .studio__label{grid-column:1 / -1;grid-row:1}
  .studio--policy .contact-body{grid-column:1 / -1;grid-row:auto;margin-top:20px}
  .policy{margin-top:40px}
  .policy__item + .policy__item{margin-top:36px}
  .policy p,.policy li,.policy h2,.policy__meta dt,.policy__meta dd{font-size:14px;line-height:27px}
  .policy__meta{grid-template-columns:5em 1fr}
}

/* メニュー下部：プライバシーポリシーへの導線 2026-08-22 */
.global-menu__sub{margin:10px 0 0;font-size:13px;line-height:22px;color:#767676}
.global-menu__sub a{color:#767676;text-decoration:underline;text-underline-offset:.2em}
@media(hover:hover){.global-menu__sub a:hover{color:#000}}
@media(max-width:700px){.global-menu__sub{font-size:12px}}
.policy__note{margin-top:16px;font-size:15px;line-height:29px;color:#000;max-width:38em}
@media(max-width:700px){.policy__note{font-size:14px;line-height:27px}}

/* ==========================================================================
   ×印を大きく：開いても線を縮めず、閉じた幅のまま45度に交差させる
   （線61.5px → ×の対角は約43.5px。閉じたハンバーガーと同じ量感になる）
   2026-08-22
   ========================================================================== */
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle__lines::after{width:61.5px;margin-left:-30.75px}
body.is-menu-open .menu-toggle__lines::before,
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(9.5px) rotate(45deg)}
body.is-menu-open .menu-toggle__lines::after,
body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-9.5px) rotate(-45deg)}

@media(max-width:700px){
  body.is-menu-open .menu-toggle__lines::before,
  body.is-menu-open .menu-toggle__lines::after{width:48px;margin-left:-24px}
  body.is-menu-open .menu-toggle__lines::before,
  body.is-menu-open .menu-toggle:hover .menu-toggle__lines::before{transform:translateY(5.5px) rotate(45deg)}
  body.is-menu-open .menu-toggle__lines::after,
  body.is-menu-open .menu-toggle:hover .menu-toggle__lines::after{transform:translateY(-5.5px) rotate(-45deg)}
}

/* マーキーのHEPTAを本文と同じ黒に 2026-08-22 */
.global-menu__marquee-track span{color:#000}

/* トップ：サブコピーを外したので、見出し直下の本文の間隔を持たせる 2026-08-22 */
body.home .hero__lead .hero__desc:first-of-type{margin-top:41px}
@media(max-width:700px){
  body.home .hero__lead .hero__desc:first-of-type{margin-top:22px}
}

/* ==========================================================================
   SP 微調整 2026-08-22
   ========================================================================== */
@media(max-width:700px){

  /* --- トップ：本文を画面の全幅で流す（アスタリスクの列に食い込ませる） --- */
  body.home .hero__lead{display:contents}
  body.home .hero__title{grid-column:1;grid-row:1}
  body.home .hero__mark{grid-column:2;grid-row:1}
  body.home .hero__desc{grid-column:1 / -1;grid-row:auto}
  body.home .hero__tags{grid-column:1 / -1;grid-row:auto}
  body.home .hero__desc:first-of-type{margin-top:22px}
  body.home .hero__desc + .hero__desc{margin-top:12px}

  /* --- About：項目名と値をひとまとまりに近づける --- */
  .studio .studio__desc{margin-top:4px}

  /* --- Service：本文を1px下げて、上の日本語名に寄せる --- */
  .studio--service .studio__desc{font-size:13px;line-height:1.95}

  /* --- Contact：送信ボタンを中央に、文字は2px下げる --- */
  .studio--contact .hepta-form p:has(input[type=submit]),
  .studio--contact .hepta-form p:has(.wpcf7-submit){text-align:center}
  .studio--contact .hepta-form input[type=submit],
  .studio--contact .hepta-form .wpcf7-submit{font-size:14px;padding:18px 36px}
  .studio--contact .hepta-form .form-note{text-align:center}

  /* --- Contact：下の注記を2px下げる --- */
  .studio--contact .contact-note{font-size:13px;line-height:24px}
}

/* トップ見出し：SPだけ「Make it.」のあとで折り返す 2026-08-22 */
@media(max-width:700px){
  body.home .hero__title span{display:block}
}

/* CF7のスピナーが常に幅を取っていて中央揃えがずれるので、レイアウトから外す 2026-08-22 */
.studio--contact .hepta-form p:has(input[type=submit]),
.studio--contact .hepta-form p:has(.wpcf7-submit){position:relative}
.studio--contact .hepta-form .wpcf7-spinner{position:absolute;margin:0 0 0 12px}

/* 制定日を外したので、最終セクションの下に余白を足す 2026-08-22 */
.policy .policy__item:last-child{padding-bottom:8px}

/* SP：和文が語の途中で切れるのを防ぐ（対応ブラウザでは文節で折り返す） 2026-08-22 */
@media(max-width:700px){
  .hero__desc{word-break:auto-phrase;line-break:strict}
}

/* ==========================================================================
   SPトップ：上のブロック（見出し・本文・タグ）をヘッダー寄りに詰め、
   フッターとのあいだを大きく空けて上下2ブロックに見せる
   ※ body.home の指定が既にあるので、同じ強さで上書きする
   2026-08-22
   ========================================================================== */
@media(max-width:700px){
  body.home .hero{padding:120px var(--gutter) 96px}
  body.home .site-footer{padding:64px var(--gutter) 28px}
}

/* ==========================================================================
   全ページ共通：内容が短くてもフッターを画面下端へ落とす（下から50px）
   下に余白を残さない
   2026-08-22
   ========================================================================== */
body,
body.home{
  min-height:100svh;
  height:auto;
  overflow:visible;
  display:flex;
  flex-direction:column;
}
body.admin-bar,
body.admin-bar.home{min-height:calc(100svh - 32px)}
@media screen and (max-width:782px){
  body.admin-bar,
  body.admin-bar.home{min-height:calc(100svh - 46px)}
}
body #main{flex:1 0 auto}
body .site-footer{margin-top:auto;padding-bottom:50px}
/* トップにも同じ下余白を（body.home 指定が強いので同じ強さで上書き） */
body.home .site-footer{padding-bottom:50px}

/* トップのサブコピーを復活：SPはグリッド項目になるので全幅に置く 2026-08-22 */
@media(max-width:700px){
  body.home .hero__catch{grid-column:1 / -1;grid-row:auto;margin-top:16px}
  body.home .hero__lead .hero__catch + .hero__desc{margin-top:24px}
}

/* 360px級の端末では見出しが3行に割れるので、そこだけ級数を落とす 2026-08-25 */
@media(max-width:370px){
  body.home .hero__title{font-size:36px}
}
