@charset "utf-8";
/* CSS Document */
/*================================================
 *  common / 共通
 ================================================*/
html {
    font-size: 62.5%; /* 16px x 0.625 = 10px(=1rem) */
}
body {
    color: #333;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem; /* 16px*/
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.05em;
    background: url("../img/main_bg.webp")repeat-y;
    background-size: cover;
}
img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}


/*================================================
 *  header
 ================================================*/
#head_wrap {
    position: absolute;
    top: -100px;
    height: 0px;
    width: 100%;
    margin: 100px auto 0;
    line-height: 1;
}

#head_wrap .inner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18.4px 0;
    position: relative;
}

#head_wrap .inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

#global-nav ul {
    list-style: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 1024px) {
    #global-nav {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    #global-nav ul {
        display: block;
        margin-right: 0px;
    }
}

@media (min-width: 1025px) {
    #global-nav ul li:not(:last-child) {
        margin-right: 1.6vw;
    }
}

#global-nav ul li a {
    padding: 0;
    transition: all .6s ease 0s;
    box-sizing: border-box;
    font-weight: bold;
}

#global-nav ul li a img.ico-nav {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 5px;
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

/* Fixed / 追従 */
#head_wrap.fixed {
    position: fixed;
    top: 0;
    height: 80px;
    margin-top: 0;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
    z-index: 99;
}


@media (min-width: 1025px) {
    #head_wrap.fixed {
        background: #fff;
    }
}

#head_wrap .logo img,
#head_wrap.fixed .logo img {
    max-width: 280px;
}

#head_wrap .logo p{
        font-size: 10px;
        margin-bottom: 5px;
    }

#head_wrap.fixed #global-nav ul li a {
    color: #333;
    padding: 0;
}

/* ハンバーガー */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

@media (max-width: 1024px) {
    #head_wrap {
        position: fixed;
        top: 0;
        width: 100%;
        margin-top: 0;
        padding: 0;
        /* Fixed reset */
        z-index: 1000;
    }
    
    #head_wrap .inner {
        width: 100%;
        padding: 0;
        
        z-index: 99;
    }
    
    #mobile-head {
        background: rgba(255, 255, 255, 0);
        width: 100%;
        height: 60px;
        position: relative;
        
        /*z-index: 1001;*/
    }
    
    #head_wrap.fixed #mobile-head {
        background: #fff;
        transition-duration: 0.5s;
    }

    #head_wrap.fixed .logo,
    #head_wrap .logo {
        position: absolute;
        top: 13px;
        left: 13px;
        color: #333;
        font-size: 26px;
    }
    
    #head_wrap.fixed .logo img,
    #head_wrap .logo img {
        max-width: 220px;
    }
    
    #head_wrap .logo p{
        font-size: 8px;
        margin-bottom: 5px;
    }
    
    #global-nav {
        position: absolute;
        background: #fff/*rgba(255, 255, 255, 1)*/;
        height: 100vh;
        width: 100%;
        text-align: center;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        opacity: 0;
        
        pointer-events: none;
    }
    
    #global-nav ul {
        position: static;
        top: 50%;
        left: 50%;
        transform: translateY(100%);
        font-size: 22px;
    }
    
    #global-nav ul li {
        position: static;
        max-width: 220px;
        width: 80%;
        margin: 24px auto;
        text-align: left;
    }
    
    #global-nav ul li:first-child {
        margin-top: 0;
    }
    
    #head_wrap #global-nav ul li a, 
    #head_wrap.fixed #global-nav ul li a {
        width: 100%;
        display: block;
    }
    
    #nav-toggle {
        display: block;
    }
    
    #nav-toggle span {
        display: block;
        position: absolute;
        left: 0;
        height: 2px;
        width: 100%;
        background: #333;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }
    
    #nav-toggle span:nth-child(1) {
        top: 0;
    }
    
    #nav-toggle span:nth-child(2) {
        top: 11px;
    }
    
    #nav-toggle span:nth-child(3) {
        top: 22px;
    }
    
    #nav-toggle p {
        position: absolute;
        top: 30px;
        font-size: 8px;
        font-weight: bold;
        letter-spacing:0.03em;
    }
    
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    
    .open #global-nav {
        opacity: 1;
        pointer-events:inherit;
    }
}
/*================================================
 *  footer
 ================================================*/
footer {
    width: 100%;
    margin-top: 80px;
    padding: 80px 0 0 0;
    background: #564e44/*#524e4d */;
    color: #fff;
}
@media (min-width:1025px) {
    footer {
        margin-top: 160px;
    }
}
footer h2.title {
    margin-top: 24px;
}

footer h2.title::after{
    display: none;
}

footer a {
    color: #fff;
}
/* footer電話番号 */
li.f-contact-item {
    text-align: center;
}
@media(max-width:767px) {
    li.f-contact-item {
        width: 100%!important;
    }
    li.f-contact-item:not(:first-child) {
        margin-top: 24px;
        padding-top: 24px;
        border-top: dashed 1px #fff;
    }
}
li.f-contact-item p {
    font-size: 2.4rem;
}
li.f-contact-item span {
    display: inline-block;
    padding-top: 8px;
    font-size: 4.8vw;
}
@media(max-width:767px) {
    li.f-contact-item span {
        font-size: 4rem;
    }
}
@media(min-width:1025px) {
    li.f-contact-item span {
        font-size: 4rem;
    }
}
/* アイコン */
li.f-contact-item span img {
    width: 24px;
    margin-right: 8px;
    padding-bottom: 4px;
    vertical-align: middle;
}
/* メール */
@media screen and (min-width:768px) and (max-width:1024px) {
    li.f-contact-item.mail {
        margin-top: 40px;
    }
}
li.f-contact-item.mail a.flex {
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 16px;
    background: #fff;
    color: #564e44;
    font-size: 2rem;
    border: solid 1px #fff;
}
li.f-contact-item.mail a.flex:hover {
    background: #564e44;
    color: #fff;
    border: solid 1px #fff;
}
li.f-contact-item.mail a.flex svg {
    margin-right: 8px;
}
li.f-contact-item.mail a.flex:hover #icon-contact-mail {
    fill: #fff;
}
/* footer-nav
---------------------------*/
.f-nav {
    margin-top: 40px;
}
ul.f-nav-inner01 {
    width: 100%;
    text-align: center;
    border: solid 1px #fff;
}
ul.f-nav-inner01.flex.col-05 li {
    border-bottom: solid 1px #fff;
}
@media screen and (max-width:767px) {
    ul.f-nav-inner01.flex.col-05 li:nth-child(odd) {
        border-right: solid 1px #fff;
    }
    ul.f-nav-inner01.flex.col-05 li:last-child {
        border-bottom: none;
    }
}
@media screen and (min-width:768px) and (max-width:1024px) {
    ul.f-nav-inner01.flex.col-05 li:not(:nth-child(3)) {
        border-right: solid 1px #fff;
    }
    ul.f-nav-inner01.flex.col-05 li:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}
@media screen and (min-width:1025px) {
    ul.f-nav-inner01.flex.col-05 li:not(:last-child) {
        border-right: solid 1px #fff;
    }
    ul.f-nav-inner01.flex.col-05 li {
        border-bottom: none;
    }
}
ul.f-nav-inner01.flex.col-05 li a {
    display: block;
    padding: 16px;
}
ul.f-nav-inner01.flex.col-05 li a:hover {
    background: #fff;
    color: #564e44;
}
.f-nav-inner02 {
    margin-top: 16px;
}
ul.f-nav-inner02 a.icon-arrow_right {
    display: inline-block;
    padding-left: 16px;
}
ul.f-nav-inner02 a.icon-arrow_right::before {
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    left: 0;
}
footer address {
    padding: 40px 0 16px;
    font-size: 90%;
    font-style: normal;
    text-align: center;
}
/*================================================
 *  common / 共通
 ================================================*/
.contents-box_s, .contents-box_m {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}
.contents-box_s {
    max-width: 1000px;
}
.contents-box_m {
    max-width: 1200px;
}

/* page top */
#js-btn_pagetop{
    display: none;
    position: fixed;
    bottom: 2%;
    right: 2%;
    
    
}

.js-btn_pagetop_inner{
    height: 40px;
    width: 40px;
    border: none;
    border-radius:100vh;
    cursor: pointer;
    background: #fff;
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
}

#js-btn_pagetop img{
    max-width: 20px;
}
@media (min-width:768px) {
    .js-btn_pagetop_inner{
        height: 60px;
        width: 60px;
    }
    
    #js-btn_pagetop img{
        max-width: 25px;
    }
}
/*================================================
 *  layout / レイアウト
 ================================================*/
#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}
main > section + section, main > ol.breadcrumb + section {
    margin-top: 80px;
}
@media screen and (min-width:1025px) {
    main > section + section {
        /*margin-top: 160px;*/
    }
}
@media screen and (max-width:767px) {
    .hidden-max-767 {
        display: none;
    }
}
@media screen and (max-width:1024px) {
    br.hidden-max1024 {
        display: none;
    }
}
/* flex */
.flex {
    display: flex;
    flex-wrap: wrap;
}
.flex.col-02 li, .flex.col-03 li, .flex.col-04 li, .flex.col-05 li {
    width: 50%;
}
@media screen and (min-width:768px) {
    .flex.col-05 li {
        width: 33.3333%;
    }
}
@media screen and (min-width:1025px) {
    .flex.col-03 li {
        width: 33.3333%;
    }
    .flex.col-04 li {
        width: 25%;
    }
    .flex.col-05 li {
        width: 20%;
    }
}
/* grid */
.grid {
    display: grid;
    grid-template-rows: auto auto;
}
.grid.col03 {
    grid-template-columns: 1fr 1fr 1fr;
}
.grid.col-04 {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media screen and (min-width:1025px) {
    .grid.col-04 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 24px;
    }
}
/*================================================
 *  margin
 ================================================*/
.mt_40 {
    margin-top: 40px;
}
/*================================================
 *  padding
 ================================================*/
/*================================================
 *  decoration / 装飾
 ================================================*/
/* フォント
-----------------------------------------------*/
/* カラー */
.fc-red {
    color: #b7282d;
}
/* タイトル
-----------------------------------------------*/
h2.title {
    position: relative;
    font-size: 3.2rem;
    
    /*z-index: -1;*/
}
h2.title::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 80px;
    width: 100%;
    margin: auto;
    background: url("../img/title_bg.png") no-repeat center;
    background-size: contain;
    content: "";
    z-index: -1;
}
h2.title .title-line {
    position: relative;
    display: inline-block;
    padding: 20px 64px;
}
h2.title .title-line:before, h2 .title-line:after {
    position: absolute;
    display: inline-block;
    top: 50%;
    height: 2px;
    width: 40px;
    background-color: #e3d4c5;
    content: '';
}
h2.title .title-line:before {
    left: 0;
}
h2.title .title-line:after {
    right: 0;
}
/* h2タイトル直下の余白 */
h2.title + div, h2.title + ul, h2.title + p, h2.title + table {
    margin-top: 40px;
}
/* テキスト
-----------------------------------------------*/
.in-block{
    display: inline-block;
}
/* リンク
-----------------------------------------------*/
a {
    color: #333;
}
a.link-btn {
    display: block;
    position: relative;
    max-width: 640px;
    width: 80%;
    margin: 0 auto;
    padding: 8px 16px;
    border: solid 1px #333;
    border-radius: 4px;
    background: #fafafa;
    text-align: center;
}
a.link-btn::before {
    position: absolute;
    top: 0;
    right: 24px;
    bottom: 0;
    height: .64rem;
    width: .64rem;
    margin: auto;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    transform: rotate(45deg);
    content: '';
}
a.link-btn:hover {
    background: #b7282d;
    color: #fff;
}
a.link-btn:hover::before {
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
}
/* アイコン
-----------------------------------------------*/
.icon-arrow_right {
    position: relative;
}
.icon-arrow_right:before {
    position: absolute;
    top: 0;
    bottom: 0;
    height: .64rem;
    width: .64rem;
    margin: auto;
    border-top: solid 2px rgba(0, 0, 0, 0);
    border-right: solid 2px rgba(0, 0, 0, 0);
    transform: rotate(45deg);
    content: '';
}

/*================================================
 *  animation
 ================================================*/
.js-fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
}

.js-fadein.js-fadein-left{
    transform: translate(-30px,0);
}

.js-fadein.js-fadein-right{ 
    transform: translate(30px,0);
}   

.js-fadein.js-fadein-up{
    transform: translate(0,-30px);
}
        
.js-fadein.js-fadein-bottom{
    transform: translate(0,30px);
}
        
.js-fadein.js-scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
