/* ===== 共通カスタマイズ ===== */
:root {
    --p1: #E6C2C0;
    --p2: #F5E7E6;
    --p3: #B85A66;
    --p4: #3E2C2E;
    --p5: #B89F91;
}

.heading-with-side-line-con {
    display: flex;
    align-items: center;
}

.heading-with-side-line .en,
.heading-with-bottom-line .en {
    font-size: 12px;
    color: var(--p3);
    text-transform: uppercase;
}

.heading-with-side-line h2 {
    font-weight: normal;
    font-size: max(calc(var(--vh, 1vh) * 2), 18px);

}

.heading-with-side-line .line {
    height: 1px;
    width: max(1.5vw, 20px);
    margin-left: 10px;
    background-color: #333;
}

/* 既定：透明 */
.page-id-248 .l-header{
  background-color: rgba(255,255,255,0);
  backdrop-filter: none;
	-webkit-backdrop-filter: none;
  transition: background-color .2s ease,backdrop-filter .2s,-webkit-backdrop-filter .2s;
}

/* スクロール到達後：0.7 */
.page-id-248 .l-header.is-solid{
  background-color: rgba(255,255,255,0.7);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
}

.header-icon:hover .fa-instagram {
    color: #B89F91;
    /* ←ホバー色 */
}

/* ===== 追加：hero(header)を固定 ===== */
.whisk-home-hero {
    position: fixed;
    inset: 0;

    z-index: 1;
}


.whisk-home-hero__inner {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;

}


.whisk-home-hero__bg {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-color: var(--p1);
}

.whisk-home-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(230, 194, 192, 0.2) 70%,
            rgba(230, 194, 192, 1) 85%);
}

.whisk-home-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    margin: 0;

    /* 0.75の“引き” × スクロール拡大 */
    transform: scale(calc(0.75 * var(--hero-scale, 1)));
    transform-origin: center;

    /* スクロールでフェード */
    opacity: var(--hero-img-opacity, 1);

    will-change: transform, opacity;
}

@media (max-width: 480px) {
    .whisk-home-hero__bg img {
        object-fit: cover;
        object-position: 50% 30%;
        transform-origin: 50% 30%;
        transform: scale(calc(0.70 * var(--hero-scale, 1)));
    }
}

.whisk-home-hero__headline {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: min(calc(var(--vw, 1vw) * 4), 54px);
    padding-top: 27vh;
    padding-left: 3vh;
    text-shadow: #fff 0px 0 40px;
}

@media (max-width: 767px) {
    .whisk-home-hero__headline {
        font-size: min(calc(var(--vw, 1vw) * 5), 54px);
        padding-top: 30vh;
        text-shadow: #fff 0px 0 10px;
    }
}





/* 初期状態 */
.whisk-home-hero__bg {
    transform: translateY(40px);
    opacity: 0;
    will-change: transform, opacity;
}

/* ロード後 */
.whisk-is-loaded .whisk-home-hero__bg {
    animation: whiskBgIn 2.5s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes whiskBgIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.whisk-home-hero__headline-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateX(-14px);
    will-change: transform, opacity;
}

.whisk-is-loaded .whisk-home-hero__headline-text .char {
    animation: whiskCharIn .6s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: calc(0.2s + (var(--i) * 0.09s));
}

@keyframes whiskCharIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スクロールで伸びるspace（JSが --space-t を 0〜1 で更新） */
.space {
    display: inline-block;

    /* 最小幅（スクロール0の時） */
    --space-min: 3em;

    /* 最大幅（スクロールが進んだ時） */
    --space-max: 20vh;

    width: clamp(var(--space-min),
            calc(var(--space-min) + (var(--space-max) - var(--space-min)) * var(--space-t, 0)),
            var(--space-max));
}

@media (max-width: 767px) {
    .space {
        --space-max: 2.2em;
        --space-min: 0.7em;
    }
}

/* スクロール連動で見出し全体をフェード */
.whisk-home-hero__headline-text {
    opacity: var(--headline-opacity, 1);
    will-change: opacity;
}


/* ===== Intro section ===== */
.whisk-home-content {
    position: relative;
    padding-top: calc(100vh);
    margin-top: 0 !important;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(230, 194, 192, 0.4) 80%,
            rgba(230, 194, 192, 1) 100%);
    z-index: 2;
}


.whisk-intro-section {
    position: relative;
    max-width: 1800px;
    z-index: 2;
    min-height: 80vh;
    color: rgba(62, 44, 46, 0.8);
    justify-items: center;
    align-content: center;
    margin: 0 auto;
    display: flex;
    padding: 50px 100px;
    gap: 50px;
}

@media (max-width: 767px) {
    .whisk-intro-section {
        flex-direction: column;
        padding: 50px 50px;
    }

    .whisk-home-intro__prose,
    .whisk-home-intro__img {
        flex: none;
        /* ← flex比率を解除 */
        width: 100%;
    }

    .whisk-home-intro__img {
        max-width: 320px;
        /* 画像だけ小さめにしたいなら */
        align-self: center;
    }
}

.whisk-home-intro__prose {
    flex: 2;
    align-content: center;
}

.whisk-home-intro__prose p {
    margin-bottom: 10px;
}

.whisk-home-intro__img {
    flex: 1;
    align-content: center;

}

.whisk-home-intro__img img {
    border-radius: 100%;
}

.whisk-home-intro__cta {
    margin-top: 50px;
}

/* ===== Img section ===== */

.whisk-home-imgarea {
    position: relative;
    height: clamp(260px, 40vw, 520px);
    overflow: hidden;
    margin: 0 !important;
    z-index: 2;
}

/* 背景レイヤー（ここに画像を入れる） */
.home_imgarea-bg {
    position: absolute;
    inset: -10% 0;
    /* 上下少しはみ出しておくと、動かしても白が出にくい */
    background-image: url("https://whisk-tokyo.com/wp-content/uploads/2026/02/lore-schodts-FIxdY7jOBus-unsplash.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: transform;
}

.home_imgarea-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(230, 194, 192, 0.10) 100%);
    pointer-events: none;
}

/* ===== Talk section ===== */
.whisk-top-talk {
    background-color: var(--p2);
    padding: 100px 0px;
    z-index: 2;

}
.whisk-talk-prose{
	padding-top:25px;
	color: rgba(62, 44, 46, 0.8);
}
.whisk-talk-grid{
	max-width:700px;
	margin:0 auto;
	padding:50px 0px;
}
.whisk-talk-copy-con{
	display:flex;
	justify-content:space-between;
	gap:20px;
}
.whisk-talk-copy{

	font-size:16px;

	position:relative;
	flex:1;

}
.talk-copy{
	display:inline-flex;
	align-items:center;
	padding:10px;
	border-radius:25px;
	color: rgba(62, 44, 46, 0.8);
	background-color:#fff;
	min-height:60px;
}
@media (max-width: 768px){
	.talk-copy{
	font-size:12px;
}
}
.whisk-talk-copy-line{
	height:1px;
	background-color:#fff;
	width:clamp(40px,15vw,110px);
	position:absolute;
	z-index:2;

}
.talk-tr, .talk-br{
	text-align:right;
}
.talk-tl .whisk-talk-copy-line{ 
	transform:rotate(45deg); 
	left:50%;
	top:100%;
	transform-origin:left;   
}
.talk-tr .whisk-talk-copy-line{ 
	transform:rotate(-45deg); 
	top:100%;
	right:50%;
	transform-origin:right; 
}
.talk-bl .whisk-talk-copy-line{ 
	transform:rotate(-45deg); 
	left:50%;
	bottom:100%;
	transform-origin:left;   
}
.talk-br .whisk-talk-copy-line{ 
	transform:rotate(45deg); 
	right:50%;
	transform-origin:right; 
}
.whisk-talk-photoWrap{
	display:flex;
	justify-content:center;
}
.whisk-talk-photo{
	width:clamp(200px,30vw,400px);
	border-radius:100%;
	margin:20px 0px;
}
.whisk-talk-photo img{
	width:clamp(200px,30vw,400px);
	border-radius:100%;
}

/* ===== Values section ===== */
/* ===== Values section (mobile parallax対応版) ===== */
.whisk-top-values{
  position: relative;
  overflow: hidden;              /* はみ出した背景を隠す */
  padding: 100px 0;
  background: none !important;   /* 元の背景指定は使わない */
  --values-parallax-y: 0px;      /* JSで更新する */
}

/* 背景レイヤー（ここを動かす） */
.whisk-top-values::before{
  content:"";
  position:absolute;
  inset: -12%; /* 動かしても隙間が見えないよう余白を取る（-8%〜-15%で調整） */
  background-image: url("https://whisk-tokyo.com/wp-content/uploads/2026/02/tony-flood-0zcgoZlWPFI-unsplash.jpg");
  background-size: cover;
  background-position: center center;
  transform: translate3d(0, var(--values-parallax-y), 0) scale(1.10);
  will-change: transform;
  z-index: 0;
}

/* 暗めグラデのオーバーレイ（背景の上・コンテンツの下） */
.whisk-top-values::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.20) 0%,
    rgba(0,0,0,.40) 100%);
  pointer-events:none;
  z-index: 1;
}

.whisk-about-values__inner {
	position:relative;
    z-index: 2;
}
.whisk-top-values_lable-section{
	margin:0 !important;
}
.whisk-top-values_lable {
    position: absolute;
    --lable-size: max(10vw, 150px);
    bottom: calc(var(--lable-size) * -0.25);
    z-index: 4;
}

.whisk-top-values_lable img {
    --lable-size: max(10vw, 150px);
    width: var(--lable-size);
    height: auto;
    opacity: 0.5;
}

.whisk-top-values .heading-with-bottom-line {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.whisk-top-values .heading-with-bottom-line .en {
    font-size: 12px;
    color: #fff;
}

.whisk-top-values .heading-with-bottom-line h2 {
    font-weight: normal;
    color: #fff;
    font-size: max(calc(var(--vh, 1vh) * 2), 18px);

}

.whisk-top-values .heading-with-bottom-line .line {
    background-color: #fff;
    height: 1px;
    width: max(1.5vw, 20px);
    margin-top: 10px;
}

.whisk-menu-prose {
    margin: 50px 0px;
    max-width: 900px;
}

.whisk-about-cards {
    padding: 100px 0px;
    display: flex;
    gap: 50px;
}

.whisk-about-card {
	  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition:
    opacity 1.4s ease,
    transform 1.4s ease;
  transition-delay: calc(var(--i, 0) * 0.3s);
  will-change: opacity, transform;
    flex: 1;
    margin: 0px;
    padding: 10px;
    border-radius: 100%;
    border: 5px solid #fff;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    aspect-ratio: 1 / 1;
    text-align: center;
    align-content: center;
    position: relative;
}

/* 表示 */
.whisk-about-card.is-visible{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s; /* 表示後は遅延を外す（地味に効く） */
}



.whisk-about-card .num {
    position: absolute;
    top: 0;
    width: clamp(50px, 5vw, 90px);
    height: clamp(50px, 5vw, 90px);
    text-align: center;
    align-content: center;
    border-radius: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 1);
    color: var(--p3);
    aspect-ratio: 1 / 1;
    font-size: clamp(14px, 1.5vw, 24px);
}

@media (max-width: 767px) {
    .whisk-about-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .whisk-about-card {
        width: 200px;
        border: 3px solid #fff;
		transition-delay: calc(var(--i, 0) * 0s);
    }
}

.whisk-top-section .whisk-home-links {
    display: flex;
    justify-content: center;
}

.whisk-top-section .whisk-home-links .whisk-btn-re {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: none;
    border: 1px solid #fff;
}

.whisk-top-section .whisk-home-links .whisk-btn-re:hover {
    color: var(--p3);
    background: #fff;
}

/* ===== Menu section ===== */

.whisk-top-menu {
    background-color: #fff;
    padding: 100px 0px;
}



.whisk-top-menuTiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 940px) {
    .whisk-top-menuTiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


a.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;

    padding: 16px 16px 14px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    /* カードの比率 */
    color: #fff;
    isolation: isolate;

    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}

/* 背景画像 */
a.tile .tile__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 背景っぽくトリミング */
    object-position: center;
    /* 切り抜き基準 */
    transform: scale(1);
    transition: transform .45s ease;
    z-index: 0;
}

/* 文字の読みやすさ用オーバーレイ（暗めグラデ） */
a.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, .08) 0%,
            rgba(0, 0, 0, .08) 55%,
            rgba(0, 0, 0, .18) 100%);
    z-index: 1;
    opacity: 1;
    transition: opacity .25s ease;
}


/* テキストを前面に */
a.tile>span {
    position: relative;
    z-index: 2;
}

/* タイポ */
a.tile .jp {
    font-size: 16px;
    letter-spacing: .12em;
    font-weight: 600;
}

a.tile .en {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .9;
}

/* hover */
a.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}

a.tile:hover .tile__bg {
    transform: scale(1.06);
}

a.tile:hover::before {
    opacity: 0;
    /* 薄く＝明るく */
}

/* キーボード操作の見た目 */
a.tile:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .85);
    outline-offset: 3px;
}

.whisk-top-actions {
    margin-top: clamp(25px, 3vw, 40px);
    display: flex;
    justify-content: center;
}

/* ===== News&journal section ===== */
.whisk-top-journal {
    background-color: #FDFCF8;
    padding: 100px 0px;
}

.whisk-top-journalCard {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.whisk-top-journalCard .cat {
    line-height: 1;
    color: rgba(0, 0, 0, 0.4);
}

.whisk-top-journalCard .title {
    font-weight: normal;
    font-size: max(calc(var(--vh, 1vh) * 1.5), 17px);
}

.whisk-top-journalCard .more {
    border-radius: 100%;
    border: 1px solid var(--p5);
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    text-decoration: none;
    color: var(--p5);
    transition: background 0.2s, color 0.2s;
}

.whisk-top-journalCard .more:hover {
    background-color: var(--p5);
    color: #fff;
}

.whisk-top-journalCard .more .fa-light {
    transition: transform 0.2s;
}

.whisk-top-journalCard .more:hover .fa-light {
    transform: translatex(2px);
}

@media (max-width: 767px) {
    .whisk-top-journalCard {
        flex-direction: column;
        align-items: flex-end;
    }

    .whisk-top-journalCard .more {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

/* ===== Access section ===== */
.whisk-top-access {
    position: relative;
    background-color: #fff;
    padding: 100px 0px;
}

.whisk-top-access .whisk-top-section__inner {
    z-index: 3;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.whisk-top-infoList__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 12px 0px;
}

@media (max-width: 1080px) {
    .whisk-top-infoList__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .whisk-top-access .whisk-top-section__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.whisk-top-access__cta {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    max-width: 500px;
}

.whisk-top-access-btn {
    flex: 1;
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid var(--p3);
    padding: 9px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .2s, color .2s, border-color .2s;
}

.whisk-top-access-btn .whisk-top-access-btn_con {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--p3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.whisk-top-access-btn .fa-arrow-up-right {
    color: var(--p3);
    transition: transform .2s, color .2s;
}

.whisk-top-access-btn:hover {
    background-color: var(--p3);
    color: #fff;
    border-color: #fff;
}

.whisk-top-access-btn:hover .whisk-top-access-btn_con {
    border-color: #fff;
}

.whisk-top-access-btn:hover .fa-arrow-up-right {
    transform: translate(3px, -3px);
}

/* ===== Button ===== */
.whisk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    min-width: 170px;
    border-radius: 999px;
    text-decoration: none;
    color: rgba(62, 44, 46, .90);
    letter-spacing: .06em;
    transition: background .2s ease, color .2s ease, border .2s ease;
    font-size: 15px;
    border: 1px solid var(--p3);
}

.whisk-btn-re {
    background: var(--p3);
    color: #fff;
    transition: background .2s ease, color .2s ease, border .2s ease;
}

.whisk-btn:hover {
    background: var(--p3);
    color: #fff;
}

.whisk-btn-re:hover {
    background: var(--p5);
    color: #fff;
    border: 1px solid var(--p5);
}


.whisk-top-section {
    z-index: 2;
    margin: 0 !important;
}