@font-face{font-family:KarteMincho;src:url("assets/NotoSerifJP-Regular.ttf") format("truetype");font-display:swap}body,button,h1,h2,h3,h4,.section-label h2{font-family:KarteMincho,"Yu Mincho",serif}.intro{display:block}.page-tabs{display:flex!important;gap:0!important}.page-tabs button{flex:1 1 0!important;min-width:0!important;text-align:center!important;font-weight:700!important}.guide-tabs{display:flex}.guide-tabs button{flex:1;min-width:0}.result-name{font-size:clamp(20px,2.3vw,27px)}.result{min-width:0}.reference-sheet{max-width:760px;margin:26px auto}.reference-sheet img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:white;border-radius:8px}.reference-sheet figcaption{text-align:center;font-size:13px;margin-top:12px}.kit-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kit-photo-grid figure{margin:0;background:white;padding:8px;border:1px solid #d7c7b9;border-radius:10px}.kit-photo{aspect-ratio:3/5;overflow:hidden;display:flex;align-items:center;justify-content:center;background:white}.kit-photo img{width:100%;height:100%;object-fit:contain}.fashion .kit-photo img{object-fit:cover}.material .kit-photo{aspect-ratio:4/3}.guide-list dd{margin:0}.guide-list>div{margin-bottom:20px}.guide-list dt{margin-bottom:6px}p,dd{line-break:strict;overflow-wrap:anywhere}.kit-phrase{display:inline-block}.guide-block h2{font-size:24px}.numbered-guide-heading{justify-content:flex-start!important;text-align:left!important;word-spacing:normal!important;letter-spacing:normal!important}@media(max-width:600px){.kit-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-tabs button{font-size:12px!important;padding:16px 2px!important}.guide-tabs button{font-size:11px!important}.reference-sheet{margin:24px 0}.result-name{font-size:25px}.intro .date{line-height:1.9}.guide-block h2{font-size:21px}}
.soft-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.soft-reference-grid figure{margin:0;padding:8px;background:#fff;border:1px solid #d7c7b9;border-radius:10px}.soft-reference-photo{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}.hair .soft-reference-photo{aspect-ratio:3/4}.soft-reference-photo img{display:block;width:100%;height:100%;object-fit:contain}.soft-reference-grid.bags .soft-reference-photo{background:#fdfaf6}.soft-reference-grid+*{margin-top:20px}@media(max-width:600px){.soft-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

#color-guide .small-note{font-size:12px;color:#76645a}#color-guide .color-library{grid-template-columns:repeat(4,minmax(0,1fr))}#color-guide .reference-outfit-text p{font-size:14px}#color-guide .reference-outfit-text h5{font-size:18px}#color-guide .word-unit{display:inline-block}@media(max-width:600px){#color-guide .color-library{grid-template-columns:repeat(3,minmax(0,1fr))}}

.cosmetic-photo svg,.makeup-example-photo svg{width:100%;height:100%;display:block}.cosmetic-photo{height:260px;display:flex;align-items:center;justify-content:center;background:#fff}.cosmetic-card figcaption{padding:12px}.cosmetic-brand{font-size:12px;margin:0 0 5px}.cosmetic-name{font-size:16px;line-height:1.7;margin:0 0 8px;word-break:normal;overflow-wrap:anywhere}.cosmetic-shade{font-size:13px;margin:0}.cosmetic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.makeup-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.makeup-example-photo{height:340px;display:flex;align-items:center;justify-content:center;background:#fff}.makeup-example-photo img{width:100%;height:100%;object-fit:contain}@media(max-width:600px){.cosmetic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cosmetic-photo{height:210px}.cosmetic-name{font-size:14px}.cosmetic-card figcaption{padding:8px}.makeup-example-photo{height:260px}}

.haircolor-photo svg{width:100%;height:100%;display:block}.haircolor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.haircolor-photo{height:310px;background:white;display:flex;align-items:center;justify-content:center}@media(max-width:600px){.haircolor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.haircolor-photo{height:245px}}

.makeup-example-grid:has(>.makeup-example:only-child){grid-template-columns:minmax(0,1fr);max-width:520px;margin-inline:auto}

/* 商品写真の表示窓から隣の画像がはみ出さないようにする */
.cosmetic-photo,.cosmetic-photo svg,.makeup-example-photo,.makeup-example-photo svg{overflow:hidden}

/* メイク参考写真は全6枚を4:5の表示窓で揃える */
.makeup-example-grid{align-items:start}.makeup-example{margin:0;min-width:0}.makeup-example-photo{width:100%;height:auto!important;aspect-ratio:4/5}.makeup-example-photo svg{width:100%;height:100%;display:block}

/* コスメの商品写真も共通サイズの正方形に揃える */
.cosmetic-photo{width:100%;height:auto!important;aspect-ratio:1/1;padding:12px;box-sizing:border-box}.cosmetic-photo svg{width:100%;height:100%;display:block}

/* 商品名は語句の途中で切らず、まとまりの境目で折り返す */
.cosmetic-name{word-break:normal;overflow-wrap:normal}.cosmetic-name .name-part{display:inline-block;white-space:nowrap;margin-inline-end:.2em}@media(max-width:420px){.cosmetic-name{font-size:12px}}

/* 髪型・素材柄・骨格の参考写真も比率を統一する */
.soft-reference-grid.hair .soft-reference-photo{height:auto!important;aspect-ratio:4/5;padding:0}.soft-reference-grid.hair .soft-reference-photo svg{width:100%;height:100%;display:block}.material .kit-photo{aspect-ratio:4/3}.material .kit-photo svg{width:100%;height:100%;display:block}.kit-photo-grid.contain .kit-photo{aspect-ratio:4/5}.kit-photo-grid.contain .kit-photo img{object-fit:cover}



/* おすすめ28商品の写真と、意味のまとまりを保つ商品名 */
.recommended-category-nav{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.recommended-category-nav a{padding:8px 14px;border:1px solid #d7c7b9;border-radius:20px;color:#725b4c;text-decoration:none;background:#fcfaf6;font-size:13px}.recommended-products{scroll-margin-top:24px}.recommended-product-photo{height:auto!important;aspect-ratio:4/5;padding:0}.recommended-product-photo img{display:block;width:100%;height:100%;object-fit:contain}.recommended-product-caption h4{font-family:KarteMincho,"Yu Mincho",serif;overflow-wrap:normal;word-break:normal}.recommended-product-caption .name-part{display:inline-block;white-space:nowrap}.recommended-product-detail{font-size:12px;margin:0 0 14px;color:#76645a}@media(max-width:600px){.recommended-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recommended-products>h3{font-size:20px}.recommended-product-caption h4{font-size:12px;line-height:1.9}.recommended-product-link{font-size:11px}.recommended-category-nav a{font-size:11px;padding:7px 10px}}@media(max-width:350px){.recommended-product-grid{grid-template-columns:1fr}.recommended-product-caption h4{font-size:15px}}

.recommended-product-photo{aspect-ratio:3/4}.recommended-product-photo img{object-fit:cover}.recommended-product-photo svg{display:block;width:100%;height:100%;overflow:hidden}.recommended-product-links{margin-top:auto;display:grid;gap:8px}.recommended-product-links .recommended-product-link{margin-top:0}@media(max-width:480px){.recommended-product-grid{grid-template-columns:1fr}.recommended-product-caption h4{font-size:15px}}

.body-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 34px}.body-balance-grid figure{margin:0;padding:8px;border:1px solid #d7c7b9;border-radius:12px;background:#fcfaf6;min-width:0}.body-balance-photo{aspect-ratio:3/4;background:white;overflow:hidden}.body-balance-photo svg{display:block;width:100%;height:100%;overflow:hidden}.body-balance-grid figcaption{font-size:13px;line-height:1.9;padding:12px 6px}.body-balance h5{font-size:19px;font-weight:500}.body-balance .kit-phrase{display:inline;word-break:normal}@media(max-width:800px){.body-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.body-balance-grid{grid-template-columns:1fr}}

.body-balance-grid:first-of-type .body-balance-photo{aspect-ratio:2/5}

.body-balance-grid.comparison .body-balance-photo{aspect-ratio:2/5}

.body-balance-grid:not(.comparison){grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:480px){.body-balance-grid:not(.comparison){grid-template-columns:1fr}}
