@charset "UTF-8";
html{
     scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
}
main{
    background-image: url("/img/liquor/grandepolaire/back01.jpg");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    /* 画像をスクロールさせずに固定する */
    background-attachment: fixed;
    /* 背景が読み込まれるまでの予備色 */
    background-color: #000;
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: #ffff;
}
/* 親要素：ここを基準（起点）にする */
#top-container {
    position: relative;
    display: inline-block;
    /* 画像のサイズに合わせる場合 */
}
/* 下になる画像：通常の配置 */
.top-img-base {
    display: block;
    width: 100%;
    margin-top: 50px;
    height: auto;
}
/* 上に重ねる画像：絶対配置で浮かせる */
.top-img-overlay {
    position: absolute;
    top: 23%;
    right: 300px;
    z-index: 10;
    width: 30%;
}
.top-text p{
    font-size: 20px;
    writing-mode: vertical-rl;
    /*縦組み*/
    text-align: start;
    /*頭ゾロエ*/
    margin: auto;
    padding-top: 150px;
    padding-bottom: 200px;
    line-height: 2.3;
}
.anchor-btn {
    background-color: #9f8700;
}
.anchor-btn h2 {
    font-size: 30px;
    text-align: center;
    padding-top: 20px;
}
.anchor-btn .mark {
    width: 40px;
    margin: auto;
}
.anchor-btn__list {
    display: flex;
    /* 横並び*/
    justify-content: center;
    /* 中央に寄せる（左寄せなら flex-start） */
    gap: 30px;
    /* 画像と画像の間隔をあける */
    margin-top: 10px;
    padding-bottom: 20px;
}
/* ボタン画像自体の大きさを調整したい場合 */
.anchor-btn__list img {
    width: 200px;
    /* お好みのサイズに調整してください */
    height: auto;
}
.anchor-btn__list a {
    display: inline-block;
    /* 動きをつけるために必要 */
    transition: all 0.3s ease;
    /* 0.3秒かけて変化させる（これがないとパッと切り替わる） */
}
/* 2. マウスを乗せた時（:hover）の動き */
.anchor-btn__list a:hover {
    transform: translateY(-5px);
    /* 上に5px移動 */
    opacity: 0.8;
    /* 少し透明にする（明るくなったように見える） */
}
.anchor-btn__list a:hover {
    transform: translateY(-5px);
    opacity: 0.5;
    /* 透明度 */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    /* 画像の形に合わせた影をつける */
}
#target-hokkaido .map, #target-hokkaido-hokuto .map {
    width: 800px;
    margin-top: -150px;
    margin-left: 5%;
}
#target-hokkaido h4, #target-nagano h4, #target-hokkaido-hokuto h4 {
    font-size: 50px;
    text-align: center;
    margin-top: -200px;
    margin-bottom: 40px;
}
.content-box {
    border: 1px solid #9f8700;
    /* 枠線の太さ・種類・色 */
    padding: 30px;
    /* 枠の内側の余白 */
    width: 60%;
    /* 枠の横幅（お好みで調整してください） */
    margin-left: auto;
    /* 左側の余白を自動にして右に寄せる */
    margin-right: 8%;
    /* 右端から少し離す設定 */
    background-color: rgba(0, 0, 0, 0.8);
    /* 背景を少し透かすと画像に重なっても読みやすいです */
    box-sizing: border-box;
    /* paddingを含めた幅計算にする設定 */
}
.content-box .lead {
    font-family: "Sawarabi Gothic";
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 20px;
    line-height: 1.6;
}
.main-text {
    font-family: "Sawarabi Gothic";
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    /* 文末を揃えて綺麗に見せる */
}
.content {
    display: flex;
    justify-content: center;
    /* 中央寄せ */
    gap: 40px;
    /* ブロック同士の間の隙間 */
    max-width: 1000px;
    /* 全体の最大幅（適宜調整してください） */
    margin: 50px auto;
    /* 上下に余白を作り、左右中央に配置 */
}
/* 子要素（各ブロック）の設定 */
.content .item {
    flex: 1;
    /* 2つの幅を均等にする */
    max-width: 450px;
    /* 広がりすぎないよう制限 */
}
/* 画像がはみ出さないように設定 */
.content .item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
/* ハイライト */
.hightlight {
    display: inline-block;
    /* 背景をしっかり出すため */
    font-family: "Sawarabi Gothic";
    background: linear-gradient(transparent 50%, #4d3b17 50%);
    font-weight: 700;
    font-size: 110%;
    margin-bottom: 10px;
}
.wrapper {
    background-color: #492d14;
    padding: 60px 0;
    /* 上下に余白 */
}
h2 {
    font-size: 30px;
    text-align: center;
}
.wrapper h2 {
    font-size: 30px;
    color: #c7b299;
    margin-bottom: 40px;
    /* 見出しと写真の間の余白 */
}
/* ぶどうの横並びのコンテナ */
.grape-container {
    display: flex;
    justify-content: center;
    gap: 5%;
    /* 品種間の隙間 */
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
    /* 画面端との余白 */
}
/* 各ぶどう品種のブロック */
.grape-item {
    flex: 1;
    /* 幅を均等にする */
}
.grape-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.caption-title {
    font-family: "Sawarabi Gothic";
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #c7b299;
}
.caption {
    font-family: "Sawarabi Gothic";
    line-height: 1.6;
    font-size: 1em;
}
.lineup h3 {
    color: #9f8700;
    border: 1px solid #9f8700;
    text-align: center;
    margin: auto;
    font-size: 30px;
    padding: 10px;
    width: 600px;
    margin-top: 100px;
}
.lineup-flex {
    display: flex;
    justify-content: center;
    gap: 5%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 100px;
    padding: 0 5%;
}
.lineup-flex a img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.lineup-flex a:hover img {
    transform: scale(1.05);
    /* 1.05倍に拡大 */
    opacity: 0.8;
    /* 少し透明にして「反応した」ことを伝える */
}
#target-nagano, #target-hokkaido-hokuto {
    border-top: 15px solid #9f8700;
}
#target-nagano .map {
    width: 400px;
    margin-top: -150px;
    margin-left: 5%;
}
.bended h2 {
    font-size: 40px;
    background-color: #736357;
    padding: 5px;
    margin-bottom: 30px;
}
.bended p {
    text-align: center;
    font-size: 20px;
}
.bended .title {
    font-size: 30px;
    color: #9f8700;
    margin: 10px 0 10px 0;
}
.footer {
    background-image: url(/img/liquor/grandepolaire/back02.jpg);
    background-size: cover;
    text-align: center;
}
.footer .logo02 {
    width: 35%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 80px;
}
.footer .fuji_btn {
    width: 250px;
    margin: auto;
    margin-top: 20px;
    padding-bottom: 100px;
}
.fuji_btn a:hover img {
    transform: scale(1.05);
    /* 1.05倍に拡大 */
    opacity: 0.8;
    /* 少し透明にして「反応した」ことを伝える */
}
.grandepolaire-pagetop {
    width: 100px;
    /* 追従させるための設定 */
    position: fixed;      /* 画面に対して固定 */
    right: 30px;          /* 右端から30pxの余白 */
    bottom: 30px;         /* 下端から30pxの余白 */
    z-index: 999;         /* 最前面へ */
    /* ホバー時（パターン2を継承） */
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.grandepolaire-pagetop:hover {
    transform: scale(1.1); /* 少し大きくする */
    opacity: 0.8;
}
.sp-br {
    display: none;
    /* PCは改行しない */
}
/* トップイメージ画像sp表示しない */
.img-pc {
    display: block;
}
.img-sp {
    display: none;
}
/* ----------------------------------
スマートフォンここから
---------------------------------- */
@media screen and (max-width: 768px) {
/* トップイメージ画像pc表示しない */
.img-pc {
    display: none;
}
.img-sp {
    display: block;
}
.top-img-base{
    margin-top: 100px;
}
.top-img-overlay {
    position: absolute;
    top: 130px;
    right: 50px;
    width: 45%;
}
.anchor-btn__list {
    gap: 10px;
    margin-top: 8px;
    padding-bottom: 15px;
}
.anchor-btn__list img {
    width: 120px;
height: auto;
}
.top-text {
    padding-top: 10px;
    padding-bottom: 0px;
    height: 900px;     /* 段組みの高さ */
    margin: 0 auto;
    display: block;   /* 中央寄せを安定させます */
}
.top-text p {
    font-size: 14px;  /* スマホ用に少し小さく */
    column-count: 2;  /* ここで2段組を指定 */
    column-gap: 20px; /* 段と段の間の隙間 */
}
.anchor-btn h2 {
    font-size: 25px;
}
.main-text {
    font-size: 0.9em;
}
.wrapper {
    padding: 35px 0; /* 上下に余白 */
}
.wrapper h2 {
    font-size: 25px;
    margin-bottom: 20px;
}
.caption-title {
    font-size: 1em;
    margin-bottom: 10px;
}
#target-hokkaido .map, #target-hokkaido-hokuto .map {
    width: 350px;
}
#target-nagano .map {
    width: 200px;
}
#target-hokkaido h4, #target-nagano h4, #target-hokkaido-hokuto h4 {
    font-size: 30px;
    text-align: center;
    margin-top: -10px;
    margin-bottom: -10px;
}
.content-box .lead {
    font-size: 18px;
}
.bended h2 {
    font-size: 25px;
}
.bended p {
    font-size: 16px;
}
.bended .title {
    font-size: 28px;
}
    /* 縦並びに変更 */
    .content {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
        /* 中央揃え */
        gap: 30px;
        padding: 0 5%;
        /* 左右に5%の余白 */
    }
    .content .item {
        width: 100%;
        /* 横幅いっぱい */
    }
    /* 商品ラインナップ2列 */
    .lineup-flex {
        flex-wrap: wrap;
        /* 折り返しを許可 */
        gap: 80px 5%;
        /* 隙間を調整 */
    }
    .lineup-flex a {
        width: 40%;
        /* 2列にする（少し余白を残す） */
    }
    .lineup h3 {
        width: 80%;
        /* 見出しの幅もスマホ向けに調整 */
        font-size: 20px;
        margin-top: 70px;
    }
    /* スマホのみ改行する */
    .sp-br {
        display: inline;
    }
    .content-box {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 20px;
    }
.footer .logo02 {
    width: 80%;
    margin: auto;
    padding-top: 150px;
    padding-bottom: 50px;
}
.footer .fuji_btn {
    width: 200px;
    margin: auto;
    margin-top: 20px;
    padding-bottom: 150px;
}
.footer {
    background-image: url(/img/liquor/grandepolaire/back02sp.jpg);
}
/* ページトップ少し小さく、端に寄せる調整 */
    .grandepolaire-pagetop {
        width: 60px;      /* スマホでは少し小ぶりに */
        right: 15px;      /* 余白も少し狭く */
        bottom: 15px;
    }
}
