@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');


@font-face {
    font-family: "Shippori_Antique";
    src: url("../fonts/Shippori_Antique/ShipporiAntique-Regular.ttf") format(truetype) tech(variations);
}

/* 全体のスタイル */
* {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.container {
    width: 100%;
    margin: 0 auto;
}

section {
    max-width: 1400px;
    margin: 0 auto;
}



/* 右固定メニュー */

.sideFixedBlock {
    display: none;
}

@media screen and (min-width: 767px) {
    .sideFixedBlock {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 30%;
        right: 40px;
        z-index: 1;
    }

    .sideFixedBlock a {
        writing-mode: vertical-lr;
        text-decoration: none;
        color: #666666;
        transition: .3s;
    }

    .sideFixedBlock a:hover {
        opacity: 0.7;
        transition: .3s;
    }

    .sideFixedBlock .link {
        margin-bottom: 40px;
        font-size: 1.3rem;
        color: #666666;

    }

    .sideFixedBlock .mark-slash {
        position: relative;
    }

    .sideFixedBlock .mark-slash::after {
        content: "／";
        writing-mode: initial;
        position: absolute;
        bottom: -30px;
        left: 2px;
    }
}

header {
    padding-top: 70px;
    padding-bottom: 1em;
    padding-left: 4%;
}

/* メインビジュアル */
.mainvisual {
    position: relative;
    width: 100%;
    height: 491px;
    overflow: hidden;
}

.mainvisual::before {
    content: '';
    background-color: rgba(238, 238, 238, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.mainvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

h2 {
    position: absolute;
    left: 21vw;
    bottom: 5vw;
    color: #fff;
    font-weight: normal;
    font-size: 2.5vh;
    text-shadow: gray 1px 0 10px;
}

.catch {
    position: absolute;
    top: 5vw;
    right: 15vw;
    color: #fff;
    font-weight: normal;
    font-size: 3rem;
    text-shadow: gray 1px 0 10px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.world_map img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

/* sec01 */
.sec01 {
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    margin: 5vh;
}

.sec01-ttl {
    font-size: 2vh;
    line-height: 30px;
}

.sec01-ttl span {
    color: #f58022;
}

.text01 {
    margin-top: 5vh;
}

.text01 p {
    line-height: 30px;
    margin-top: 2vh;
}

.num {
    -ms-text-combine-horizontal: all;
    -webkit-text-combine: horizontal;
    text-combine-upright: all;
    line-height: 1;
    vertical-align: baseline;
}

/* sec02・sec03・sec04 共通 */
.sec02, .sec03, .sec04 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* max-width: 1200px; */
    margin: 10% auto;
    box-sizing: border-box;
    position: relative;
    padding: 0 40px;
}

.sec02::before,
.sec03::before,
.sec04::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 35px;
    width: 60px;
    height: 1px;
    background-color: #c08e7b;
}

.sec02 .country01,
.sec03 .country01,
.sec04 .country01 {
    width: 30%;
    line-height: 2.3;
    padding-left: 80px;
    box-sizing: border-box;
}

.sec02 .country01 h3.sec-ttl,
.sec03 .country01 h3.sec-ttl,
.sec04 .country01 h3.sec-ttl {
    font-size: 5rem;
    font-weight: 700;
}

.sec02 .country01 p,
.sec03 .country01 p,
.sec04 .country01 p {
    font-size: 1.6rem;
}

.right-content {
    width: 720px;
    /* flex-shrink: 1; */
    /* display: flex; */
    flex-direction: column;
    align-items: flex-end;
}

.right-img {
    /* display: inline-block; */
    position: relative;
    margin-right: 0;
    text-align: right;
    width: 720px;
}

.box1 {
    width: 270px;
    height: 250px;
    margin-top: 5%;
    margin-left: 18%;
}

.img01 {
    width: 400px;
    margin-top: -30%;
    margin-right: 17%;

}

.box2 {
    width: 230px;
    height: 110px;
    margin-top: -10%;
    margin-left: 68%;
}

.img02 {
    width: 280px;
    margin-top: -12%;
    margin-right: 61%;
}

.img03 {
    width: 240px;
    margin-top: -26.5%;
    margin-right: 2%;
}

.sec02 .country02,
.sec03 .country02,
.sec04 .country02 {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.sec02 .country02 p,
.sec03 .country02 p,
.sec04 .country02 p {
    font-family: "Helvetica",sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    margin-top: 5%;
}

.sec02 .country02 p.en-ttl,
.sec03 .country02 p.en-ttl {
    font-family: 'Helvetica', 'Arial Narrow', Arial, sans-serif;
    font-size: 10rem;
    font-weight: bold;
    position: relative;
}

.sec04 .country02 p.en-ttl {
    font-family: 'Helvetica', 'Arial Narrow', Arial, sans-serif;
    font-size: 7rem;
    position: relative;
}

.sec02 .country02 p.en-ttl::before,
.sec03 .country02 p.en-ttl::before,
.sec04 .country02 p.en-ttl::before {
    content: "";
    position: absolute;
    right: calc(100% + 20px);
    top: 60%;
    width: 850px;
    height: 1px;
    background-color: currentColor;
}



/* sec02 */
.sec02 .box1,.sec02 .box2 {
    background-color: #DF489A;
}

.sec02 .country02 p {
    font-weight: 300;
    color: #DF489A;
}

/* sec03 */
.sec03 .box1,.sec03 .box2 {
    background-color: #B7B841;
}

.sec03 .country02 p {
    font-weight: 300;
    color: #B7B841;
}

/* sec04 */
.sec04 .box1,.sec04 .box2 {
    background-color: #52AAFC;
}

.sec04 .country02 p {
    font-weight: 300;
    color: #52AAFC;
}

/* sec05 */
/* --- sec05 セクション全体 --- */
.sec05 {
    width: 100%;
    max-width: none; /* 共通の1400px制限を解除して画面端まで広げる */
    margin-top: 10%;
}

.btm-box {
    position: relative; /* 子要素（地図・テキスト）を浮かせる基準 */
    width: 100%;
    overflow: hidden;
}

/* 1. 土台：たまごボーロ画像（中心から切り抜き） */
.bg-bolo {
    width: 100%;
    height: 80vh; /* メインビジュアルと同じ高さ */
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* 2. 世界地図画像（上基準で切り抜き、下をカット） */
.bg-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -10%; /* 上端を基準にして、下側を切り抜く */
    z-index: 0;
    pointer-events: none; /* テキストの選択を邪魔しないように（任意） */
    background-color: rgba(238, 238, 238, 0.2); /* メインビジュアルと同じ薄いグレーの幕 */
    opacity: 0.5;
    mix-blend-mode: hard-light;
}

/* 3. テキストエリア（一番上に表示） */
.btm-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2; /* 地図(1)よりも上にする */
}

.btm-text p {
    text-align: center;
    font-size: 3.5rem;
    line-height: 1.6;
    color: #666;
    font-family: "Shippori Mincho", serif;
    letter-spacing: 0.1em;
    font-weight: 500;
    /* padding: 0 20px; */
}

/* .sec05 img {
    width: 100%;
    display: block;
    margin: 0 auto;
} */
/* ########### 599px以下 ########### */
@media (max-width: 599px) {
    .bg-bolo {
        height: 200px; /* メインビジュアルと同じ高さ */
    }
    .bg-map {
        object-position: center -10%; /* 上端を基準にして、下側を切り抜く */
    }
    .btm-text p {
        font-size: 1.7rem;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .bg-bolo {
        height: 300px;
    }
    .btm-text p {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 929px) {
    .bg-bolo {
        height: 350px; /* メインビジュアルと同じ高さ */
    }
    .btm-text p {
        font-size: 2.5rem;
    }
}

@media (min-width: 930px) and (max-width: 1200px) {
    .bg-bolo {
        height: 450px; /* メインビジュアルと同じ高さ */
    }
    .bg-map {
        object-position: center -10%; /* 上端を基準にして、下側を切り抜く */
    }
}






/* ########### 599px以下 ########### */
@media (max-width: 599px) {
    .sec02::before,
    .sec03::before,
    .sec04::before {
        content: "";
        position: absolute;
        left: 20px;
        top: 35px;
        width: 25px;
        height: 1px;
        background-color: #c08e7b;
    }

    /* 1. 親要素：中央揃えを維持 */
    .sec02, .sec03, .sec04 {
        flex-direction: column;
        align-items: center; 
        padding: 0 15px; /* 左右の余白を少し狭める */
    }

    /* 2. 国名エリア：左揃えを維持しつつ、幅をスマホに最適化 */
    .sec02 .country01, .sec03 .country01, .sec04 .country01 {
        width: 100%;
        margin-bottom: 20px;
        text-align: left;
        padding-left: 40px;
    }

    .sec02 .country01 h3.sec-ttl,
    .sec03 .country01 h3.sec-ttl,
    .sec04 .country01 h3.sec-ttl {
        font-size: 2.8rem; /* 文字を少し小さく */
    }

    /* 3. 画像エリア：中央に配置される「箱」 */
    .right-content {
        width: 100%;
        max-width: 340px; 
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* 内部は左揃え */
    }

    .right-img {
        /* タブレット(0.75)よりさらに縮小してスマホ幅に収める */
        zoom: 0.46; 
        width: 720px;
        transform-origin: left top;
    }

    /* 4. 重なり設定：タブレットで調整した「黄金比」をそのまま継承 */
    .box1 {
        margin-top: 0;
        margin-left: 23%;
    }
    .img01 {
        margin-top: -27%;
        margin-right: 17%;
    }
    .box2 {
        margin-top: -10%;
        margin-left: 68%;
    }
    .img02 {
        margin-top: -10%;
        margin-right: 58%;
    }
    .img03 {
        margin-top: -24.5%;
        margin-right: 4%;
    }

    /* 5. 英語タイトル：スマホ用にサイズダウン */
    .sec02 .country02 p.en-ttl,
    .sec03 .country02 p.en-ttl {
        font-size: 4.5rem;
    }
    .sec04 .country02 p.en-ttl {
        font-size: 3.2rem;
    }

    /* 背景の線をスマホでは短くするか非表示にする */
    .sec02 .country02 p.en-ttl::before,
    .sec03 .country02 p.en-ttl::before,
    .sec04 .country02 p.en-ttl::before {
        display: none;
    }
}



/* ########### 600px以上～768px以下 ########### */
@media (min-width: 600px) and (max-width: 768px) {
    /* 1. 親要素：中身を中央に寄せる（縦積み） */
    .sec02, .sec03, .sec04 {
        flex-direction: column;
        align-items: center; 
        padding: 0 20px;
    }

    /* 2. 国名エリア：幅を画像と合わせ、左揃えを維持 */
    .sec02 .country01, .sec03 .country01, .sec04 .country01 {
        width: 100%;
        /* max-width: 540px; zoom:0.75の画像サイズに合わせる */
        margin-bottom: 30px;
    }

    /* 3. 画像エリア：中央に配置される「箱」にする */
    .right-content {
        width: 100%;
        /* max-width: 540px; 上のテキストと幅を合わせる */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* 内部の画像は左揃え（重なり維持） */
    }

    .right-img {
        zoom: 0.7;
        width: 720px;
        transform-origin: left top;
        margin: 0 auto;
    }

    .box1 {
        margin-top: 0;
        margin-left: 23%;
    }
    
    .img01 {
        margin-top: -27%;
        margin-right: 17%;
    
    }
    
    .box2 {
        margin-top: -10%;
        margin-left: 68%;
    }
    
    .img02 {
        margin-top: -10%;
        margin-right: 58%;
    }
    
    .img03 {
        margin-top: -24.5%;
        margin-right: 4%;
    }

    /* 英語タイトル（Asia等）の下の線などの位置を左に固定 */
    .sec02 .country02, .sec03 .country02, .sec04 .country02 {
        justify-content: flex-start;
        width: 100%;
    }
}



/* ########### 769px以上 ########### */
@media (min-width: 769px) {
    /* sec01 */
    .sec01 {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        flex-direction: column;
        justify-content: space-around;
        height: 47vh;
        margin: 10vh auto;
    }

    .text01 {
        margin-top: 0;
    }

    .text01 p {
        margin: 0 4vw 0 0;
    }
}



/* ########### 1000px以上 ########### */
@media (min-width: 1000px) {}

@media (min-width: 769px) and (max-width: 929px) {
    .sec02 .country01 h3.sec-ttl,
    .sec03 .country01 h3.sec-ttl,
    .sec04 .country01 h3.sec-ttl {
        font-size: 2rem; /* ちょうど良いサイズ感 */
    }
}

@media (min-width: 930px) and (max-width: 1200px) {
    .sec02 .country01 h3.sec-ttl,
    .sec03 .country01 h3.sec-ttl,
    .sec04 .country01 h3.sec-ttl {
        font-size: 3.3rem; /* ちょうど良いサイズ感 */
    }
}

/* ########### 769px以上 〜 1050px以下 ########### */
@media (min-width: 769px) and (max-width: 1200px) {
    .sec02::before,
    .sec03::before,
    .sec04::before {
        content: "";
        position: absolute;
        left: 20px;
        top: 35px;
        width: 40px;
        height: 1px;
        background-color: #c08e7b;
    }

    .sec02 .country01,
    .sec03 .country01,
    .sec04 .country01 {
        width: 31%;
        line-height: 2.3;
        box-sizing: border-box;
        padding-left: 40px;
    }

    /* --- 1. 画像エリアを 0.75倍に縮小 --- */
    .right-img {
        zoom: 0.75;
        transform-origin: right top;
        /* zoomの影響で下に余白が空きすぎる場合は、ここで調整可能です */
        margin-bottom: -20px; 
    }

    /* --- 2. 親要素（右側の箱）の幅を調整 --- */
    .right-content {
        /* 720px * 0.75 = 540px なので、少し余裕を持たせて設定 */
        width: 580px; 
        padding-right: 20px;
    }

    /* --- 3. テキストサイズの微調整 --- */

    .sec02 .country01 p, 
    .sec03 .country01 p,
    .sec04 .country01 p {
        font-size: 1.5rem;
    }

    .sec02 .country02 p.en-ttl,
    .sec03 .country02 p.en-ttl {
        font-size: 6.5rem; 
    }

    .sec04 .country02 p.en-ttl {
        font-size: 4.8rem;
    }

    /* --- 4. 背景の線の長さを調整 --- */
    /* 画像エリアが狭まった分、線が左に飛び出さないように短くします */
    .sec02 .country02 p.en-ttl::before,
    .sec03 .country02 p.en-ttl::before,
    .sec04 .country02 p.en-ttl::before {
        width: 400px; 
    }
}