@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  color: #131313;
  background-color: #FDF9F4;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
p,
div {
    line-height: 1.65em;
    text-align: justify;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
a {
  color: #131313;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* 共通設定 ------------------------------- */
.pc{
    display: block;
}
.tb{
    display: none;
}
.sp{
    display: none;
}

/* ページタイトルここから */
#page-title{
    width: 100%;
    height: 300px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-bottom: 70px;
    position: relative;
}
#page-title::after{
    content: "";
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center left;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
}
#page-title .text-wrap{
    width: 65%;
    max-width: 585px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

#page-title .text-wrap h1{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 600;
    color: #154783;
    letter-spacing: 0.08em;
    line-height: 1.3em;
    margin-bottom: 40px;
}
#page-title .text-wrap h1 > .small{
    font-size: 32px;
}
#page-title .text-wrap .introduction-m{
    width: 70%;
    min-width: 523px;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}
#page-title .text-wrap .introduction-s{
    width: 70%;
    min-width: 523px;
}

/* ページタイトルのフェードイン時間差 */
#page-title .text-wrap > h1{
    transition-delay: 0s;
}
#page-title .text-wrap .introduction-m,
#page-title .text-wrap .introduction-s{
    transition-delay: 0.5s;
}

/* 文字設定 */
h2{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 28px;
    font-weight: 600;
    color: #154783;
    line-height: 1.3em;
}
h2 > .small{
    font-size: 24px;
}
h3{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-weight: 600;
    color: #154783;
    line-height: 1.3em;
}
h3 > .small{
    font-size: 18px;
}

/* カードデザイン */
.card{
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #D2B07B;
    box-shadow: 0 4px 10px 5px #F2ECE0;
}

/* ヘッダー分の余白 */
main{
    padding-top: 130px;
}

/* フェードイン */
.fadein{
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s;
}
.fadein.inview{
    opacity: 1;
    transform: translateY(0);
}

/* maintenance --------------------------- */
.maintenance{
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.maintenance > h1{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 28px;
    font-weight: 600;
    color: #154783;
    line-height: 1.3em;
    margin-bottom: 20px;
}


/* header -------------------------------- */
#header{
    width: 100%;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FDF9F4;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

#header .nav-upper{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 20px 0;
}
#header .nav-upper .logo{
    width: 230px;
    height: 50px;
    line-height: 0;
}
#header .nav-upper .logo a{
    display: block;
    width: 100%;
}
#header .nav-upper .logo a .main-logo{
    width: 100%;
    height: 100%;
}
/* お問い合わせボタン */
#header .nav-upper .btn-mail{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 48px;
    color: #fff;
    font-size: 15px;
    background-color: #154783;
    border: 1px solid #154783;
    border-radius: 3px;
    position: relative;
}
#header .nav-upper .btn-mail::before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/icon-mail_white.png);
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}
#header .nav-upper .btn-mail span{
    transform: translateY(-1px);
}
#header .nav-upper .btn-mail:hover{
    color: #154783;
    background-color: #fff;
}
#header .nav-upper .btn-mail:hover:before{
    background-image: url(../img/icon-mail_blue.png);
}

/* グローバルメニュー */
/*==ナビゲーション全体の設定*/
#header nav{
	background:#FDF9F4;
	color:#394149;
	text-align: center;
}
/*ナビゲーションを横並びに*/
#header nav ul{
	display: flex;
	justify-content: center;
}
/*2階層目以降は横並びにしない*/
#header nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#header nav ul li{
	position: relative;
}

#header nav ul li.to-contact{
    display: none;
}

/*ナビゲーションのリンク設定*/
#header nav ul li a{
	display: block;
	text-decoration: none;
	color: #394149;
	padding: 0 15px 10px 15px;
	transition:all .4s;
}

#header nav ul li:first-of-type a{
    padding-left: 0;
}
#header nav ul li:nth-of-type(8) a{
    padding-right: 0;
}

#header nav ul li li a{
	padding:10px;
}

#header nav ul li a:hover{
	color:#AC8241;	
}

/*矢印の設定*/
#header nav ul li.has-child::after{
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid #131313;
    border-right: 1px solid #131313;
    margin: 0 auto;
    transform: rotate(135deg);
    position: absolute;
    top: 23px;
    left: 0;
    right: 0;
}

/*サブメニューの指定*/
#header nav li.has-child ul{
	position: absolute;
	left:0;
	top:41px;
	z-index: 4;
	background:#FDF9F4;
	width:230px;
	visibility: hidden;
	opacity: 0;
	transition: all .4s;
}

/*hoverしたら表示*/
#header nav li.has-child:hover > ul,
#header nav li.has-child ul li:hover > ul,
#header nav li.has-child:active > ul,
#header nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*サブメニューのaタグの形状*/
#header nav li.has-child ul li a{
	color: #394149;
	border-bottom:solid 1px rgba(210,176,123,0.6);
}

#header nav li.has-child ul li:last-child > a{
 border-bottom:none;
}

#header nav li.has-child ul li a:hover,
#header nav li.has-child ul li a:active{
	background:#AC8241;
    color: #fff;
}

/* footer -------------------------------- */
#footer{
    width: 100%;
    color: #fff;
    background-color: #01295A;
    padding: 55px 5% 100px;
}

#footer .footer-main{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 3%;
    margin: 0 auto 55px;
}

#footer .footer-main .info-area{
    width: 250px;
}
#footer .footer-main .info-area .logo{
    width: 100%;
    height: 50px;
    margin-bottom: 35px;
}
#footer .footer-main .info-area .logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#footer .footer-main .info-area p{
    font-weight: 300;
    margin-bottom: 35px;
}
#footer .footer-main .info-area .btn-footer-mail{
    display: block;
    width: 232px;
    height: 48px;
    color: #fff;
    background-color: #01295A;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    padding-left: 75px;
    position: relative;
}
#footer .footer-main .info-area .btn-footer-mail::before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/icon-mail_white.png);
    background-size: contain;
    position: absolute;
    top: 16px;
    left: 45px;
}
#footer .footer-main .info-area .btn-footer-mail:hover{
    color: #01295A;
    background-color: #fff;
}
#footer .footer-main .info-area .btn-footer-mail:hover:before{
    background-image: url(../img/icon-mail_blue.png);
}


#footer .footer-main .footer-nav{
    width: calc(100% - 250px - 3%);
}
#footer .footer-main .footer-nav .footer-nav-list{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 15px;
    position: relative;
}
#footer .footer-main .footer-nav .footer-nav-list::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: #AABED5;
    position: absolute;
    top: calc(50% + 30px);
    left: 0;
    right: 0;
}
#footer .footer-main .footer-nav .footer-nav-list > li{
    border-left: 1px solid #AABED5;
    padding-left: 15px;
}
#footer .footer-main .footer-nav .footer-nav-list > li .child{
    padding-left: 25px;
    padding-top: 15px;
}
#footer .footer-main .footer-nav .footer-nav-list > li .child >li{
    position: relative;
    margin-bottom: 10px;
}
#footer .footer-main .footer-nav .footer-nav-list > li .child >li::before{
    content: "";
    width: 10px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 13px;
    left: -20px;
}


/* リンク文字の設定 */
#footer .footer-main .footer-nav a{
    display: inline-block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3rem;
}
#footer .footer-main .footer-nav a:hover{
    color: #AABED5;
    transform: translateX(5px);
}
#footer .footer-main .footer-nav .child > li a{
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}
#footer .footer-main .footer-nav .child > li a:hover{
    transform: translateX(5px);
}


#footer .copyright{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3em;
    color: #AABED5;
    text-align: center;
}


/*-------------------------------------------
メインメニュー調整用
-------------------------------------------*/
@media screen and (max-width: 1277px) {

    main{
        padding-top: 90px;
    }

    /* header -------------------------------- */
    #header{
        height: 90px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    #header .nav-upper .btn-mail{
        display: none;
    }

    /* ハンバーガーメニューここから */
    #header .hamburger{
        width: 50px;
        height: 50px;
        background-color: rgba(253, 249, 244, 0.8);
        border-radius: 8px;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 5%;
        z-index: 100;
    }
    #header .hamburger span{
        width: 24px;
        height: 2px;
        background-color: #154783;
        display: inline-block;
        position: absolute;
        left: 13px;
        transition: all 0.4s;
    }
    #header .hamburger span:nth-of-type(1){
        top: 18px;
    }
    #header .hamburger span:nth-of-type(2){
        top: 25px;
    }
    #header .hamburger span:nth-of-type(3){
        top: 32px;
    }
    /* active */
    #header .hamburger.active span:nth-of-type(1){
        top: 25px;
        transform: rotate(45deg);
    }
    #header .hamburger.active span:nth-of-type(2){
        opacity: 0;
    }
    #header .hamburger.active span:nth-of-type(3){
        top: 25px;
        transform: rotate(-45deg);
    }
    /* ハンバーガーメニューここまで */

    /* グローバルメニュー */
    /*==ナビゲーション全体の設定*/
    #header nav{
        text-align: left;
        width: 360px;
        height: 100vh;
        background-color: #154783;
        position: fixed;
        top: 0;
        right: -360px;
        z-index: 20;
        transition: all 0.4s;
    }
    #header .nav.active{
        right: 0;
    }

    #header nav ul{
        display: block;
    }
    #header nav ul.menu{
        width: 100%;
        height: calc(100vh - 90px);
        margin-top: 90px;
        overflow-y: auto;
    }

    #header nav li.has-child ul,
    #header nav li.has-child ul ul{
    position: relative;
    background-color: #AABED5;
    left:0;
    top:0;
    width:100%;
    visibility:visible;/*JSで制御するため一旦表示*/
    opacity:1;/*JSで制御するため一旦表示*/
    display: none;/*JSのslidetoggleで表示させるため非表示に*/
    transition:none;/*JSで制御するためCSSのアニメーションを切る*/
    }

    #header nav ul li a{
    border-bottom:1px solid #AABED5;
    }

    #header nav ul li.to-contact{
        display: block;
    }

    /*ナビゲーションのリンク設定*/
    #header nav ul li a{
        color: #fff;
        padding: 15px;
    }

    #header nav ul li:first-of-type a{
        padding-left: 15px;
    }
    #header nav ul li:nth-of-type(8) a{
        padding-right: 15px;
    }

    #header nav ul li a:hover{
        color:#AABED5;	
    }

    /*矢印の設定*/
    #header nav ul li.has-child::after{
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        margin: 0;
        transform: rotate(135deg);
        top: 23px;
        left: auto;
        right: 15px;
    }
    #header nav ul li.has-child.active::after{
        transform: rotate(-45deg);
    }

    /*サブメニューのaタグの形状*/
    #header nav li.has-child ul li a{
        color: #154783;
        border-bottom:solid 1px #154783;
    }

    #header nav li.has-child ul li:last-child > a{
    border-bottom:none;
    }

    #header nav li.has-child ul li a:hover,
    #header nav li.has-child ul li a:active{
        background:#AABED5;
        color: #154783;
        transform: translateX(5px);
    }


    /* マスクの設定 */
    #header .mask.active{
        width: 100%;
        height: 100%;
        background-color: #000;
        display: block;
        opacity: 0.8;
        position: fixed;
        top: 0;
        left: 0;
    }

    /* footer -------------------------------- */
    #footer .footer-main .footer-nav .footer-nav-list{
        grid-template-columns: repeat(2, 1fr);
    }
    #footer .footer-main .footer-nav .footer-nav-list::before{
        content: none;
    }

}

/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* 共通設定 ------------------------------- */
    .pc{
        display: none;
    }
    .tb{
        display: block;
    }

    /* ページタイトルここから */
    #page-title::after{
        width: 70%;
        left: 30%;
    }
    #page-title .text-wrap{
        width: 80%;
    }

    #page-title .text-wrap h1{
        font-size: 28px;
        letter-spacing: 0;
    }
    #page-title .text-wrap h1 > .small{
        font-size: 24px;
    }

    /* 文字設定 */
    h2{
        font-size: 24px;
    }
    h2 > .small{
        font-size: 20px;
    }

    /* footer -------------------------------- */
    #footer .footer-main .info-area{
        width: 200px;
    }
    #footer .footer-main .info-area .logo{
        height: auto;
    }
    #footer .footer-main .info-area p{
        font-size: 14px;
    }
    #footer .footer-main .info-area .btn-footer-mail{
        width: 200px;
        padding-left: 60px;
    }
    #footer .footer-main .info-area .btn-footer-mail::before{
        left: 30px;
    }

    #footer .footer-main .footer-nav{
        width: calc(100% - 200px - 3%);
    }


}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ------------------------------- */
    .sp{
        display: block;
    }

    main{
        padding-top: 60px;
    }

    /* ページタイトルここから */
    #page-title{
        height: auto;
        align-items: flex-start;
        padding: 170px 5vw 20px;
    }
    #page-title::after{
        width: 100%;
        height: 150px;
        background-position: bottom center;
        left: 0;
    }
    #page-title .text-wrap{
        width: 100%;
        padding: 0 5vw;
        background-color: rgba(255, 255, 255, 0);
    }

    #page-title .text-wrap .introduction-m{
        width: 100%;
        min-width: 0;
    }
    #page-title .text-wrap .introduction-m > br{
        display: none;
    }
    #page-title .text-wrap .introduction-s{
        width: 100%;
        min-width: 0;
    }
    #page-title .text-wrap .introduction-s > br{
        display: none;
    }

    /* 文字設定 */
    h2 > .SPsmall{
        font-size: 20px;
    }

    /* header -------------------------------- */
    #header{
        height: 60px;
    }

    #header .nav-upper{
        margin: 15px 0;
    }
    #header .nav-upper .logo{
        width: 138px;
        height: 30px;
    }

    /* ハンバーガーメニューここから */
    #header .hamburger{
        width: 30px;
        height: 30px;
        top: 15px;
    }
    #header .hamburger span{
        width: 16px;
        left: 7px;
    }
    #header .hamburger span:nth-of-type(1){
        top: 10px;
    }
    #header .hamburger span:nth-of-type(2){
        top: 15px;
    }
    #header .hamburger span:nth-of-type(3){
        top: 20px;
    }
    /* active */
    #header .hamburger.active span:nth-of-type(1){
        top: 15px;
    }
    #header .hamburger.active span:nth-of-type(3){
        top: 15px;
    }
    /* ハンバーガーメニューここまで */

    /* グローバルメニュー */
    /*==ナビゲーション全体の設定*/
    #header nav{
        width: 100%;
        max-width: 360px;
        right: -360px;
    }

    #header nav ul.menu{
        height: calc(100vh - 60px);
        margin-top: 60px;
    }

    /* footer -------------------------------- */
    #footer{
        padding: 35px 0 80px;
    }

    #footer .footer-main{
        flex-direction: column;
        gap: 60px;
    }

    #footer .footer-main .info-area{
        margin: 0 auto;
    }

    #footer .footer-main .footer-nav{
        width: 100%;
    }
    #footer .footer-main .footer-nav .footer-nav-list{
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
    #footer .footer-main .footer-nav .footer-nav-list > li{
        border-left: 0;
        padding-left: 0;
        position: relative;
    }
    #footer .footer-main .footer-nav .footer-nav-list > li > a{
        border-bottom: 1px solid #AABED5;
        box-sizing: border-box;
    }
    #footer .footer-main .footer-nav .footer-nav-list > li:first-of-type > a{
        border-top: 1px solid #AABED5;
    }
    /* アコーディオン矢印 */
    #footer .footer-main .footer-nav .footer-nav-list > li.footer-has-child::after{
        content: "";
        width: 8px;
        height: 8px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        position: absolute;
        top: 20px;
        right: 5%;
        transform: rotate(135deg);
        transition: transform 0.3s ease;
    }
    #footer .footer-main .footer-nav .footer-nav-list > li.footer-has-child.active::after{
        transform: rotate(-45deg);
    }
    #footer .footer-main .footer-nav .footer-nav-list > li .child{
        padding: 0;
        background-color: #AABED5;
        display: none;
    }
    #footer .footer-main .footer-nav .footer-nav-list > li .child >li{
        padding-left: 0;
        margin-bottom: 0;
    }
    #footer .footer-main .footer-nav .footer-nav-list > li .child >li::before{
        content: none;
    }


    /* リンク文字の設定 */
    #footer .footer-main .footer-nav a{
        display: block;
        padding-left: 5%;
        line-height: 50px;
    }
    #footer .footer-main .footer-nav a:hover{
        color: #AABED5;
        transform: none;
    }
    #footer .footer-main .footer-nav .child > li a{
        display: flex;
        align-items: center;
        padding: 10px 5% 10px 10%;
        color: #01295A;
        line-height: 1.4;
        box-sizing: border-box;
        border-bottom: 1px solid #01295A;
    }
    #footer .footer-main .footer-nav .child > li a:hover{
        transform: none;
    }


}