@charset "UTF-8";

/* 設定 */
:root {
    --scrollbar: 0;

    --prussianblue: #37395E;
    --steelblue: #608DB7;
    --lightblue: #92C7DE;
    --white: #ffffff;
    --bglightgray: #F7F7F7;
    --lightgray: #F5F5F5;
    --bluegray: #B9C7D2;
    --textcolor: #737F8B;
    --gold: #F0C350;
    --stronglinecolor: #FAD984;
    --linkhovercolor: #92C7DE;

    --entitlefont: playfair-display, serif;
    --jptitlefont: YakuHanMP,'Noto Serif JP','ヒラギノ明朝 ProN','Hiragino Mincho ProN','Yu Mincho Light','YuMincho','Yu Mincho','游明朝体',serif;
    --textfont: YakuHanJP,'IBM Plex Sans JP','Noto Sans JP','Roboto','Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
    --YHnukifont: 'IBM Plex Sans JP','Noto Sans JP','Roboto','Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;

    --footerfontsize: 0.875rem;
    --footerlineheight: 1.29;
    --footerblockbetween: 12px;

    --dropshadowsetting: 0 6px 10px rgba(185,199,210,.65);
    --dropshadowsetting2: 0 6px 10px rgba(117, 126, 133, 0.65);
}

/* 共通部分 */

html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--textfont);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--textcolor);
    background-color: var(--white);
    width: 100%;
    height: 100%;
}
main {
    height: 100%;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
}
a {
    text-decoration: none;
    color: var(--textcolor);
}
a:hover {
    color: var(--linkhovercolor);
}
img {
    max-width: 100%;
    margin: 0;
    vertical-align: bottom;
}
ul li {
    list-style-type: none;
}

h1 {
    font-family: var(--jptitlefont);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--prussianblue);
    text-align: center;
    line-height: 1.11;
    margin-bottom: 60px;
}
h1.en {
    font-family: var(--entitlefont);
    font-weight: 400;
}
h2 {
    font-family: var(--jptitlefont);
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--prussianblue);
    line-height: 1.2;
    margin-bottom: 60px;
}
h3 {
    font-family: var(--textfont);
    font-size: 1rem;
    font-weight: 700;
    color: var(--textcolor);
    line-height: 1.5;
    margin-bottom: 17px;
}

.wrapper {
    max-width: 1030px;
    margin: 0 auto;
    padding-inline: 15px;
}
.twocolumn {
    display: flex;
    justify-content: space-between;
}
.twoframe {
    width: calc( 50% - 20px );
}


.sectionwhite{
    padding-top: 200px;
    padding-bottom: 200px;
}
.sectionglay {
    background-color: var(--bglightgray);
    padding-top: 160px;
    padding-bottom: 370px;
    background-image: url(../images/btmcut-whitecat01.svg);
    background-size: 550px 314px;
    background-repeat: no-repeat;
    background-position: right 15px bottom 0;
}
.sectionglay2 {
    background-color: var(--bglightgray);
    padding-top: 160px;
    padding-bottom: 200px;
    background-image: url(../images/btmcut-smallcat01.svg);
    background-size: 209px 122.4px;
    background-repeat: no-repeat;
    background-position: left 123px bottom -3px;
}
.topsection {
    padding-top: 60px;
    width: 100%;
}

/* 共通部分- margin */
.mt100 {
    margin-top: 100px;
}
.mt200 {
    margin-top: 200px;
}
.mt-m {
    margin-top: 60px;
}
.mt-s {
    margin-top: 30px;
}
.mt0 {
    margin-top: 0;
}
.mt-l {
    margin-top: 80px;
}
.mt-xl {
    margin-top: 140px;
}
.pb200 {
    padding-bottom: 200px;
}
.pt-l {
    padding-top: 160px;
}
.pt100 {
    padding-top: 100px;
}
.ls {
    letter-spacing: 0.2px;
}
.lsw {
    letter-spacing: 0.1rem;
}
.liw {
    line-height: 1.7;
}
.lis {
    line-height: 1.55;
}
.reverserow {
    flex-direction: row-reverse;
}
.jsc-end {
    justify-content: flex-end;
}
.minline-a {
    margin-inline: auto;
}
.tar {
    text-align: right;
}
.tac {
    text-align: center;
}
.liwlist li {
    line-height: 1.7;
}

/* ラインマーカー */
.linemarker {
    text-underline-offset: -1px;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-decoration-color:  var(--stronglinecolor);
    text-decoration-skip-ink: none;
}


/* header
----------------------------- */
header {
    background-color: var(--lightgray);
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 8;
}
.logo{
    width: 80px;
    height: 60px;
    fill: currentColor;
}
a:hover .logo {
    color: var(--linkhovercolor);
}
header a, .menua {
    color: var(--textcolor);
}
header a:hover, .menua:hover {
    color: var(--linkhovercolor);
}

header h1 {
    font-size: 1rem;
}
header h1 ul {
    display: flex;
    align-items: center;
}
    /* スライドメニュー部分 */
    .btn-menu {
        display: block;
        position: absolute;
        top: 31px;
        left: 25px;
        color: var(--textcolor);
        z-index: 10;
    }
    .menutext {
        font-size: 14px;
        line-height: 18px;
        display: block;
        position: absolute;
        margin-left: 12px;
        top: 33px;
        left: 45px;
        z-index: 10;
    }
    .main-nav {
        font-family: var(--textfont);
        font-weight: 400;
        color: var(--textcolor);
        background-color: var(--white);
        width: 0;
        height: 100vh;
        position: absolute;
        z-index: 9;
        top: 0;
        left: 0;
        overflow: hidden;
        padding-top: 110px;
        font-size: 16px;
        letter-spacing: 0.3px;
        border-right: solid 1px var(--lightgray);
        filter: drop-shadow(var(--dropshadowsetting));
        transform: translateZ(0);
        transition: .5s;
    }
    .main-nav li{
        width: 400px;
        margin-left: 18%;
        margin-top: 40px;
    }
    .main-nav li:first-child {
        margin-top: 0;
    }
    .main-nav a {
        display: block;
        color: var(--textcolor);
    }
    .main-nav2 li{
        margin-left: 20px;
        margin-top: 30px;
    }
    .main-nav2 li:first-child {
        margin-top: 30px;
    }
    .main-nav.open-menu, .main-nav.active {
        width: 500px;
    }


    .fa-bars {
        font-size: 18px;
    }
    .fa-xmark {
        font-size: 18px;
    }
    .dbmt30 {
        display: block;
        padding-top: 30px;
    }
    .navaspan {
        display: inline-block;
        width: 12px;
    }
    .titlespan {
        display: inline-block;
        width: 2rem;
    }



/* footer
----------------------------- */
    footer {
        width: 100%;
    }
    .footerlinkcontainer {
        border-top: solid 1px var(--bluegray);
        border-bottom: solid 1px var(--bluegray);
        padding-top: 30px;
        padding-bottom: 90px;
        display: grid;
        gap: 40px;
        grid-template-columns: 3fr 4fr 3fr;
        padding-inline: 50px;
    }
    /* .footerlinkbox {
        width: calc( ( 100% -80px ) / 3 );
    } */
    .footer-nav, .footer-nav2 {
        font-size: var(--footerfontsize);
        line-height: var(--footerlineheight);
    }
    .footer-nav li, .footer-nav2 li {
        margin-bottom: var(--footerblockbetween);
    }
    .footer-nav2 li {
        margin-left: var(--footerfontsize);
    } 
    .footerlinkbox p {
        font-size: var(--footerfontsize);
        margin-bottom: var(--footerblockbetween);
    }
    .copy {
        font-size: 12px;
        line-height: var(--footerlineheight);
        margin-top: 5px;
        margin-inline: 15px;
        text-align: right;
    }
    .footerlogo {
        text-align: center;
        padding-top: 60px;
        padding-bottom: 84px;
    }
    .footerlogo img {
        width: 80px;
        height: 60px;
    }

    /* pagetop button */
    #page-top {
        position: fixed;
        right: 30px;
        z-index: 7;
        opacity: 0;
        transform: translateY(100px);
    }

    #page-top a{
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--white);
        border-radius: 50%;
        border: 1px solid var(--steelblue);
        width: 80px;
        height: 80px;
        text-align: center;
        transition:all 0.3s;
      }
    #page-top a:hover {
        background-color: var(--lightblue);
        border: 1px solid var(--white);
    }
    .fa-angle-up {
        font-size: 48px;
    }
    .footerbuttona {
        color: var(--steelblue);
    }
    #page-top a:hover .footerbuttona {
        color: var(--white);
        transition:all 0.3s;
    }
  
        /*　上に上がる動き　*/
        
        #page-top.UpMove{
            animation: UpAnime 0.5s forwards;
        }
        @keyframes UpAnime{
            from {
            opacity: 0;
            transform: translateY(100px);
            }
            to {
            opacity: 1;
            transform: translateY(0);
            }
        }
        
        /*　下に下がる動き　*/
        
        #page-top.DownMove{
            animation: DownAnime 0.5s forwards;
        }
        @keyframes DownAnime{
            from {
            opacity: 1;
            transform: translateY(0);
            }
            to {
            opacity: 1;
            transform: translateY(100px);
            }
        }












/* --------------------------------------------------- 
        タブレット対応
------------------------------------------------------*/
@media (min-width: 701px) and (max-width: 1030px) {

    
.twocolumn {
    display: block;
}
.twoframe {
    width: 100%;
    margin-top: 60px;
}
.twoframe:first-child {
    margin-top: 0;
}

.sectionwhite{
    padding-top: 100px;
    padding-bottom: 100px;
}
.sectionglay {
    background-color: var(--bglightgray);
    padding-top: 60px;
    padding-bottom: 170px;
    background-size: 209px 122.4px;
    background-position: right 15px bottom -3px;
}
.sectionglay2 {
    background-color: var(--bglightgray);
    padding-top: 60px;
    padding-bottom: 170px;
    background-image: url(../images/btmcut-smallcat01.svg);
    background-size: 209px 122.4px;
    background-repeat: no-repeat;
    background-position: left 15px bottom -3px;
}

.reverserow {
    flex-direction: row;
}
.phonemt0 {
    margin-top: 30px;
}
.phonemt100 {
    margin-top: 100px;
}


.main-nav.open-menu, .main-nav.active {
    width: 100%;
}

/* footer  */
.footerlinkcontainer {
    padding-top: 30px;
    padding-bottom: 90px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(1, 100%);
    padding-inline: 50px;
}



}



/* --------------------------------------------------- 
        スマートフォン対応
------------------------------------------------------*/
@media (max-width: 700px) {
.nophone {
    display: none;
}

/* 共通 */
h1 {
    font-size: 1.5rem;
    line-height: 1.11;
    /* margin-bottom: 60px; */
}
h2 {
    font-size: 1.25rem;
}

.twocolumn {
    display: block;
}
.twoframe {
    width: 100%;
    margin-top: 60px;
}
.twoframe:first-child {
    margin-top: 0;
}
.sectionwhite{
    padding-top: 100px;
    padding-bottom: 100px;
}
.sectionglay {
    background-color: var(--bglightgray);
    padding-top: 60px;
    padding-bottom: 170px;
    background-size: 209px 122.4px;
    background-position: right 15px bottom -3px;
}
.sectionglay2 {
    background-color: var(--bglightgray);
    padding-top: 60px;
    padding-bottom: 170px;
    background-image: url(../images/btmcut-smallcat01.svg);
    background-size: 209px 122.4px;
    background-repeat: no-repeat;
    background-position: left 15px bottom -3px;
}

.reverserow {
    flex-direction: row;
}
.phonemt0 {
    margin-top: 0;
}
.phonemt100 {
    margin-top: 100px;
}



/* header  */
header {
    background-color: var(--lightgray);
    height: 60px;
    align-items: flex-start;
    padding-top: 5px;
}
.btn-menu {
    top: 18px;
    left: 25px;
}
.menutext {
    margin-left: 0px;
    top: 0px;
    left: 0px;
}
.main-nav li{
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}
.main-nav2 li{
    margin-left: 20px;
    width: 290px;
}
.main-nav.open-menu, .main-nav.active {
    width: 100%;
}

/* footer  */
.footerlinkcontainer {
    padding-top: 30px;
    padding-bottom: 90px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(1, 100%);
    padding-inline: 50px;
}
.copy {
    text-align: center;
}
.footerlogo {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 54px;
}





}