@charset "UTF-8";
/* *****************************************************************
リセット
文字
共通パーツ
ヘッダー
spメニュー
フッター
***************************************************************** */
:root {
    --main_color: #d70c18;
}
/* *****************************************************************
リセット
***************************************************************** */
* {
    margin: 0;
    padding: 0;
	box-sizing: border-box;
}
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}
body {line-height:1;}
article, aside, dialog, figure, footer, header,
hgroup, nav, section {display:block;}
nav ul {list-style:none;}
blockquote, q {quotes:none;}

blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}
a {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
    text-decoration: none;
}
ins {
	background-color:#ff9;
	color:#000;
	text-decoration:none;
}
mark {
	background-color:#ff9;
	color:#000;
	font-style:italic;
	font-weight:bold;
}
del {
	text-decoration: line-through;
}
abbr[title], dfn[title] {
	border-bottom:1px dotted #000;
	cursor:help;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {vertical-align:middle;}
ul, ol {list-style: outside none none;}
article, aside, details, footer, header, main, menu, nav, section, summary {display: block;}
@media (min-width: 850px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* *****************************************************************
文字
***************************************************************** */
body {
	font-family:'Noto Serif JP', serif;
    font-size: clamp(14px, 1.142vw, 16px);
    font-weight: 600;
    line-height: 2;
	-webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
    letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%; 
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .1em;
}
.title h2{line-height: 1.3;}
a, a:link,a:visited {color: #000;}
a:hover, a:active {color: var(--main_color);}
a:focus {outline: medium none;}

.txt50{font-size: clamp(30px, 3.571vw, 50px);}
.txt33{font-size: clamp(27px, 2.357vw, 33px);}
.txt31{font-size: clamp(25px, 2.214vw, 31px);}
.txt30,.faq dl.qa dt::before,.faq dl.qa dd::before{font-size: clamp(24px, 2.142vw, 30px);;}
.txt28{font-size: clamp(22px, 2vw, 28px);}
.txt26,dl.qa dt{font-size: clamp(20px, 1.857vw, 26px);}
.txt25,ul.company_list li p{font-size: clamp(20px, 1.785vw, 25px);}
.txt23{font-size: clamp(19px, 1.642vw, 23px);}
.txt20,dl.qa dd{font-size: clamp(17px, 1.428vw, 20px);}
.txt18,.link_btn,.link_btn_red{font-size: clamp(16px, 1.285vw, 18px);}

.main_c{color: var(--main_color);}
.t_left{text-align: left;}
.t_center{text-align: center;}

@media only screen and (max-width: 520px) {
    .last_contact h3{
        font-size: 24px;
        letter-spacing: 0;
    }
}

/* *****************************************************************
共通パーツ
***************************************************************** */
html, body {
    height: 100%;
    width: 100%;
	word-wrap: break-word;
}
html {overflow-y: scroll;}
#wrapper {
	width: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 250px;
    box-sizing: border-box;
}
main{
    padding-top: 124px;
    padding-bottom: 8.571vw;
}
.contents{
    margin: auto;
    max-width: 1320px;
    padding-left: 60px;
    padding-right: 60px;
}
.contents.mini{
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
}
.last_contact{
    text-align: center;
}
.scroll-prevent {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}
img {
    width: 100%;
    height: auto;
    border: medium none;
    vertical-align: middle;
}
a,a:hover,a img,a:hover img{
    transition: all 0.4s ease;
}
.mrg_t120{margin-top: 8.571vw;}
.mrg_t2em{margin-top: 2em;}
.mrg_t7em{margin-top: 7em;}

.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}
.animate.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}
.animate.show.two {transition-delay: 0.1s;}
.animate.show.three {transition-delay: 0.2s;}
.animate.show.four {transition-delay: 0.3s;}
.animate.show.five {transition-delay: 0.4s;}
.animate.show.six {transition-delay: 0.5s;}
.animate.show.seven {transition-delay: 0.6s;}

.link_btn,.link_btn_red{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 245px;
    height: 60px;
    text-align: center;
    letter-spacing: .1em;
    border: 1px solid #000;
    margin: auto;
}
.link_btn{
    background-color: rgba(255,255,255,0.7);
}
.link_btn_red{
    background-color: var(--main_color);
    border: 1px solid var(--main_color);
}
.link_btn:hover,
.link_btn_red:hover{
    background-color: #fff;
    border: 1px solid var(--main_color);
    color: var(--main_color);
}
.last_contact .link_btn_red{
    margin-top: 60px;
}
.title{
    width: 100%;
    text-align: center;
    margin-top: 6em;
}
.title p{
    color: var(--main_color);
}
.title h2{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .2em;
}
.title h2::before,.title h2::after{
    content: "";
    width: 150px;
    height: 1px;
    background-color: #8d9056;
    display: block;
}
.title h2::before{margin-right: 1em;}
.title h2::after{margin-left: 1em;}
.box_list{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}
.box_list .box{
    border: 1px solid #000;
    padding: 15px;
    text-align: center;
}
.box_list .box a{
    color: var(--main_color);
}
.head_page{
    max-width: 1200px;
    padding: 60px 40px;
}
.head_page .txt_area{
    max-width: 1000px;
}
.head_page .txt_area h1{
    margin-top: .2em;
    margin-bottom: .5em;
}
.pc_only,.sp_no{display: block;}
.tab,.sp_only{display: none;}
@media only screen and (max-width: 1280px) {
    main{
        padding-top: 100px;
    }
}
@media only screen and (max-width: 850px) {
    main{
        padding-top: 80px;
    }
    .contents,.contents.mini{
        padding-left: 5%;
        padding-right: 5%;
    }
    .title{
        margin-top: 4em;
    }
    .title h2::before,.title h2::after{
        width: 16.647vw;
    }
    .box_list{
        margin-top: 40px;
    }
    .head_page{
        padding: 7.058vw 5% 5vw;
    }
    .pc_only{display: none;}
    .tab{display: block;}
}
@media only screen and (max-width: 520px) {
    #wrapper {
        padding-bottom: 0;
    }
    main{
        padding-top: 60px;
        padding-bottom: 80px;
    }
    .main_photo{
        width: 100%;
        height: 160px;
        overflow: hidden;
        position: relative;
    }
    .main_photo img{
        width: auto;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .mrg_t120{margin-top: 70px;}
    .mrg_t7em{margin-top: 4em;}
    .title h2::before{margin-right: .5em;}
    .title h2::after{margin-left: .5em;}
    .sp_only{display: block;}
    .sp_no{display: none;}
}


/* *****************************************************************
ヘッダー
***************************************************************** */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
	margin: auto;
    z-index: 10;
    transition: all 0.4s ease;
}
header.on_head{
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.3));
}
header .pc_nav{
    padding-left: 50px;
    padding-right: 50px;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: all 0.4s ease;
}
header.on_head .pc_nav{
    height: 70px;
}
header .logo{
    width: 17.5%;
    max-width: 210px;
    transition: all 0.4s ease;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    margin: auto;
    display: flex;
    align-items: center;
}
header .logo a{
    display: block;
    width: 100%;
}
header.on_head .logo{
    max-width: 130px;
}
header nav{
    width: 82.5%;
    display: block;
}
header nav ul.mainNav{
    display: flex;
    justify-content:flex-end;
}
header nav ul.mainNav li{
    margin-left: 3em;
}
header nav ul.mainNav li .navItem{
    position: relative;
    display: inline-block;
    transition: .3s;
}
header nav ul.mainNav li .navItem::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    content: '';
    width: 0;
    height: 1px;
    background-color: var(--main_color);
    transition: .3s;
    transform: translateX(-50%);
}
header nav ul.mainNav li .navItem:hover::after {
    width: 100%;
}
@media only screen and (max-width: 1280px) {
    header .pc_nav{
        padding-left: 30px;
        padding-right: 30px;
        height: 100px;
    }
    header .logo{
        left: 30px;
    }
    header nav ul.mainNav li{
        margin-left: 2em;
    }
}
@media only screen and (max-width: 850px) {
    header {
        height: 80px;
    }
    header .logo{
        left: 0;
        right: 0;
        width: 150px;
    }
    header .pc_nav{display: none;}
}
@media only screen and (max-width: 520px) {
    header {height: 60px;}
    header .logo{width: 120px;}
}

/* *****************************************************************
spメニュー
***************************************************************** */
header .sp_nav{display: none;}
@media only screen and (max-width: 850px) {
    header .sp_nav{display: block;}
    .menu{
        height: 20px;
        position: absolute;
        right: 30px;
        top: 30px;
        width: 30px;
        z-index: 99;
        cursor: pointer;
    }
    .menu__line{
        background: #000;
        display: block;
        height: 2px;
        position: absolute;
        transition:transform .3s;
        width: 100%;
    }

    .scroll-prevent .menu__line{
        background: #fff;
    }
    .menu__line--center{
        top: 9px;
    }
    .menu__line--bottom{
        bottom: 0;
    }
    .menu__line--top.active{
        top: 8px;
        transform: rotate(45deg);
    }
    .menu__line--center.active{
        transform:scaleX(0);
    }
    .menu__line--bottom.active{
        bottom: 10px;
        transform: rotate(135deg);
    }

    .gnav{
        background: rgba(0,0,0,0.9);
        display: none;
        height: 100%;
        position: fixed;
        width: 100%;
        z-index: 98;
    }
    .gnav__wrap{
        height: 100%;
        position: absolute;
        width: 100%;
        overflow-y: auto;
        text-align: center;
    }
    .gnav__menu{
        display: inline-block;
        height: 100%;
        padding-top: 100px;
        padding-bottom: 100px;
        text-align: left;
        margin: auto;
    }
    .gnav__menu__item a{
        width: 100%;
        display: block;
        color: #fff;
        font-size: clamp(18px, 1.428vw, 20px);
        padding: 20px 40px;
        text-decoration: none;
        transition: .5s;
    }
}
@media only screen and (max-width: 520px) {
    .menu{
        right: 20px;
        top: 20px;
    }
    .gnav__menu{
        height: calc(100% + 120px);
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* *****************************************************************
フッター
***************************************************************** */
footer {
    width: 100%;
    height: 250px;
    background-color: #ddd3ca;
    text-align: center;
    padding: 40px 0;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
}
.footer_nav{
    max-width: 750px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footer_nav a{
    display: block;
    margin:0 1.5em 1em; 
    line-height: 1.7;
}
footer .copy{
    margin-top: auto;
    font-size: 16px;
}
@media only screen and (max-width: 520px) {
    footer {
        height: auto;
        position: static;
        padding: 20px 0;
    }
    footer .footer_nav{display: none;}
    footer .copy{
        font-size: 14px;
    }
}
