:root{--navy:#103e88;--yellow:#ffd336;--green:#078545;--body:#244568}
html{scroll-padding-top:0}
body{font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif!important;font-weight:500;background-color:#fef3de;color:var(--navy)}
body,h1,h2,h3,.eyebrow,.brand,nav,.number,.header-cta,.cta,table,button,input,textarea,select,.fixed-contact a,.line-icon,.line-symbol{font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif!important}
h1,h2,h3,.eyebrow,.site-header nav,.header-cta,.cta,button,.contact-choice,.choice-title,.form-submit,.form-back,.fixed-contact a,.menu{font-weight:700}
.brand-mark,.line-icon,.line-symbol{font-size:16px!important}
mark{background-image:url('assets/marker-orange.svg')!important;background-repeat:no-repeat;background-size:100% .55em;background-position:left 72%;padding:0 3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.cream{background-color:transparent}
.site-header{position:sticky;top:0;z-index:50;background:#fef3de;box-shadow:0 1px 0 rgba(16,62,136,.08)}
.site-header .header-cta{display:none!important}
main>section{scroll-margin-top:104px}
.hero{min-height:calc(100svh - 88px);padding:45px 0;overflow:hidden;display:flex;align-items:center}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,540px) minmax(0,1fr);column-gap:36px;row-gap:32px;align-items:center}
.hero-copy{position:relative;z-index:2;min-width:0;max-width:540px;grid-column:1}
.hero h1,.hero-description{text-shadow:0 0 2px #fef3de,0 0 2px #fef3de,0 0 4px #fef3de,0 0 4px #fef3de,0 0 7px #fef3de,0 0 7px #fef3de}
.hero-description{max-width:31em;margin-bottom:0}
body .hero-art.original-hero{position:relative;z-index:1;grid-column:2;grid-row:1;left:auto;top:0;width:584px!important;max-width:100%!important;height:430px!important;aspect-ratio:auto!important;margin:0!important;background-image:none!important;clip-path:none!important;filter:none!important;mix-blend-mode:normal!important;overflow:hidden;pointer-events:none}
.hero-art img{position:absolute;max-width:none;mix-blend-mode:multiply}
.hero-rainbow{left:0;top:50%;transform:translateY(-50%);width:80%;height:auto;aspect-ratio:1000/671;object-fit:contain;object-position:left center;-webkit-mask-image:none;mask-image:none}
.hero-chara{left:78.4%;top:49.5%;width:auto;height:26%;object-fit:contain}
.hero-bird{left:87%;top:30%;width:8%;height:auto}
.hero-stars{position:absolute;left:66%;top:4%;width:54px;height:88px;background:url('assets/stars.svg') center/contain no-repeat}
.hero .photos{position:relative;z-index:2;grid-column:1/-1;grid-row:2;margin-top:0;width:80%;justify-self:center}
.cloud-photo.photo-one{background-image:url('assets/photos/top-1.jpg')!important;background-size:cover!important;background-position:center 45%!important}
.cloud-photo.photo-two{background-image:url('assets/photos/top-2.jpg')!important;background-size:cover!important;background-position:center 45%!important}
.cloud-photo.photo-three{background-image:url('assets/photos/top-3.jpg')!important;background-size:cover!important;background-position:center 45%!important}
#services .eyebrow{display:block}
.room-illust{width:100%;max-width:680px;margin:28px auto 0}
.room-illust img{width:100%;border-radius:12px}
.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.case-photo.work-a-before{background-image:url('assets/photos/work-a-before.jpg');background-size:cover;background-position:center}
.case-photo.work-a-after{background-image:url('assets/photos/work-a-after.jpg');background-size:cover;background-position:center}
.case-photo.work-b-before{background-image:url('assets/photos/work-b-before.jpg');background-size:cover;background-position:center}
.case-photo.work-b-after{background-image:url('assets/photos/work-b-after.jpg');background-size:cover;background-position:center}
.case-photo.work-c-before{background-image:url('assets/photos/work-c-before.jpg');background-size:cover;background-position:center}
.case-photo.work-c-after{background-image:url('assets/photos/work-c-after.jpg');background-size:cover;background-position:center}
.case-photo.work-d-before{background-image:url('assets/photos/work-d-before.jpg');background-size:cover;background-position:center}
.case-photo.work-d-after{background-image:url('assets/photos/work-d-after.jpg');background-size:cover;background-position:center}
.case-photo.work-e-before{background-image:url('assets/photos/work-e-before.jpg');background-size:cover;background-position:center}
.case-photo.work-e-after{background-image:url('assets/photos/work-e-after.jpg');background-size:cover;background-position:center}
.case-photo.work-f-before{background-image:url('assets/photos/work-f-before.jpg');background-size:cover;background-position:center}
.case-photo.work-f-after{background-image:url('assets/photos/work-f-after.jpg');background-size:cover;background-position:center}
.work-description{margin-top:16px;font-size:16px;line-height:1.8}
.rough-cards{background-image:url('assets/cards.svg')!important;background-size:contain!important;background-position:center!important;filter:none!important;width:84px;aspect-ratio:18/11}
.contact-choice{transition:background-color .3s ease}.contact-choice>span:nth-child(2){min-width:0}
.form-photo-note,.form-repair-note,.form-preview-note{font-size:16px;line-height:1.8;margin:20px 0}
#about .about-grid{grid-template-columns:minmax(0,1.4fr) minmax(360px,1fr);gap:40px}
#about .about-art{position:relative;order:2;width:100%;max-width:420px;justify-self:center;mix-blend-mode:multiply}
.about-chara{width:100%;height:auto}
.about-bird{position:absolute;left:-2%;top:6%;width:18%;height:auto}
body .original-profile::after{content:none!important}
body .case-mascot.original-consult::before{width:80px;height:60px;font-size:16px!important}
.company .eyebrow{text-align:left}
.company dl{margin:0;border-top:1px dashed var(--navy);font-size:16px;color:var(--body)}
.company dl>div{display:grid;grid-template-columns:10em minmax(0,1fr);border-bottom:1px dashed var(--navy)}
.company dt,.company dd{margin:0;padding:15px 20px}
.company dt{font-weight:700;color:var(--navy)}
.company dd{overflow-wrap:anywhere}
section.closing-motto{padding:30px 20px;margin-top:30px;margin-bottom:10px}
@media(max-width:1000px) and (min-width:701px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body .hero-art.original-hero{height:430px!important}.hero h1>span{white-space:normal}}
@media(max-width:700px){
html{scroll-padding-top:0}
main>section{scroll-margin-top:92px}
mark{background-size:100% .5em;background-position:left 72%}
body .hero{min-height:calc(100svh - 76px)!important;padding:24px 0 20px!important;display:flex!important;align-items:center!important}
body .hero .hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto auto!important;row-gap:0!important;gap:0!important}
body .hero .hero-grid .eyebrow{display:none!important}
body .hero .hero-grid h1{grid-row:1!important;font-size:clamp(21px,6.15vw,26px)!important;line-height:1.7!important;letter-spacing:-.03em!important;margin:0}
body .hero .hero-grid h1>span:first-child{font-size:inherit!important;margin-bottom:0!important}
body .hero .hero-grid h1 br.sp{display:block!important}
body .hero .hero-grid .hero-description{grid-row:2!important;grid-column:1;position:relative;z-index:1;font-size:16px!important;line-height:1.8!important;margin:12px 0 0!important;max-width:none;align-self:start}
body .hero .hero-grid .photos{grid-row:3!important;display:flex!important;gap:0!important;margin-top:12px!important;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;align-self:auto!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body .hero .hero-grid .photos .cloud-photo{display:block!important;flex:0 0 100%!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;scroll-snap-align:center}
body .hero .hero-grid .photo-dots{grid-row:4!important;margin-top:2px}
body .hero .hero-grid .hero-art.original-hero{position:relative;left:auto;top:auto;grid-row:5!important;grid-column:1;justify-self:stretch!important;align-self:stretch!important;width:100%!important;max-width:none!important;height:190px!important;min-height:190px;aspect-ratio:auto!important;margin:0!important;background-image:none!important;clip-path:none!important;overflow:hidden;z-index:0;pointer-events:none}
.hero-rainbow{left:0;top:50%;transform:translateY(-50%);width:80%;height:auto;aspect-ratio:1000/671;object-fit:contain;object-position:left center;-webkit-mask-image:none;mask-image:none}
.hero-chara{left:78.6%;right:auto;top:49.5%;bottom:auto;height:35%}
.hero-bird{left:86%;right:auto;top:28%;width:8%}
.hero-stars{left:4%;top:8px;width:32px;height:54px}
.room-illust{margin-top:22px}
.works-grid{grid-template-columns:1fr}
#about .about-grid{grid-template-columns:1fr;gap:28px}
#about .about-art{order:2;width:70%;max-width:420px}
.about-bird{left:-4%;top:4%;width:20%}
.company dl>div{display:block}
.company dt{padding-bottom:0}
.company dd{padding-top:6px}
section.closing-motto{padding:28px 14px}
}
@media(max-width:374px){.site-header{padding-left:14px;padding-right:14px}.hero-grid.wrap{width:calc(100% - 28px)}.contact-choice{padding-left:9px;padding-right:9px}}
@media(prefers-reduced-motion:reduce){.contact-choice{transition:none}}

/* 施工事例のマスコットの吹き出し: 丸ゴシック 16px が収まる大きさ */
body .case-mascot.original-consult::before{width:108px!important;height:74px!important;left:-66px!important;top:-48px!important;font-size:16px!important;line-height:1.25!important;letter-spacing:0!important;padding:0 4px!important;box-sizing:border-box}
@media(max-width:700px){body .case-mascot.original-consult::before{width:100px!important;height:68px!important;left:-70px!important;top:-44px!important}}

/* LINE ボタン（hero）: お客様指示「色を変更・淡い虹のトーンに」。緑ではなく淡い虹のグラデーション */
.hero .cta.hero-cta{display:inline-flex;align-items:center;gap:10px;margin-top:26px;padding:14px 22px 14px 16px;border-radius:999px;border:1.5px solid rgba(16,62,136,.18);background:linear-gradient(90deg,#f8c3cf 0%,#fbd7b4 22%,#fcf0b6 42%,#c8ecd3 62%,#bfe2f7 82%,#d4c9f1 100%);color:#103e88;font-weight:700;box-shadow:0 2px 0 rgba(16,62,136,.08);transition:transform .3s ease,box-shadow .3s ease;text-shadow:none}
.hero .cta.hero-cta .line-symbol{background:#fff;color:#103e88;border:1.5px solid rgba(16,62,136,.25)}
@media(hover:hover){.hero .cta.hero-cta:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(16,62,136,.14)}}
@media(prefers-reduced-motion:reduce){.hero .cta.hero-cta{transition:none}}
@media(max-width:700px){body .hero .hero-grid .cta.hero-cta{grid-row:5!important;justify-self:start;margin:18px 0 0!important;position:relative;z-index:2}}

/* マーカーは文字の下に敷く（文字の中間に重ねない） */
mark{background-position:left bottom!important;background-size:100% .55em!important;padding:0 4px .2em!important}
/* ヘッダーの LINE ボタンは hero と同じ丸いピル型（手描き風の歪んだ楕円は使わない） */
.site-header .header-cta{border-radius:999px!important;padding:10px 22px!important;line-height:1.5}

/* 背景: ページ全体をクリームに統一 */
body{background-color:#fef3de!important}

/* 写真 3 枚を大きく（PC）・背景は全セクション同一（カードの白は残す） */
@media(min-width:701px){.hero .cloud-photo{aspect-ratio:1.35!important}.hero .photos{width:100%!important;max-width:none!important;margin:0!important;column-gap:28px}}
section,footer,#message,.closing-motto,#company,.cream{background-color:transparent!important}

/* 写真 3 枚: SP でも支給写真を cover で（旧スプライトの切り出し指定を打ち消す） */
body .hero .hero-grid .photos .cloud-photo.photo-one{background-image:url('assets/photos/top-1.jpg')!important;background-size:cover!important;background-position:center 45%!important}
body .hero .hero-grid .photos .cloud-photo.photo-two{background-image:url('assets/photos/top-2.jpg')!important;background-size:cover!important;background-position:center 45%!important}
body .hero .hero-grid .photos .cloud-photo.photo-three{background-image:url('assets/photos/top-3.jpg')!important;background-size:cover!important;background-position:center 45%!important}
/* セクションの地: 紙のノイズ（paper.svg）を節ごとに重ねない。body の一色だけ */
section,.cream,.decorated,footer,#message,#company{background-image:none!important}

/* 見切れの修正（2026-10-20 13:50）: 施工事例のマスコットの吹き出しが節の上端（overflow hidden・SP の余白 32px）で 12px 切れていた → マスコットを下げて吹き出しを節の内側に */
body #works .case-mascot{top:6px!important}
@media(max-width:700px){body #works .case-mascot{top:18px!important}}
/* SP の FV の絵: 箱の高さを固定 190px から幅に比例（虹 80% 幅 × 671/1000）に → 405〜430 幅で虹の上下が 3〜10px 切れていたのを解消。比率は全幅で同じ */
@media(max-width:700px){body .hero .hero-grid .hero-art.original-hero{height:calc((100vw - 40px)*.537)!important;min-height:0!important}}
@media(max-width:374px){body .hero .hero-grid .hero-art.original-hero{height:calc((100vw - 28px)*.537)!important}}
/* タブレット幅（701〜1180）: 箱が狭くキャラクターの右 12〜16px が箱で切れていた → この幅だけ箱のクリップを外す（hero の余白 48px の内側に収まる） */
@media(max-width:1180px) and (min-width:701px){body .hero-art.original-hero{overflow:visible!important}}

/* 2026-10-20 16:50 お客様「イラスト変更しましたか」→ 虹とキャラクターの大きさを元デザイン（9/30 版・虹 494px・キャラ 141px）に合わせる。絵と淡さはそのまま */
@media(min-width:701px){
body .hero-art.original-hero{overflow:visible!important}
.hero-rainbow{width:84.6%}
.hero-chara{left:82.7%;top:47.6%;width:19%;height:auto}
}
/* 701〜1180 は箱が狭く、キャラは幅基準（虹と同じ比率）で縮む。先端の高さに合わせて top だけ補正 */
@media(min-width:701px) and (max-width:1180px){.hero-chara{top:48.5%}}
@media(max-width:700px){
body .hero .hero-grid .hero-art.original-hero{height:calc((100vw - 40px)*.568)!important;overflow:visible!important}
.hero-rainbow{width:84.6%}
.hero-chara{left:82.7%;top:46.9%;height:42.5%}
}
@media(max-width:374px){body .hero .hero-grid .hero-art.original-hero{height:calc((100vw - 28px)*.568)!important}}
/* プロフィールの絵: お客様「大きさは前回と同じに」→ 9/30 版の枠の高さ 190px に合わせる（絵の比率 1028:828 → 幅 236px） */
#about .about-art{max-width:236px!important}
@media(max-width:700px){#about .about-art{max-width:236px!important}}

/* 2026-10-21 14:45 お客様「鳥が右にいるパターンに」→ 鳥を原画（手書き PDF 3 枚目右上）と同じ相対位置・大きさに（顔の右横・目の高さ）。150dpi で実測した比率: 幅 0.210・左 0.882・上 0.177（キャラの実体に対して）。margin-top の % は箱の幅基準なので、キャラの幅（箱の 19%）に連動する */
.hero-bird{left:98.56%;right:auto;top:47.6%;margin-top:4.14%;width:4.706%;height:auto}
@media(min-width:701px) and (max-width:1180px){.hero-bird{top:48.5%}}
@media(max-width:700px){.hero-bird{top:46.9%}}
