h1,h2,h3,p{
    letter-spacing: 0.06em;
}
h1.page_ttl{
    display: block;
    font-size: 10rem;
    color: var(--naby_blue);
    line-height: 1;
    font-weight: 800;
}
h1.page_ttl .jp_font{
    font-size: 2.4rem;
}


/* --------------------------------
    下層ページ共通パーツ
-------------------------------- */
/* スクロールしたら要素がふわっと出てくる */
.scroll_deray.firstview {
    transition: all 2s;
    /* transform: translateY(300px); */
}
.scroll_deray {
    opacity: 0;
    visibility: hidden;
    transition: all 4s;
    transform: translateY(300px);
}
.active {
    /*要素を表示させる*/
    opacity: 1;
    visibility: visible;
    /*元の位置に戻す*/
    transform: translateY(0);
}

.sub_page_ttl{
    position: relative;
}
.flower_image {
    position: absolute;
    z-index: 50;
}
.sub_flower_01{
    max-width: 70px;
    width: 100%;
    top: -10px;
    left: 140px;
}
.sub_flower_02{
    max-width: 118px;
    width: 100%;
    top: 42px;
    left: 0;
}
.sub_flower_03{
    max-width: 80px;
    width: 100%;
    bottom: 70px;
    right: 0;
}
.sub_flower_04{
    max-width: 84px;
    width: 100%;
    bottom: 0;
    right: 124px;
}

.sub_page_contents{
    max-width: 960px;
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sub_page_contents .text{
    max-width: 512px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.sub_page_contents img{
    max-width: 392px;
    width: 100%;
}

.sub_page_mainvisual{
    width: 100vw;
    position: relative;
}
.sub_page_logo{
    max-width: 225px;
    width: 100%;
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 60;
}
h1.page_ttl{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, 50%);
    color: var(--white);
    font-size: 4rem;
    font-weight: 400;
}

/* --------------------------------
    神社ページ
-------------------------------- */
.sub_page_wrapper.shrine_page{
    background-color: #1A1D52;
    /* padding: 50px 0; */
}
.sub_page_contents.shrine_page{
    margin: 0 auto;
    flex-direction: column;
    max-width: 100%;
}
.shrine_intro{
    color: #D4D5E8;
    width: 100%;
    text-align: center;
    padding: 92px 0;
}
.shrine_intro p{
    line-height: 2;
    padding: 0 0 30px;
    font-size: 2rem;
}

.source{
    width: 100%;
}
.source_contents{
    flex-direction: column;
    width: 50%;
    /* padding: 0 2em; */
    min-height: 434px;
    justify-content: center;
    justify-content: space-evenly;
}
.source_contents .content_box{
    max-width: 404px;
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
}
.source_contents h3{
    padding: 0 0 30px;
}
.konohana h3{
    flex-direction: column;
    justify-content: center;
}
.furigana{
    font-size: 1.4rem;
}
.source_contents h3,
.source_contents p{
    color: var(--white);
}
.source_contents p{
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 1.8;
}
.source_contents.hongu{
    background-image: url(https://kushiro-yuisai.com/ksry/wp-content/uploads/2025/07/hongu_bgi.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.source_contents.konohana{
    background-image: url(https://kushiro-yuisai.com/ksry/wp-content/uploads/2025/07/konohana_bgi.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.source_text{
    align-items: flex-start;
    flex-direction: column;
}
.source_text a{
    color: var(--menu_bgc_pink);
    width: 100%;
    margin: 12px 0 0;
}
.source_text a span{
    border-bottom: 1px solid var(--menu_bgc_pink);
}
.source_text a img{
    max-width: 18px;
    width: 100%;
    margin: 0 10px 0 0;
}

.float_box_relative{
    width: 100%;
    position: relative;
}
.explain.shrine{
    max-width: 714px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto 98px;
    padding: 124px 0 0;
}
.explain.shrine .vertical{
    color: #CFA775;
    writing-mode: vertical-rl;
    letter-spacing: 0.22em;
    font-weight: 400;
    padding: 10px 0 0 0;
}
.explain.shrine .explain_text{
    padding: 0 .6em 0 0;
    flex-direction: column;
    color: #D4D5E8;
    max-width: 568px;
    width: 100%;
}
.explain.shrine .explain_text p{
    line-height: 2.2;
    padding: 0 0 1em;
    font-weight: 300;
}
.crest{
    position: absolute;
    top: 0;
    left: 0;
    max-width: 592px;
    width: 100%;
}
.sv_flower_01{
    max-width: 164px;
    width: 100%;
    top: -40px;
    right: 82px;
}
.sv_flower_02{
    max-width: 146px;
    width: 100%;
    top: 64%;
    left: 0;
}
.sv_flower_03{
    max-width: 88px;
    width: 100%;
    top: 80%;
    left: 160px;
}

.overview.shrine{
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 140px;
}
.overview.shrine table{
    width: 100%;
}
.overview.shrine th,
.overview.shrine td{
    padding: 16px 0 16px 16px;
    border-bottom: 1px solid #D4D5E8;
    color: #D4D5E8;
}
.overview.shrine th{
    background-color: #252660;
    width: 20%;
    font-weight: 400;
    text-align: left;
}
.overview.shrine th:nth-child(1){
    border-top: 1px solid #D4D5E8;
}
.overview.shrine td{
    width: 80%;
    font-weight: 300;
}
.overview.shrine td:nth-of-type(1){
    border-top: 1px solid #D4D5E8;
}

/* 神社ページのfooterデザイン */
.footer-ryusaikushiro{
    background-color: #111440;
    color: #B2B3D2;
}
.footer-ryusaikushiro .policy_link{
    border-bottom: 1px solid #B2B3D2;
    line-height: 1.2;
    color: #B2B3D2;
}
.footer-ryusaikushiro .copyright {
    color: #B2B3D2;
}

/* --------------------------------
    プライバシーポリシーページ
-------------------------------- */
.polisy_wrapper{
    max-width: 1000px;
    width: 100%;
    margin: 60px auto;
    padding: 0 1em;
}
.polisy_wrapper h1{
    font-size: 4rem;
    padding: 0 0 40px;
    position: unset;
    transform: unset;
    color: var(--black);
    font-weight: bold;
}
.polisy_wrapper .contents{
    width: 100%;
    margin: 1em auto;
}
.polisy_wrapper .contents h3{
    padding: 0 0 10px;
    letter-spacing: 0.08em;
}
.polisy_wrapper .contents {
    line-height: 1.8;
    letter-spacing: 0.08em;
}


@media screen and (max-width: 1024px) {
    .float_flower_pc.pc_only{
        display: none;
    }
    .float_flower_sp.sp_only {
        display: block;
    }
    .sub_page_logo {
        max-width: 188px;
        top: 10px;
        left: 14px;
    }

    /* 神社ページ */
    .sub_flower_01 {
        max-width: 120px;
        width: 100%;
        top: 50%;
        left: auto;
        right: 0;
    }
    .sub_flower_02 {
        max-width: 116px;
        width: 100%;
        top: auto;
        bottom: -50px;
        left: 0;
    }
    .shrine_intro p {
        font-size: 1.6rem;
    }
    .source {
        position: relative;
    }
    .source_contents .content_box {
        padding: 0 .5em;
    }
    .source_contents h3{
        font-size: 2.6rem;
    }
    .source_contents p {
        font-size: 1.4rem;
    }
    .sv_flower_01 {
        max-width: 84px;
        width: 100%;
        top: -40px;
        right: 0;
    }
    .sv_flower_02 {
        max-width: 84px;
        width: 100%;
        top: auto;
        left: auto;
        bottom: 0;
        right: 0;
    }
    .explain.shrine .vertical {
        padding: 10px 10px 0 0;
    }
    .overview.shrine{
        position: relative;
    }
    .sv_flower_03 {
        max-width: 88px;
        width: 100%;
        top: auto;
        bottom: -30px;
        left: 10px;
    }
    .sv_flower_04{
        max-width: 88px;
        width: 100%;
        bottom: -40px;
        right: 0;
    }
}

@media screen and (max-width: 768px) {
    .sub_page_mainvisual.pc_only{
        display: none;
    }
    .sub_page_mainvisual.sp_only{
        display: block;
    }
    h1.page_ttl {
        font-size: 2.6rem;
        width: 100%;
        text-align: center;
    }

    /* 神社ページ */
    .sub_flower_01 {
        max-width: 62px;
    }
    .shrine_intro {
        padding: 92px 32px 0;
    }
    .source {
        flex-direction: column;
        position: relative;
    }
    .source_contents {
        width: 90%;
        margin: 0 0 20px;
    }
    .source_contents.konohana {
        margin: 0;
    }
    .explain.shrine {
        padding: 60px 30px 0;
    }
    .crest.pc_only{
        display: none;
    }
    .crest.sp_only{
        display: block;
    }

    /* プライバシーポリシーページ */
    .polisy_wrapper{
        margin: 100px auto;
    }
}
@media screen and (max-width: 440px) {
    .sub_page_logo {
        max-width: 94px;
    }

    /* 神社ページ */
    .explain.shrine {
        padding: 0 30px;
        margin: 44px auto 34px;
    }
    .source_contents .content_box {
        padding: 0 2em;
    }
    .explain.shrine .explain_text {
        padding: 0;
    }
    .overview.shrine{
        padding: 0 0 54px;
    }
    .overview.shrine tr{
        display: flex;
        flex-direction: column;
    }
    .overview.shrine th,
    .overview.shrine td{
        width: 100%;
        border: none;
    }
    .overview.shrine th:nth-child(1) {
        border-top: none;
    }
    .overview.shrine td:nth-of-type(1) {
        border-top: none;
    }

    /* プライバシーポリシーページ */
    .polisy_wrapper h1{
        font-size: 3rem;
    }
    .polisy_wrapper .contents h3 {
        font-size: 2.4rem;
    }
}