:root{
  --pink:#de4d80;
  --blue:#3854a3;
  --gray:#848f94;
  --grad:linear-gradient(90deg,#de4d80 0%,#3854a3 100%);
  --font:"Avenir Next","Century Gothic","Futura","Yu Gothic","Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Noto Sans CJK JP",Meiryo,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-width:none}
html::-webkit-scrollbar{display:none}
body{margin:0;background:#fff;color:var(--blue);font-family:var(--font);font-size:14px;font-weight:500;line-height:1.8;letter-spacing:.08em;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}
fieldset{border:0;padding:0;margin:0}

/* header */
.site-header{height:86px;display:flex;align-items:center;padding:0 34px;background:#fff;position:relative;z-index:20}
.site-header--hero{position:absolute;left:0;right:0;top:0;background:transparent;color:#fff}
.header-inner{width:100%;display:flex;align-items:center;justify-content:space-between}
.brand-logo{width:158px;display:block}
.brand-logo img{width:158px;height:auto}
.nav{display:flex;align-items:center;gap:76px;font-size:13px;font-weight:700;letter-spacing:.22em}
.nav a{white-space:nowrap}
/* 修正10: WORKのプルダウン */
.nav-item--sub{position:relative}
.nav-sub-toggle{border:0;background:none;padding:0;font:inherit;color:inherit;letter-spacing:inherit;white-space:nowrap;display:inline-flex;align-items:center;gap:7px}
.nav-sub-toggle::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:.2s}
.nav-sub{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:14px;min-width:210px;display:flex;flex-direction:column;gap:14px;padding:18px 20px;background:#fff;color:var(--blue);box-shadow:0 10px 26px rgba(56,84,163,.18);border-radius:6px;opacity:0;visibility:hidden;transition:.18s;z-index:30}
.nav-item--sub:hover .nav-sub,.nav-item--sub:focus-within .nav-sub,.nav-sub.open{opacity:1;visibility:visible}
.nav-item--sub:hover .nav-sub-toggle::after,.nav-item--sub:focus-within .nav-sub-toggle::after{transform:translateY(1px) rotate(-135deg)}
.nav-sub a{font-size:12px;letter-spacing:.16em;white-space:nowrap}
.nav-sub a:hover{color:var(--pink)}
.contact-link{width:162px;height:28px;display:grid;place-items:center;background:var(--pink);color:#fff;line-height:1}
.contact-link--white{background:#fff;color:var(--blue)}
.menu-button{display:none;border:0;background:none;padding:8px;color:inherit}
.menu-button span{display:block;width:27px;height:2px;background:currentColor;margin:5px 0;transition:.2s}

/* common buttons */
.outline-button{height:38px;min-width:350px;padding:0 12px 0 26px;border:1.5px solid transparent;border-radius:999px;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;letter-spacing:.15em;font-size:15px;line-height:1}
/* 修正2: 文字列全体に1本のグラデーション（枠線と同じピンク→青） */
.ob-label{display:inline-flex;align-items:center;gap:10px;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
@supports not ((background-clip:text) or (-webkit-background-clip:text)){.ob-label{color:var(--blue);-webkit-text-fill-color:currentColor}}
.outline-button em{font-style:normal;letter-spacing:.19em}
/* 修正1: 矢印を円の中央に（グリフではなくSVGで描画） */
.outline-button i{margin-left:8px;width:21px;height:21px;border:1px solid transparent;border-radius:50%;font-size:0;color:transparent;flex:0 0 auto;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.1 21.1'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='21.1' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23de4d80'/%3E%3Cstop offset='1' stop-color='%233854a3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6.53 14.58 L13.96 7.14' fill='none' stroke='url(%23g)' stroke-width='1'/%3E%3Cpath d='M14.40 11.33 L13.60 11.30 L13.74 7.36 L9.80 7.50 L9.77 6.70 L14.58 6.53 Z' fill='url(%23g)'/%3E%3C/svg%3E") center/21px 21px no-repeat border-box,linear-gradient(#fff,#fff) padding-box,var(--grad) border-box}
.outline-button--small i{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.1 21.1'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='21.1' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23de4d80'/%3E%3Cstop offset='1' stop-color='%233854a3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6.6 8.7 L10.55 12.6 L14.5 8.7' fill='none' stroke='url(%23g)' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/21px 21px no-repeat border-box,linear-gradient(#fff,#fff) padding-box,var(--grad) border-box}
/* BLOGボタンはカンプ上「グラデーション帯の上に白線＋白文字」の別仕様 → 白のまま */
.outline-button--white{background:transparent;border-color:#fff;color:#fff}
.outline-button--white .ob-label{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#fff;-webkit-text-fill-color:#fff}
.outline-button--white i{border:1px solid #fff;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.1 21.1'%3E%3Cpath d='M6.53 14.58 L13.96 7.14' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Cpath d='M14.40 11.33 L13.60 11.30 L13.74 7.36 L9.80 7.50 L9.77 6.70 L14.58 6.53 Z' fill='%23ffffff'/%3E%3C/svg%3E") center/21px 21px no-repeat border-box}
.outline-button--small{min-width:244px;height:38px;padding-left:25px;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box}
.accent-copy{color:var(--pink)!important;font-weight:700}

/* HOME: exact desktop sections correspond to PDF page 1 */
.home-hero{height:837px;position:relative;background:var(--grad);overflow:hidden;color:#fff;text-align:center}
.home-hero-copy{position:relative;z-index:2;padding-top:213px}
.hero-brand{width:490px;margin:0 auto}
.hero-subtitle{font-size:22px;font-weight:700;letter-spacing:.22em;margin:22px 0 67px}
.brand-message{display:flex;align-items:center;justify-content:center;gap:13px;margin:0;font-size:16px;font-weight:600;letter-spacing:.08em}
.move-word{position:relative;display:inline-flex;align-items:center;height:46px;padding:0 9px}
.move-bg{position:absolute;left:0;right:0;top:15px;height:18px;background:var(--pink)}
.move-word img{position:relative;z-index:1;width:188px;max-width:none}
.home-wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:300px}

.home-about{height:940px;position:relative}
.home-about-inner{width:926px;margin:0 auto;display:grid;grid-template-columns:450px 436px;gap:40px;padding-top:105px}
.home-about-copy{font-size:16px;line-height:1.56;letter-spacing:.1em}
.home-about-copy h2{margin:0 0 24px;font-size:21px;letter-spacing:.22em}
.home-about-copy p{margin:0 0 25px}
.skills-bar{height:30px;width:437px;border-radius:0 999px 999px 0;background:var(--blue);color:#fff;display:flex;align-items:center;padding-left:14px;font-size:16px;font-weight:700;letter-spacing:.22em;margin-top:11px}
.adobe-icons{width:250px;margin:22px 0 16px 0}
.skill-columns{display:grid;grid-template-columns:1fr;gap:14px;width:450px}
.skill-columns h3{font-size:24px;font-weight:500;letter-spacing:.11em;margin:0 0 2px}
.skill-columns p{font-size:19px;line-height:1.4;margin:0;letter-spacing:.11em;position:relative;padding-left:36px;display:flex;flex-direction:column}
.skill-columns p::before{content:"";position:absolute;left:12px;top:-8px;height:30px;border-left:2px dotted var(--blue)}
.skill-columns p::after{content:"";position:absolute;left:12px;top:22px;width:22px;border-top:2px dotted var(--blue)}
.skill-columns p span{padding-left:0}
/* カンプ準拠のマソンリー（左右で高さが違う） */
.home-photo-grid{width:436px;display:flex;flex-direction:column;gap:10px}
.home-photo-grid img{width:100%;object-fit:cover;border-radius:12px;display:block}
.photo-lower{display:flex;gap:10px}
.photo-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px}
.photo-main{aspect-ratio:435.7/323.3}
.photo-minnie{aspect-ratio:212.7/164}
.photo-donald{aspect-ratio:212.7/222.4}
.photo-sea{aspect-ratio:212.7/276.7}
.photo-toad{aspect-ratio:212.7/109.7}

.home-work{height:2043px;text-align:center;overflow:hidden;position:relative;padding-top:23px}
.work-title-art{width:405px;margin:0 auto 44px}
/* 修正5・6: 円を増やして常にゆっくり横へ流す（継ぎ目なしループ） */
.home-work-circles{width:100%;overflow:hidden;margin-bottom:50px}
.work-marquee{display:flex;width:max-content;animation:work-scroll 64s linear infinite}
.work-track{display:flex;gap:22px;padding-right:22px;flex:0 0 auto}
.work-track>div{width:310px;height:310px;border-radius:50%;background:var(--gray);flex:0 0 auto}
@keyframes work-scroll{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media (prefers-reduced-motion:reduce){.work-marquee{animation:none}}
.home-work>.outline-button{margin-bottom:57px}
.home-work-feature{width:926px;margin:0 auto 61px;display:grid;grid-template-columns:446px 1fr;gap:40px;align-items:center;text-align:left}
.work-placeholder{height:259px;background:var(--gray)}
.work-feature-copy{font-size:18px;line-height:1.39;letter-spacing:.09em}
.work-feature-copy p{margin:0 0 6px}
.work-feature-copy ul{list-style:none;margin:0 0 3px;padding:0;font-weight:700;line-height:2}
.work-feature-copy li::before{content:"";display:inline-block;vertical-align:.1em;width:13px;height:13px;border-radius:50%;background:var(--blue);margin-right:12px}
.inline-contact{display:flex;align-items:center;gap:8px}
.inline-contact a{display:inline-flex;align-items:center;justify-content:center;width:118px;height:27px;border-radius:999px;background:var(--grad);color:#fff;font-size:13px;letter-spacing:.12em}
.home-project-card{width:926px;height:926px;border:2px solid transparent;border-radius:30px;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;margin:0 auto;padding:63px 55px 45px}
.project-kicker{font-size:20px;font-weight:700;letter-spacing:.1em;margin:0 0 26px}
.project-title-art--home{width:527px!important;margin:0 auto 41px!important}
.speech-label{position:relative;border:2px solid var(--blue);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 26px;font-size:25px;font-weight:700;letter-spacing:.06em;margin-bottom:46px}
.speech-label::after{content:"";position:absolute;left:50%;bottom:-12px;width:18px;height:18px;background:#fff;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:translateX(-50%) rotate(45deg)}
.speech-label .sl-sm{font-size:.80em}
.project-intro-copy{font-size:19px;line-height:1.9;margin:0 auto 30px}
.problem-circles{display:flex;justify-content:center;gap:20px;margin:0 auto 36px}
.problem-circles span{width:180px;height:180px;border-radius:50%;background:var(--pink);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-size:20px;font-weight:700;line-height:1.25;letter-spacing:.04em}
.project-bottom-copy{font-size:19px;line-height:1.9;margin:0 0 28px}
.home-project-card .outline-button{min-width:350px}

.blog-band{height:527px;background:var(--grad);color:#fff;display:flex;align-items:center}
.blog-inner{width:920px;margin:0 auto;text-align:left}
.travel-title-art{width:350px;margin:0 auto 38px}
.blog-inner p{font-size:17.4px;line-height:2.0;margin:0 0 22px;letter-spacing:.1em}
.blog-inner strong{font-weight:700}
.blog-inner .outline-button{display:flex;width:350px;margin:0 auto}

.contact-section{height:1858px;background:#fff;padding-top:105px}
.contact-inner{width:814px;margin:0 auto}
.contact-section h2{text-align:center;margin:0 0 48px;font-size:40px;letter-spacing:.22em;font-weight:700}
.contact-intro{text-align:center;font-size:18px;margin:0 0 66px;letter-spacing:.1em}
.contact-form{width:814px;margin:0 auto}
.field{margin:0 0 55px}
.field label,.choice-field legend{font-size:22px;font-weight:700;letter-spacing:.04em;margin:0 0 8px;display:block}
.required{display:inline-flex;align-items:center;justify-content:center;background:var(--pink);color:#fff;border-radius:999px;height:23px;padding:0 11px;font-size:12px;vertical-align:2px;margin-left:5px;font-weight:500;letter-spacing:.02em}
.field input[type="text"],.field input[type="email"],.field input[type="tel"]{width:100%;height:58px;border:1.5px solid var(--blue);background:#fff;outline:none;padding:8px 12px}
.field textarea{width:100%;height:385px;border:1.5px solid var(--blue);background:#fff;outline:none;resize:vertical;padding:12px}
.choice-row{display:flex;align-items:center;justify-content:center;gap:54px;padding-top:7px}
.choice-row label{display:flex;align-items:center;gap:9px;margin:0;font-size:18px;font-weight:700;white-space:nowrap}
.choice-row input{appearance:none;width:24px;height:24px;border:2px solid var(--blue);margin:0;background:#fff;display:grid;place-items:center}
.choice-row input:checked::after{content:"";width:13px;height:13px;background:var(--pink)}
.form-note{text-align:center;font-size:18px;line-height:1.55;font-weight:700;letter-spacing:.04em;margin:42px -70px 33px}
.submit-wrap{text-align:center}
.submit-button{width:220px;height:50px;border:0;border-radius:999px;background:var(--grad);color:#fff;font-size:17px;letter-spacing:.2em}
.form-status{font-size:12px;min-height:20px;margin-top:10px}

/* ABOUT page */
.about-page{height:2486px;overflow:hidden}
.about-lead{text-align:center;padding-top:105px}
.about-lead h1{font-size:42px;line-height:1;color:var(--pink);letter-spacing:.24em;margin:0 0 126px}
.about-question{width:465px;height:52px;border:1.5px solid var(--blue);border-radius:999px;display:flex;align-items:center;justify-content:center;margin:0 auto 37px;font-size:16px;font-weight:700;letter-spacing:.24em}
.about-lead>p{width:960px;text-align:left;margin:0 auto;font-size:19px;line-height:1.84;letter-spacing:.1em}
.about-profile{margin-top:184px}
.profile-box{width:928px;height:756px;margin:0 auto;border:2px solid transparent;border-radius:32px;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;position:relative;padding:78px 54px 45px}
.profile-ribbon{position:absolute;top:-27px;left:50%;transform:translateX(-50%);width:470px;height:54px;border-radius:999px;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-size:19px;letter-spacing:.18em}
.profile-ribbon strong{font-size:23px;margin-left:8px}
.profile-main{display:grid;grid-template-columns:446px 334px;gap:32px;align-items:start}
.profile-copy{font-size:16.3px;line-height:1.53;letter-spacing:.08em}
.profile-copy p{margin:0 0 26px}
.profile-photo{width:334px;height:343px;object-fit:cover;object-position:center center;border-radius:9px}
.profile-adobe{width:490px;margin:70px auto 18px}
.profile-specialties{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:65px}
.profile-specialties h2{font-size:21px;margin:0 0 2px;letter-spacing:.12em}.profile-specialties p{font-size:16px;line-height:1.45;margin:0;letter-spacing:.08em}
.likes-section{margin-top:129px;text-align:center}
.likes-canvas{width:862px;height:565px;margin:0 auto;position:relative}
.like-title-art{position:absolute;width:390px;left:228px;top:39px;z-index:3}
.like-bubble{position:absolute;width:270px;height:270px;border:2px solid var(--pink);border-radius:50%;color:var(--pink);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;z-index:2}
.like-bubble strong{font-size:24px;line-height:1.05;white-space:nowrap}.like-bubble strong small{display:block;font-size:14px}.like-bubble p{font-size:17px;line-height:1.6;margin:11px 0 0;white-space:nowrap}
/* カンプ実測の座標（canvas相対） */
.like-bubble--1{left:1px;top:-3px}.like-bubble--2{left:591px;top:-3px}.like-bubble--3{left:1px;top:290px}.like-bubble--4{left:295px;top:290px}.like-bubble--5{left:591px;top:290px}
.about-favorite{font-size:26px;font-weight:400;line-height:2.0;letter-spacing:.2em;margin:118px 0 0}.about-favorite strong{font-size:34px;font-weight:400;letter-spacing:.16em}

/* PORTFOLIO */
.portfolio-hero{height:735px;background:var(--grad);position:relative;overflow:hidden;display:flex;align-items:flex-start;justify-content:center}
.portfolio-hero>img{width:495px;margin-top:190px;position:relative;z-index:2}
.portfolio-wave{position:absolute;left:0;bottom:-1px;width:100%;height:180px}
.portfolio-section{min-height:1402px;height:auto;padding:123px 0 120px}
.portfolio-inner{width:900px;margin:0 auto}
.filters{display:grid;grid-template-columns:repeat(5,1fr);gap:13px 16px;margin-bottom:82px}
.filter-btn{height:35px;border:1.5px solid transparent;border-radius:999px;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;font-size:13px;letter-spacing:.08em;white-space:nowrap}
.filter-btn.active{background:var(--pink);color:#fff;border-color:var(--pink)}
.filter-btn.active .ob-label{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#fff;-webkit-text-fill-color:#fff}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,280px);gap:30px;margin-bottom:85px}
.portfolio-item{width:280px;height:280px;border:0;border-radius:13px;background:var(--gray);padding:0;overflow:hidden}
.portfolio-item img{width:100%;height:100%;object-fit:cover}
.portfolio-item.hidden-item{display:none}
.portfolio-item.filter-hidden{display:none}
.load-more{text-align:center}

/* modal */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;background:rgba(6,8,14,.72);padding:20px}
.modal.open{display:flex}
.modal-dialog{width:850px;min-width:0;max-width:100%;background:#fff;border-radius:18px;padding:24px 26px 45px;position:relative;color:#111;letter-spacing:.04em}
.modal-close{position:absolute;z-index:3;left:calc(50% + 395px);top:calc(50% - 500px);width:42px;height:42px;border:0;background:transparent;color:#fff;font-size:42px;line-height:1}
.modal-media{height:450px;background:var(--gray);border-radius:12px;position:relative;margin-bottom:23px;overflow:hidden}
.modal-image{width:100%;height:100%;object-fit:contain;background:#fff}
.modal-image[hidden],.modal-media.is-placeholder .modal-image{display:none}
.modal-title{font-size:22px;line-height:1.5;margin:0 0 12px;color:var(--blue)}
.modal-arrow{position:absolute;top:50%;transform:translateY(-50%);width:24px;height:24px;border:0;border-radius:50%;background:#fff;color:var(--blue);display:grid;place-items:center;font-size:22px;padding:0;line-height:1}
.modal-arrow[hidden]{display:none}
.modal-arrow.prev{left:-13px}.modal-arrow.next{right:-13px}
.modal-tag{display:inline-flex;align-items:center;justify-content:center;width:260px;height:35px;background:var(--pink);color:#fff;border-radius:999px;font-size:15px;letter-spacing:.12em}
.modal-meta{font-size:16px;line-height:1.7;margin:15px 0 20px}
.modal-meta,.modal-meta *{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.modal-copy{font-size:16px;line-height:1.85}.modal-copy,.modal-copy *{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}.modal-copy p{margin:0 0 20px}
.modal-detail-link{text-align:right;margin:12px 0 0}.modal-detail-link a{text-decoration:underline;text-underline-offset:4px;color:var(--blue)}
/* 投稿数が増えても、開いた作品詳細が現在の画面内に収まる */
.page-portfolio .modal{position:fixed;inset:0;min-height:0;align-items:center;padding:20px}
.page-portfolio .modal-close{position:fixed;left:auto;right:calc(50% - 445px);top:calc(50% - 300px)}

/* WordPress Portfolio detail */
.portfolio-single{padding:85px 20px 120px;min-height:800px}.portfolio-single-inner{width:min(900px,100%);margin:0 auto}.portfolio-single-inner,.portfolio-single-meta,.portfolio-single-copy,.portfolio-single-copy *{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}.portfolio-back{font-weight:700;letter-spacing:.12em}.portfolio-single-gallery{display:grid;gap:24px;margin:40px 0}.portfolio-single-gallery img{width:100%;height:auto;border-radius:12px}.portfolio-single-placeholder{height:450px;background:var(--gray);border-radius:12px;margin:40px 0}.portfolio-single h1{font-size:32px;line-height:1.45;letter-spacing:.08em}.portfolio-single-tags{display:inline-flex;background:var(--pink);color:#fff;border-radius:999px;padding:5px 25px}.portfolio-single-meta,.portfolio-single-copy{font-size:16px;line-height:1.85}.portfolio-single-copy{color:#111}.generic-page{min-height:700px;padding:80px 20px}.generic-page-inner{width:min(900px,100%);margin:0 auto}

/* PROJECT page exact desktop rhythm */
.project-page{overflow:hidden}
.project-hero{height:1025px;text-align:center;padding-top:88px}
.project-hero .project-kicker{font-size:22px;margin-bottom:22px}
.project-title-art{width:784px;margin:0 auto 62px}
.speech-label--project{height:56px;font-size:26.5px;margin-bottom:53px;padding:0 29px}
.problem-circles--project{gap:25px;margin-bottom:50px}.problem-circles--project span{width:229px;height:228px;font-size:22px}
.project-hero-note{font-size:20px;font-weight:700;margin:0 0 6px}
.project-consult{font-size:37px;font-weight:700;margin:0 0 6px;letter-spacing:.08em}
.project-budget{font-size:20px;font-weight:700;margin:0}
.cases{height:3082px;width:928px;margin:0 auto;padding-top:0}
.case-card{width:928px;height:1406px;border:2px solid transparent;border-radius:31px;background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;padding:60px 74px 50px;margin:0 0 41px}
.case-header{display:flex;align-items:flex-start;gap:34px;margin-bottom:52px}
.case-no{font-size:31px;font-weight:700;color:var(--pink);letter-spacing:.05em;padding-right:34px;border-right:2px dotted var(--pink);height:86px;display:flex;align-items:center}
.case-header h2{font-size:32px;margin:0 0 3px;letter-spacing:.08em;line-height:1.2}.case-header p{font-size:18px;font-weight:700;margin:0}
.case-one-top{display:grid;grid-template-columns:237px 1fr;gap:45px;align-items:start;margin-bottom:50px;padding-left:33px}.case-poster{width:237px;height:auto}.case-check{font-size:20px;font-weight:700;margin:30px 0 0;padding-left:38px;position:relative}
.case-check::before,.case-two-results h3::before{content:"";position:absolute;left:0;top:3px;width:24px;height:24px;border:2px solid var(--blue)}
.case-check::after,.case-two-results h3::after{content:"";position:absolute;left:8px;top:-1px;width:10px;height:22px;border-right:3px solid var(--blue);border-bottom:3px solid var(--blue);transform:rotate(40deg)}
.case-bullets{list-style:none;margin:0 0 22px;padding:0;font-size:21px;font-weight:700;line-height:1.9;letter-spacing:.07em}.case-bullets li::before{content:"・";margin-right:8px}
.case-sheets{display:grid;grid-template-columns:repeat(3,185px);gap:21px;align-items:start;margin:0 auto 40px;width:597px}.case-sheets img{width:185px;height:262px;object-fit:contain}
.deliverable-label{width:200px;height:39px;border:1.5px solid var(--blue);border-radius:999px;margin:0 auto 25px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;position:relative}.deliverable-label::after{content:"";position:absolute;left:50%;bottom:-8px;width:12px;height:12px;background:#fff;border-right:1.5px solid var(--blue);border-bottom:1.5px solid var(--blue);transform:translateX(-50%) rotate(45deg)}
.deliverables{display:flex;justify-content:center;gap:12px;margin-bottom:40px}.deliverables span{width:131px;height:131px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;text-align:center;font-size:18px;font-weight:700;line-height:1.35}.deliverables span.outline{background:#fff;color:var(--blue);border:2px solid var(--blue)}
.case-bottom{text-align:center;font-size:21px;line-height:1.52;margin:0;letter-spacing:.08em}
.case-card--two{height:1379px;margin-bottom:55px}
.case-two-top{display:grid;grid-template-columns:237px 1fr;gap:45px;margin-bottom:35px;padding-left:33px}.case-two-placeholder{width:237px;height:335px;background:var(--gray)}
.case-two-results>div{margin-bottom:26px}.case-two-results h3{font-size:20px;line-height:1.6;margin:0 0 4px;padding-left:38px;position:relative}.case-two-results p{font-size:16px;line-height:1.5;margin:0;padding-left:38px}
.case-two-gallery{display:grid;grid-template-columns:repeat(4,162px);gap:20px;width:708px;margin:35px auto 45px}.case-two-gallery div{height:228px;background:var(--gray)}
.deliverables--two span{width:131px;height:132px}.deliverables--two{margin-bottom:38px}
.project-more-text{text-align:center;font-size:20px;font-weight:700;margin:35px 0 28px}.project-portfolio-button{display:flex;width:280px;min-width:0;margin:0 auto}
.project-cta{height:288px;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-size:35px;font-weight:700;letter-spacing:.12em}
.page-project .contact-section{height:1858px}

/* LEGAL */
.legal-page{overflow:hidden}
.legal-page--privacy{height:3021px;padding-top:118px}.legal-page--personal{height:1816px;padding-top:116px}
.legal-page h1{text-align:center;color:var(--pink);font-size:44px;letter-spacing:.16em;margin:0 0 129px;line-height:1.05}
.legal-content{width:926px;margin:0 auto;font-size:15px;line-height:1.93;letter-spacing:.02em;color:var(--blue)}
.legal-content>p{margin:0 0 53px}.legal-content section{margin:0 0 33px}.legal-content h2{font-size:14px;line-height:1.55;margin:0 0 4px;font-weight:700}.legal-content p{margin:0 0 8px}.legal-content>p{margin-bottom:33px}.legal-content ol{margin:34px 0 8px;padding-left:1.45em}.legal-content ul{margin:34px 0 8px;padding-left:0;list-style:none}.legal-content li{margin:0}

/* FOOTER: 546px in all PC comps */
.site-footer{height:546px;background:var(--grad);color:#fff;position:relative;padding-top:72px}
.footer-main{width:815px;margin:0 auto;display:grid;grid-template-columns:190px 120px 220px 180px;gap:35px;align-items:start}
.footer-brand img{width:200px}.instagram-icon{width:45px;height:45px;margin:28px 0 0 49px;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3.4'%3E%3Crect x='4.7' y='4.7' width='38.6' height='38.6' rx='11.5'/%3E%3Ccircle cx='24' cy='24' r='9.4'/%3E%3C/g%3E%3Ccircle cx='35.2' cy='12.8' r='2.9' fill='%23ffffff'/%3E%3C/svg%3E") center/contain no-repeat}
.footer-nav{display:flex;flex-direction:column;gap:29px;font-size:15px;font-weight:700;letter-spacing:.17em;line-height:1}
/* カンプ実測: 白い塗り三角 3.91x5.09pt / 本文から17px字下げ */
.footer-nav a.fn-sub{position:relative;padding-left:17px}
.footer-nav a.fn-sub::before{content:"";position:absolute;left:6.6px;top:50%;transform:translateY(-50%);width:3.91px;height:5.09px;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3.91 5.09'%3E%3Cpath d='M0 0 L3.91 2.545 L0 5.09 Z' fill='%23ffffff'/%3E%3C/svg%3E") center/contain no-repeat}.footer-contact{margin-top:5px;width:180px;height:40px;border:1.5px solid #fff;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:20px;font-size:14px;letter-spacing:.12em}.footer-contact span{width:21px;height:21px;border:1px solid #fff;border-radius:50%;font-size:0;color:transparent;flex:0 0 auto;display:block;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.1 21.1'%3E%3Cpath d='M6.53 14.58 L13.96 7.14' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Cpath d='M14.40 11.33 L13.60 11.30 L13.74 7.36 L9.80 7.50 L9.77 6.70 L14.58 6.53 Z' fill='%23ffffff'/%3E%3C/svg%3E") center/21px 21px no-repeat border-box}
.footer-legal{position:absolute;top:270px;left:50%;transform:translateX(-50%);width:990px;height:86px;border-top:1px solid rgba(255,255,255,.9);border-bottom:1px solid rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;gap:140px;font-size:13px;font-weight:700;letter-spacing:.08em}
.footer-message{position:absolute;top:397px;left:0;right:0;margin:0;display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px;font-weight:700;letter-spacing:.08em}.footer-message .move-word{height:44px}.footer-message .move-bg{top:15px;height:18px}.footer-message .move-word img{width:185px}
.copyright{position:absolute;left:0;right:0;bottom:32px;text-align:center;margin:0;font-size:11px;font-weight:700;letter-spacing:.28em}

/* PDF page 4 desktop modal composition */
.page-portfolio{position:relative}
.page-portfolio .modal{position:absolute;inset:0;min-height:2683px;align-items:flex-start;padding:899px 20px 0}
.page-portfolio .modal-close{position:absolute;left:calc(50% + 374px);top:860px}

/* responsive: no mobile comp exists, so preserve the PC design language without simple shrinking */
@media (max-width:1024px){
  body{font-size:14px;letter-spacing:.05em;overflow-x:hidden}
  .outline-button,.blog-inner .outline-button,.home-project-card .outline-button,.project-portfolio-button{min-width:0;width:min(290px,calc(100% - 40px));font-size:14px}
  .site-header{height:64px;padding:0 20px}.brand-logo,.brand-logo img{width:132px}.menu-button{display:block;z-index:31}.nav{position:fixed;right:-100%;top:0;width:min(82vw,340px);height:100dvh;background:#fff;color:var(--blue);display:flex;flex-direction:column;align-items:flex-start;gap:25px;padding:95px 38px;box-shadow:-12px 0 28px rgba(0,0,0,.15);transition:.25s;z-index:30}.site-header--hero .nav{background:var(--grad);color:#fff}.nav.open{right:0}.contact-link,.contact-link--white{width:100%;height:38px;background:var(--pink);color:#fff}.menu-button.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-button.active span:nth-child(2){opacity:0}.menu-button.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  /* 修正10: ハンバーガー内のWORKはタップで開閉 */
  .nav-item--sub{position:static;width:100%}
  .nav-sub-toggle{width:100%;justify-content:flex-start}
  .nav-sub{position:static;transform:none;margin:14px 0 0 16px;min-width:0;padding:0;gap:16px;background:none;color:inherit;box-shadow:none;border-radius:0;display:none;opacity:1;visibility:visible}
  .nav-item--sub:hover .nav-sub,.nav-item--sub:focus-within .nav-sub{display:none}
  .nav-item--sub .nav-sub.open{display:flex}
  .nav-sub-toggle[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg)}
  .nav-sub a{font-size:12px}
  .home-hero{height:590px}.home-hero-copy{padding-top:170px}.hero-brand{width:min(300px,78vw)}.hero-subtitle{font-size:16px;margin:18px 0 48px}.brand-message{font-size:12px;gap:4px;flex-wrap:wrap}.move-word img{width:150px}.move-word{height:38px}.move-bg{top:13px;height:15px}.home-wave{height:180px}
  .home-about{height:auto;padding:70px 0}.home-about-inner{width:calc(100% - 40px);display:flex;flex-direction:column;gap:45px;padding:0}.home-about-copy{order:2;font-size:14px;line-height:1.8}.home-about-copy h2{font-size:19px}.home-photo-grid{order:1;width:100%}.skills-bar{max-width:100%;width:100%;font-size:14px}.skill-columns{width:100%}.skill-columns h3{font-size:20px}.skill-columns p{font-size:15px}
  .home-work{height:auto;padding:70px 0}.work-title-art{width:310px}.home-work-circles{margin-bottom:38px}.work-track{gap:16px;padding-right:16px}.work-track>div{width:150px;height:150px}.work-marquee{animation-duration:38s}.home-work-feature{width:calc(100% - 40px);grid-template-columns:1fr;gap:25px}.work-placeholder{height:230px}.work-feature-copy{font-size:14px}.inline-contact a{width:105px;font-size:12px}.home-project-card{width:calc(100% - 40px);height:auto;padding:38px 20px}.project-title-art--home{width:min(480px,90%)!important}.project-kicker{font-size:clamp(12px,3.9vw,20px);white-space:nowrap}.speech-label{display:block;height:auto;min-height:0;font-size:clamp(10px,3.3vw,16px);padding:12px 18px;text-align:center;line-height:1.7}.speech-label .sl-line{display:block;white-space:nowrap}.speech-label .sl-tail{display:block}.project-intro-copy,.project-bottom-copy{font-size:14px;line-height:1.85}.problem-circles{gap:10px}.problem-circles span{width:100px;height:100px;font-size:13px}
  .blog-band{height:auto;padding:65px 20px}.blog-inner{width:100%}.travel-title-art{width:280px}.blog-inner p{font-size:14px;margin-bottom:36px}
  .contact-section,.page-project .contact-section{height:auto;padding:75px 0 100px}.contact-inner,.contact-form{width:calc(100% - 38px)}.contact-section h2{font-size:30px}.contact-intro{font-size:14px}.field{margin-bottom:35px}.field label,.choice-field legend{font-size:16px}.choice-row{justify-content:flex-start;gap:14px 22px;flex-wrap:wrap}.choice-row label{font-size:14px;padding:8px 0}.field textarea{height:240px}.form-note{margin:35px 0 25px;font-size:12px}
  .about-page{height:auto;padding-bottom:90px}.about-lead{padding-top:65px}.about-lead h1{font-size:32px;margin-bottom:75px}.about-question{width:min(440px,calc(100% - 50px));font-size:14px}.about-lead>p{width:calc(100% - 40px);font-size:14px;line-height:1.9}.about-profile{margin-top:70px}.profile-box{width:calc(100% - 40px);height:auto;padding:55px 25px 35px}.profile-ribbon{width:min(440px,86%);height:44px;font-size:13px}.profile-ribbon strong{font-size:16px}.profile-main{grid-template-columns:1fr;gap:30px}.profile-copy{font-size:14px;line-height:1.8}.profile-photo{order:-1;width:min(320px,80%);height:auto;aspect-ratio:334/343;margin:auto}.profile-adobe{width:min(410px,90%);margin-top:34px}.profile-specialties{gap:20px}.profile-specialties h2{font-size:19px}.profile-specialties p{font-size:14px}
  .likes-section{margin-top:70px}.likes-canvas{width:calc(100% - 30px);height:auto;display:grid;grid-template-columns:1fr 1fr;gap:16px;justify-items:center}.like-title-art{position:relative;left:auto;top:auto;transform:none;grid-column:1/-1;width:min(430px,95%);margin:6px auto}.like-bubble{position:relative!important;inset:auto!important;width:min(100%,196px);height:auto;aspect-ratio:1}.like-bubble strong{font-size:20px}.like-bubble strong small{font-size:12px}.like-bubble p{font-size:12px;margin-top:8px}.like-bubble--5{grid-column:1/-1}.about-favorite{font-size:18px;margin-top:55px}.about-favorite strong{font-size:24px}
  .portfolio-hero{height:480px}.portfolio-hero>img{width:360px;margin-top:115px}.portfolio-wave{height:100px}.portfolio-section{height:auto;padding:70px 0 100px}.portfolio-inner{width:calc(100% - 36px)}.filters{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:45px}.filter-btn{font-size:11px}.portfolio-grid{grid-template-columns:repeat(2,1fr);gap:14px}.portfolio-item{width:100%;height:auto;aspect-ratio:1}.page-portfolio .modal{position:fixed;inset:0;min-height:0;padding:20px;align-items:center}.modal-dialog{width:min(850px,94vw);padding:15px;max-height:92vh;overflow:auto}.modal-media{height:42vw;min-height:190px}.page-portfolio .modal-close{position:fixed;left:auto;right:15px;top:18px}.modal-tag{width:200px;font-size:13px}.modal-copy,.modal-meta{font-size:13px}.modal-copy{line-height:1.8}
  .project-hero{height:auto;padding:70px 20px 55px}.project-title-art{width:min(670px,95%)}.project-hero .project-kicker{font-size:clamp(12px,3.9vw,22px);white-space:nowrap;margin-bottom:18px}.speech-label--project{font-size:clamp(11px,3.6vw,17px);height:auto;min-height:0;padding:12px 20px}.problem-circles--project{gap:12px}.problem-circles--project span{width:105px;height:105px;font-size:13px}.project-hero-note{font-size:14px}.project-consult{font-size:24px}.project-budget{font-size:14px}.cases{height:auto;width:calc(100% - 32px)}.case-card,.case-card--two{width:100%;height:auto;padding:35px 20px;margin-bottom:35px}.case-header{gap:15px}.case-no{font-size:20px;padding-right:15px;height:65px}.case-header h2{font-size:21px}.case-header p{font-size:14px}.case-one-top,.case-two-top{grid-template-columns:1fr;gap:25px}.case-poster,.case-two-placeholder{width:65%;margin:auto}.case-check{margin:0;font-size:15px}.case-bullets{font-size:14px;line-height:2}.case-sheets{width:100%;grid-template-columns:repeat(3,1fr);gap:8px}.case-sheets img{width:100%;height:auto;aspect-ratio:185/262;object-fit:contain}.deliverable-label{width:170px;font-size:15px}.deliverables{gap:8px}.deliverables span{width:82px;height:82px;font-size:12px}.case-bottom{font-size:14px;line-height:1.85}.case-two-results h3{font-size:15px}.case-two-results p{font-size:13px}.case-two-gallery{width:100%;grid-template-columns:repeat(2,1fr);gap:8px;margin:25px auto 35px}.case-two-gallery div{height:130px}.project-more-text{font-size:16px}.project-cta{height:170px;font-size:20px;text-align:center;padding:20px}
  .legal-page--privacy,.legal-page--personal{height:auto;padding:70px 0 100px}.legal-page h1{font-size:28px;margin-bottom:70px}.legal-content{width:calc(100% - 36px);font-size:13px;line-height:1.85}.legal-content h2{font-size:14px}
  .site-footer{height:auto;min-height:520px;padding:55px 25px 35px}
  /* 修正9: 左=ロゴ・Instagram・CONTACT / 右=メニュー1列 */
  .footer-main{width:100%;display:grid;grid-template-columns:0.95fr 1.05fr;grid-template-areas:"brand nava" "contact navb";column-gap:16px;row-gap:26px;align-items:start;justify-items:start}
  .footer-brand{grid-area:brand;justify-self:center;text-align:center}
  .footer-brand img{width:min(190px,46vw);margin:0 auto}
  .instagram-icon{margin:22px auto 0}
  .footer-nav-a{grid-area:nava}.footer-nav-b{grid-area:navb;margin-top:-6px}
  .footer-nav{font-size:clamp(11px,3.4vw,15px);gap:26px}.footer-nav a{white-space:nowrap}
  .footer-contact{grid-area:contact;justify-self:center;width:min(190px,46vw);margin-top:4px}.footer-legal{position:relative;top:auto;left:auto;transform:none;width:100%;height:auto;margin:45px 0 0;padding:20px 0;gap:20px;font-size:12px;justify-content:space-around}.footer-legal a,.footer-nav a{padding:4px 0}.footer-message{position:relative;top:auto;margin:50px 0 25px;font-size:12px;flex-wrap:wrap}.footer-message .move-word img{width:150px}.copyright{position:relative;bottom:auto;margin-top:20px}
}
@media (max-width:480px){
  .brand-message,.footer-message{font-size:11px}.move-word img,.footer-message .move-word img{width:140px}
  .profile-specialties{grid-template-columns:1fr}.work-track{gap:14px;padding-right:14px}.work-track>div{width:120px;height:120px}.work-marquee{animation-duration:31s}.problem-circles span,.problem-circles--project span{width:88px;height:88px;font-size:11px}.like-bubble{width:min(100%,160px)}.like-bubble strong{font-size:17px}.like-bubble p{font-size:11px;margin-top:5px}.footer-contact{font-size:13px}.footer-nav{gap:22px}.footer-legal{flex-direction:column;gap:7px}.project-consult{font-size:21px}
}
