﻿
/* ---------- font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500&family=Zen+Kaku+Gothic+New:wght@500;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Shippori+Mincho:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap');


:root{
    --font-jp: 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'Jost', 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	--font-jp2: "Crimson Text", "Shippori Mincho", "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
	--font-jp3:'Noto Serif JP',"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
body, .font_sans-serif, .font_serif{
    font-family: var(--font-jp);
    font-family: var(--font-jp3);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
    font-family: var(--font-jp2);
}

/* ---------- color ---------- */
#fakeloader {
    background-color: #c29f9d;
}




/* ======================================================================================
　　all
======================================================================================== */
html, body {
    font-size: 16px;
}
body{
    line-height: 1.7;
}
.scroll_bt, .tel_bt  {
    display: none;
}
.font_14 {
    font-size: 16px;
    line-height: 1.7;
}
.fadein .fade_box, #top_cms .con_box.fadein{
    transition: 1.5s;
}



/* ---------- header ---------- */
#logo img {
    width: 88%!important;
}
header.bg_color4 {
    background-color: #fff!important;
}

/*@media screen and (min-width: 769px){
.top_page header{
    height: 84vh;
    margin-left: 30px;
    margin-top: 100px;
    border-radius: 10px;
    transform: translate(-200%, 0);
    transition: 1.5s;
}

header {
    height: 84vh;
    margin-left: 30px;
    border-radius: 10px;
    margin-top: 50px;
}
header.active {
  transform: translate(0px, 0);
  opacity: 1;
  transition: 1.5s;
}

header.bg_color4 {
    background-color: rgb(255 255 255 / 90%);
    box-shadow: 0px 0px 12px 5px #dfd9d159;
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

.main_box {
    width: 100%;
    margin-left: 0;
}

#contents1 {
    padding: 100px 10% 200px 23%;
    text-align: center;}

#contents2 {
    padding: 200px 10% 150px 23%;
}
#contents3 {
    padding: 100px 10% 200px 23%;
}
#top_cms > .box {
    padding: 50px 7% 50px 23%;
}
footer {
    padding: 100px 6% 100px 23%;
}
article.page_wrap{
    padding: 100px 10% 100px 20%;
}
#page_title .page_box{
    padding: 100px 10% 0 23%;
}
}
@media screen and (min-width: 789px) and (max-width: 1280px){
#contents1 {
    padding: 100px 10% 200px 23%;
    text-align: center;}

#contents2 {
    padding: 200px 10% 150px 23%;
}
#contents3 {
    padding: 100px 10% 200px 23%;
}
#top_cms > .box {
    padding: 50px 3% 50px 28%;
}
footer {
    padding: 100px 2% 100px 27%;
}
#page_title .page_box {
    padding: 80px 0 0 28%;
}
article.page_wrap {
    padding: 100px 3% 100px 29%;
}
}*/



/* ---------- footer ---------- */
.foot_tel_bt {
    display: none!important;
}



/*======================================================================================
　　top
======================================================================================== */
#main_img {
    max-height: 100%;
    min-height: auto;
}

#contents1 {
    align-items: flex-start;
}
#contents1 .title{
    padding-right: 10%;
}
#contents1 .title .font_en{
    padding-top: 28px;
    padding-left: 6px;
}

#contents2 {
    padding: 0 0% 15% 5%;
}
.con2_box {
    padding: 7% 10% 5% 5%;
    margin-top: -7%;
    position: relative;
}
.con2_box:before {
    content: "01";
    color: var(--color5);
    font-size: 60px;
    line-height: 1.1;
    position: absolute;
    left: 9%;
    top: -25px;
    font-family: var(--font-jp2);
}
.con2_box .title{
    margin-bottom: 75px;
}
#contents2 .img5 {
    width: 43.66667% !important;
    height: 30vw;
    max-height: 500px;
    position: absolute;
    right: 0;
    margin-top: -2%;
}
#contents2 .img5 img{
    object-fit: cover;
    width: 100%!important;
    height: 100%!important;
    left: 0;
    object-fit: cover;
}

/* ---------- top modal ---------- */
html.modalset{
	overflow: hidden;
}
main.modalset {
    transform: none;
}
.modal_btn {
    cursor: pointer;
    color: #222;
    letter-spacing: 4px;
}
.modal_btn:hover {
    letter-spacing: 7px;
}
.modal_btn:hover i{
    position: relative;
    right: -10px;
}
.modal .box_txt1{
    border-top: 1px solid #f7cc38;
}
.modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
.modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 20px;
	text-align: center;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
.modal-wrap::-webkit-scrollbar {
	display: none;
}
.modal-bg {
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(227 215 215 / 84%);
    width: 100%;
    height: 100%;
}
.modal-box {
    margin-top: 5%;
    width: 90%;
    max-width: 1200px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    padding-bottom: 23px;
    /* border-radius: 22px; */
    background-color: #fff;
}
.modal-box .inner{
	max-height: 100%;
    overflow: auto;
	-ms-overflow-style: none;
	text-align: left;
	padding: 3%;
}
.modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
.modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
.modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
.modal-box .modal-close {
    cursor: pointer;
    position: absolute;
    top: -1px;
    right: 4px;
    width: 30px!important;
    left: auto;
    font-size: 25px;
    color: var(--color5);
}
.modal_title1{
	padding-top: 60px;
}
.modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
.modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}
.modal_item .flex_order2_sp{
    padding-right: 8%;
    line-height: 1.8;
}
@media screen and (max-width: 667px){
.modal-box .modal-close {
    right: 13px;
}
.modal-box .inner{
    max-height: 500px;
}
}
/* ---------- top modal end ---------- */

#contents3{
    background-color: #fff;
    padding: 0 10% 50px;
}
#contents3 .con_no {
    color: var(--color5);
}
#contents3 .txt_white {
    color: var(--normal);
}
#contents3 .title{
    position: relative;
}
#contents3 .title:before {
    content: "02";
    color: var(--color5);
    font-size: 60px;
    line-height: 1.1;
    position: absolute;
    left: 14px;
    top: -25px;
    font-family: var(--font-jp2);
}
#contents3 .grid_6:nth-of-type(2) .title:before{
    content: "03";
}
#contents3 .pc_txt, .txt6, .txt8 {
    padding-left: 20px;
    padding-left: 20px;
}
#contents3 .flex_top{
    align-items: stretch;
}
#contents3 .grid_6 {
    margin-top: 0;
    padding-bottom: 92px;
    padding: 0 25px;
    position: relative;
    padding-bottom: 92px;
}
#contents3 .more{
    position: absolute;
    bottom: 0;
    left: 26px;
}

.cms_title h2 {
    font-size: 43px;
}
.cms_title_img{
    width: min(80%, 339px);
    margin: auto;
}




/*======================================================================================
　　under
======================================================================================== */
.cms_2-f .box_wrap {
    box-shadow: rgb(0 0 0 / 0%) 0px 5px 15px 0px;
}
#cms_2-f .cate, #cms_2-f .cate_box{
    border: none;
}
#cms_2-f .cate_title {
    line-height: 1.2;
    width: 100% !important;
    margin-bottom: 30px;
    border-bottom: 1px solid;
    padding-bottom: 28px;
}
#cms_2-f .border_so1-l {
    border-left: 1px solid;
    width: 100% !important;
    border: none;
    padding: 0;
}
#cms_2-g .cate_img1 {
    height: 24vw;
    width: 80% !important;
}
.line_bnr {
    width: min(90%, 1000px);
    box-shadow: 2px 8px 27px rgb(0 0 0 / 10%);
}
#page8 .line_bnr, #page6 .line_bnr {
    width: min(100%, 1000px);
}


/*======================================================================================
　　size
======================================================================================== */
/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
.hamburger {
    top: 24px;
    right: 10px;
}
#logo img {
    width: 100% !important;
}
header.bg_color4 {
    background-color: rgb(255 255 255 / 90%);
    box-shadow: 0px 0px 12px 5px #dfd9d159;
}
.main_box {
    padding-top: 91px;
}
.con2_box {
    padding: 7% 16% 5% 5%;
    margin-top: -7%;
    position: relative;
    width: 65% !important;
}
#contents2 .img5 {
    width: 43.66667% !important;
    height: 34vw;
    max-height: 100%;
    position: absolute;
    right: 0;
    margin-top: 0;
}
.modal_item .flex_order2_sp {
    line-height: 1.8;
    width: 100% !important;
    order: 2;
}
.modal_item .flex_order1_sp {
    height: 186.875px;
    width: 83% !important;
    margin-bottom: 45px;
    order: 1;
}
#contents3 .grid_6 {
    padding-bottom: 92px;
    margin: auto;
}
#contents3 .more {
    position: static;
}
#contents3 .more a{
    margin: auto!important;
}
#top_cms > .con_box:first-of-type {
    padding-top: 0;
}
footer .logo{
    max-width: 138px;
}
.fat-nav li:last-child{
    display: none;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){

.font_14, html, body {
    font-size: 15px;
}
header #logo {
    padding: 0 10px;
    max-width: 139px;
}
.hamburger {
    top: 12px;
}
.main_box {
    padding-top: 73px;
}
#contents1 {
    padding: 70px 10%;
}
.con2_box {
    padding: 17% 10% 10%;
    position: relative;
    width: 100% !important;
}
#contents2 .img5{
    display: none;
}
#contents2 {
    padding: 0 0 8%;
}
.con2_box .title {
    margin-bottom: 46px;
}
#contents3 {
    padding: 0 6% 50px;
}
#contents3 .pc_txt, .txt6, .txt8 {
    padding-left: 20px;
    padding-left: 0;
}
#contents3 .grid_6 {
    padding-bottom: 0;
    margin: auto;
}
#attach {
    height: 217px;
}
.modal_item .flex_order1_sp {
    width: 100% !important;
}
.modal_btn a{
    width: 100%;
}
.more a{
    width: 100%;
}

#cms_2-g .cate_img1 {
    height: 40vw;
    width: 100% !important;
}
}







