﻿@charset "utf-8";
/* CSS Document */

body {-webkit-text-size-adjust: 100%;}
#wrap{
	margin: 0 auto;
	overflow: hidden;
}

/* =============================================
　　共通
============================================= */
@import url('https://fonts.googleapis.com/css?family=Quicksand:500&display=swap');
.font_Quick {
	font-family: 'Quicksand', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
}
#wrap{
	padding-right: 90px;
}
.font_1dw{
	font-size: -webkit-calc(1rem - 1px);
    font-size: calc(1rem - 1px);
}
.font_3dw{
	font-size: -webkit-calc(1rem - 3px);
    font-size: calc(1rem - 3px);
}
.border_rad6{
	border-radius: 6px;
}
.more a{
	padding: 15px;
}
.more a:hover{
	border-color: transparent;
}

/*--- 画像トリミング ------------------------------------*/
.rectangle_main_img,.rectangle_con2_img{
	position: relative;
	overflow: hidden;
}
.rectangle_main_img img,.rectangle_con2_img img{
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

/*--- カテゴリーリスト ------------------------------------*/
.cate_list{
	margin-bottom: 100px;
}
.cate_list li{
	margin: 0 10px 10px;
	box-sizing: border-box;
}
.cate_list li a{
	padding: 13px 10px;
}

/*--- ボタン ------------------------------------*/
.btn .btn_after {
    width: 15%;
    height: 3px;
    left: 50%;
    bottom: 0;
    margin-left: -8%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}
.btn a .txt {
    z-index: 1;
	padding-top: 23px;
}
.btn a .a_before,.btn a .a_after {
    width: 2px;
	left: 0;
    top: 0;
}
.btn a .a_after{
    height: 2px;
}
.btn a span.txt .txt_before {
    width: 2px;
    right: 0;
    bottom: 0;
}
.btn a span.txt .txt_after {
    height: 2px;
    right: 0;
    bottom: 0;
}
.btn:hover a span.txt .txt_before, .btn:hover a .a_before {
    height: 0!important;
}
.btn:hover a span.txt .txt_after, .btn:hover a .a_after {
    width: 0!important;
}
.btn:hover .btn_after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

/*--- page_title ------------------------------------*/
#page_title::before{
	display: inline-block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}
#page_title .page_title_inner{
	padding: 130px 20px;
}
#page_title .title_box{
    transform: translateX(-50%);
    left: 50%;
    bottom: -50px;
    padding: 35px;
}


/* =============================================
　　loading
============================================= */
#loading{
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 999999;
}
#loading_line{
	position: absolute;
	top: 0;
	margin: auto;
	width: 100%;
	height: 100%;
}
#loading_line .line{
	position: absolute;
	top: 0;
	width: 0;
	height: 100%;
	z-index: 1;
}
#loading_line .line2{
	position: absolute;
	top: 0;
	width: 0;
	height: 100%;
	z-index: 2;
}
#loading_logo{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 50%;
	max-width: 200px;
	z-index: 3;
}

/* =============================================
　　アニメーション
============================================= */
#header .contact_box{
	transform: translateY(-50px);
	transition: transform 1s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#header .contact_box.start{
	transform: translateY(0px);
}
#top_contents2 .fadein_left{
	position: relative;
    overflow: hidden;
    z-index: 0;
    transform: translateX(50px);
    opacity: 0;
	transition: transform 1.5s cubic-bezier(0.5, 0.1, 0.2, 1),opacity 1.8s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#top_contents2 .fadein_left.start {
    transform: translateX(0);
    opacity: 1;
}
#top_contents2 .fadein_right{
	position: relative;
    overflow: hidden;
    z-index: 0;
    transform: translateX(-50px);
    opacity: 0;
	transition: transform 1.5s cubic-bezier(0.5, 0.1, 0.2, 1),opacity 1.8s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#top_contents2 .fadein_right.start {
    transform: translateX(0);
    opacity: 1;
}


/* =============================================
　　header
============================================= */
#logo{
	width: 230px;
    height: 230px;
	top: 0;
	left: 0;
	z-index: 998;
}

/*--- mail.tel ------------------------------------*/
.mail_bt a{
	border-radius: 0 0 5px 5px;
	padding: 10px 28px;
}
.tel_bt a{
	padding-left: 27px;
	padding-top: 2px
}
.tel_bt a i {
	left: 0;
	top: 50%;
    transform: translateY(-50%);
}

/*--- header-nav ------------------------------------*/
#header-nav li a .before {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
#header-nav li a:hover .before {
    transform: scale(1, 1);
}

/*--- fix_menu ------------------------------------*/
#fix_menu{
	right: 0;
    top: 0;
    padding: 33px 0 40px;
    width: 90px;
    height: 100vh;
    z-index: 100;
	box-sizing: border-box;
}
#fix_menu .sns_links li:last-of-type{
	margin-bottom: 100px;
}

/*--- nav_menu ------------------------------------*/
#nav_menu{
	position: relative;
	margin-top: 8px;
}
.button_container {
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	height: 22px;
	width: 23px;
	cursor: pointer;
	z-index: 9999;
	-webkit-transition: opacity .25s ease;
	transition: opacity .25s ease;
}
.button_container.active .top {
	-webkit-transform: translateY(7px) translateX(0) rotate(45deg);
	transform: translateY(7px) translateX(0) rotate(45deg);
	background: #333;
	width: 100%;
}
.button_container.active .middle {
	opacity: 0;
	background: #333;
}
.button_container.active .bottom {
	-webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
	transform: translateY(-10px) translateX(0) rotate(-45deg);
	background: #333;
	width: 100%;
}
.button_container span {
	background: #333;
	border: none;
	height: 2px;
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	-webkit-transition: all .35s ease;
	transition: all .35s ease;
	cursor: pointer;
}
.button_container span:nth-of-type(2) {
	top: 8px;
	width: 100%;
	text-align: right;
}
.button_container span:nth-of-type(3) {
	top: 17px;
	width: 100%;
}
.overlay {
	position: fixed;
	background:rgba(255,255,255,0.97);
	top: 0;
	right: 0;
	width: 0%;
	height: 100%;
	opacity: 1;
	visibility: hidden;
	-webkit-transition: opacity .35s, visibility .35s, width .35s;
	transition: opacity .35s, visibility .35s, width .35s;
	overflow: hidden;
}
.overlay.open {
	opacity: 1.0;
	visibility: visible;
	height:100%;
	width: 30%;
	padding-right: 80px;
}
.overlay.open .menu-box .menu_list li {
	-webkit-animation: fadeInRight .5s ease forwards;
	animation: fadeInRight .5s ease forwards;
	-webkit-animation-delay: .35s;
	animation-delay: .35s;
}
.overlay.open .menu_list li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open .menu_list li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open .menu_list li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay.open .menu_list li:nth-of-type(5) {
  -webkit-animation-delay: .55s;
          animation-delay: .55s;
}
.overlay.open .menu_list li:nth-of-type(6) {
  -webkit-animation-delay: .60s;
          animation-delay: .60s;
}
.overlay.open .menu_list li:nth-of-type(7) {
  -webkit-animation-delay: .65s;
          animation-delay: .65s;
}
.overlay.open .menu_list li:nth-of-type(8) {
  -webkit-animation-delay: .70s;
          animation-delay: .70s;
}
.overlay.open .menu_list li:nth-of-type(9) {
  -webkit-animation-delay: .75s;
          animation-delay: .75s;
}
.overlay.open .menu_list li:nth-of-type(10) {
  -webkit-animation-delay: .80s;
          animation-delay: .80s;
}
.overlay.open .menu_list li:nth-of-type(11) {
  -webkit-animation-delay: .85s;
          animation-delay: .85s;
}
.overlay nav {
	position: absolute;
	height: 70%;
	top: 50%;
	left: 0;
	right:0;
	margin: auto;
	-webkit-transform: translateY(-50%) translateX(0%);
	transform: translateY(-50%) translateX(0%);
	text-align: left;
	overflow-y: auto;
}
.overlay .menu-box {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	width: 70%;
	position: relative;
	height: 100%;
}
.overlay .menu-box .menu_list li {
	display: block;
	height: 10%;
	height: calc(100% / 10);
	min-height: 50px;
	position: relative;
	opacity: 0;
}
.overlay .menu-box .menu_list li a {
	display: block;
	position: relative;
	text-decoration: none;
	overflow: hidden;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
}
.overlay .menu-box .menu_list li a:hover:after, .overlay .menu-box .menu_list li a:focus:after, .overlay .menu-box .menu_list li a:active:after {
	width: 100%;
}
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
.overlay .tel_bt a {
    padding-left: 30px!important;
    border-radius: 5px;
    display: inline-block!important;
}

/*--- scroll,pageTop ------------------------------------*/
.l-gh__scrollnav {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 10px;
    height: 85px;
	transform: translateX(-50%);
	z-index: 10;
}
.l-gh__scrollnav-scroll {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: -webkit-transform .3s ease 0s;
    transition: -webkit-transform .3s ease 0s;
    transition: transform .3s ease 0s;
    transition: transform .3s ease 0s,-webkit-transform .3s ease 0s;
}
.l-gh__scrollnav-scroll-text {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    margin: 0 0 20px;
    font-size: 13px;
    letter-spacing: .04em;
}
.l-gh__scrollnav-scroll-arr {
    overflow: hidden;
    position: relative;
    width: 9px;
    height: 6px;
}
.l-gh__scrollnav-scroll-arr .head {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-top: 4.5px solid #333;
}
.l-gh__scrollnav.on .l-gh__scrollnav-pagetop {
    -webkit-transform: rotateY(0) translateX(0);
    transform: rotateY(0) translateX(0);
}
.l-gh__scrollnav-pagetop {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 0;
    cursor: pointer;
    -webkit-transform-origin: right center;
    transform-origin: right center;
    -webkit-transition: -webkit-transform .3s ease 0s;
    transition: -webkit-transform .3s ease 0s;
    transition: transform .3s ease 0s;
    transition: transform .3s ease 0s,-webkit-transform .3s ease 0s;
    text-decoration: none;
    color: #333;
}
.l-gh__scrollnav-pagetop-arr {
    overflow: hidden;
    position: relative;
    width: 9px;
    height: 32px;
}
.l-gh__scrollnav-pagetop-arr::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    width: 1px;
    height: 32px;
    background: #333;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}
.l-gh__scrollnav-pagetop-arr .head {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-bottom: 4.5px solid #333;
    -webkit-transform: translateY(27px);
    transform: translateY(27px);
}
.l-gh__scrollnav-pagetop-text {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    margin: 15px 0 0;
    font-size: 13px;
    letter-spacing: .04em;
}
@media (min-width: 768px){
.l-gh__scrollnav-pagetop-arr::before {
    -webkit-transition: -webkit-transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
    transition: -webkit-transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
    transition: transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
    transition: transform .4s cubic-bezier(.45,.05,.3,.93) .1s,-webkit-transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
}
.l-gh__scrollnav-pagetop-arr .head {
    -webkit-transition: -webkit-transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
    transition: -webkit-transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
    transition: transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
    transition: transform .4s cubic-bezier(.45,.05,.3,.93) .1s,-webkit-transform .4s cubic-bezier(.45,.05,.3,.93) .1s;
}
}


/* =============================================
　　footer
============================================= */
#footer{
	padding-top: 80px;
}
#footer::before{
	display: inline-block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
	z-index: 1;
}
#footer .footer_box{
	z-index: 2;
}


/* =============================================
　　index.htm
============================================= */

/*--- main_img ------------------------------------*/
#main_img {
    position: relative;
	max-height: 800px;
}

/*--- contentsg ------------------------------------*/
#top_contents1{
	padding: 150px 5% 165px;
}
#top_contents2{
	padding: 130px 0;
}
#top_contents2 .con_box .con_img{
    height: 650px;
}
#top_contents2 .con_box .text_box .before{
	display: inline-block;
    content: "";
    width: 26%;
    height: 4px;
	top: 0;
    right: 0;
}
#top_contents2 .con_box .text_box {
	width: 46%;
    z-index: 1;
    top: 50%;
	right: 0;
    transform: translateY(-50%);
	padding: 5% 5% 5% 3%;
	overflow-y: auto;
    max-height: 113%;
}
#top_contents2 .con_box:nth-of-type(2) .text_box {
	left: 0;
}
#top_contents2 .con_box:nth-of-type(2) .text_box .before{
    left: 0;
}
#top_contents2 .con_box:nth-of-type(2) .img_box{
    margin-left: auto;
}

/*--- top_title ------------------------------------*/
.top_cms_title .cms_title_inner,.top_info_title .info_title_inner{
	padding: 10px 80px;
}
.top_cms_title .before, .top_cms_title .after,.top_info_title .before, .top_info_title .after{
  width: 20px;
  height: 20px;
  position: absolute;
  display: inline-block;
}
.top_cms_title .before,.top_info_title .before{
  top:0;
  left: 0;
}
.top_cms_title .after,.top_info_title .after {
  bottom:0;
  right: 0;
}

/*--- contact_box ------------------------------------*/
#top_contact_box .top .box,#top_contact_box .bottom .box{
	height: 450px;
}
#top_contact_box .bottom .box{
	margin-left: auto;
}
#top_contact_box .top .txt_wrap{
	max-width: 280px;
	min-width: 250px;
}
#top_contact_box .top .txt_box::before{
	display: inline-block;
    content: "";
    width: 40px;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    margin: auto;
}
#top_contact_box .tel_bt,#top_contact_box .con_bt{
	max-width: 350px;
	height: 55px;
	padding: 8px 10px;
	box-sizing: border-box;
}
#top_contact_box .tel_bt:hover,#top_contact_box .con_bt:hover{
	border: 1px solid rgba(255,255,255,0);
}
#top_contact_box a i {
    left: -30px;
    top: 50%;
    transform: translateY(-55%);
}
#top_contact_box .con_bt a i {
    transform: translateY(-47%);
}
#top_contact_box .tel_bt a {
    padding-left: 27px;
    padding-top: 0;
}
#top_contact_box .con_bt a {
    padding-left: 34px;
    padding-top: 0;
}

#top_cms .cate_box .box_img1 a:hover img{
	opacity: 0.5;
}
#top_info .top_map iframe{
	width: 100%;
	height: 480px;
}

/* =============================================
　　page2
============================================= */
.pager li{
	margin: 0 10px;
}
.pager li a{
	width: 60px;
	height: 60px;
}
.pager li.prev a{
	width: 80px;
}

/* =============================================
　　page7
============================================= */
#page7 .map iframe{
	width: 100%;
	height: 480px;
}

/* =============================================
　　page8
============================================= */
#page8 #mail_contact li:before{
	content: "◆";
	font-weight: 900;
	position: absolute;
	top: 0;
	left: 5px;
}
#page8 #form_box .box input::-webkit-input-placeholder,#page8 #form_box .box textarea::-webkit-input-placeholder{
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	opacity: 0.8;
}
#page8 #form_box .box input:-moz-placeholder,#page8 #form_box .box textarea:-moz-placeholder{
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	opacity: 0.8;
}
#page8 #form_box .box input::-moz-placeholder,#page8 #form_box .box textarea::-moz-placeholder{
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	opacity: 0.8;
}
#page8 #form_box .box input:-ms-input-placeholder,#page8 #form_box .box textarea:-ms-input-placeholder{
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	opacity: 0.8;
}
#page8 #form_box .box input,#page8 #form_box .box textarea{
	outline: none;
	border-style: none;
	border-radius: 0;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#page8 input[type="submit"].btn,
#page8 input[type="reset"].btn{
	-webkit-appearance: none;
	/*background: transparent;*/
	border-radius: 0;
	outline: none;
	border: 1px solid #fff;
	cursor: pointer;
	color: #fff;
}
#page8 input[type="submit"].btn:disabled{
    cursor: default;
}
.g-recaptcha > div{
	margin: 0 auto;
}
#page8 #form_box .box input, #page8 #form_box .box textarea{
	background-color: #f5f5f5;
}


/* =============================================
　　サイズ幅対応

・1370px
・1280px
・1080px
============================================= */
@media screen and (max-width: 1370px){
#top_contents2 .con_box .con_img {
    height: 600px;
}
#top_contact_box .top .box, #top_contact_box .bottom .box {
    height: 400px;
}
}
@media screen and (max-width: 1280px){
#logo {
    width: 210px;
    height: 210px;
}
#wrap{
	padding-right: 80px;
}
#fix_menu{
    width: 80px;
}
#top_contents2 .con_box .con_img {
    height: 510px;
}
#top_contact_box .top .box, #top_contact_box .bottom .box {
    height: 380px;
}
}
@media screen and (max-width: 1080px){
#top_contact_box .top .box, #top_contact_box .bottom .box {
    height: 340px;
}
#top_info .top_map iframe{
	height: 350px;	
}
#top_info .info_txt{
	padding-left: 80px;
}
}


/* =============================================
　　IE
============================================= */
@media all and (-ms-high-contrast: none){
.mail_bt a{padding: 13px 28px 10px;}
.tel_bt a i{transform: translateY(-62%);}
#main_img {max-height: 100%;}
.top_cms_title .cms_title_inner, .top_info_title .info_title_inner{padding: 15px 80px 10px;}
.more a{padding: 20px 15px 15px 15px;}
#top_cms .more a{padding: 18px 15px 12px;}
#top_contact_box a i{transform: translateY(-67%);}
#top_contact_box .con_bt a i{transform: translateY(-60%);}
#top_contact_box .tel_bt .posi_center{top: 56%;}
#top_contact_box .con_bt .posi_center{top: 56%;}
#top_contact_box a i {top: 50%;}
.pager li a .posi_center{top: 55%;}
.cate_list li a{padding: 13px 10px 9px;}
#page7 .d_table{padding-bottom: 5px;}
input.width_30per{padding-bottom: 5px;}
#page8 #form_box .box input:-ms-input-placeholder, #page8 #form_box .box textarea:-ms-input-placeholder{font-family: none;}
#page8 .btn{padding-bottom: 11px;}
#page9 a{padding-top: 10px;}
#page10 a .txt{padding-bottom: 15px;}
	
.font_Quick .more a{padding: 15px;}
.font_Quick .pager li a .posi_center{top: 50%;}
.font_Quick .cate_list li a{padding: 13px 10px 9px;}
}
/* IE スマホ以下 */
@media all and (-ms-high-contrast: none) and (max-width: 667px){
input.width_30per{padding-bottom: 8px;}
}

/* =============================================
　　タブレット
============================================= */
@media screen and (max-width: 768px){
/*--- 共通 ------------------------------------*/
#wrap {
	min-width: 100%;
  padding-right: 0;
}
/* page_title */
#page_title .page_title_inner {
    padding: 120px 20px;
}
/* cate_list */
.cate_list {
    margin-bottom: 80px;
}

/*--- アニメーション ------------------------------------*/
#header,#fix_menu {
	top: -100px;
    transition: top 1s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#header.start,#fix_menu.start {
	top: 0;
}
#top_contents2 .fadein_left{
    transform: translateX(0);
    opacity: 1;
}
#top_contents2 .fadein_right{
	 transform: translateX(0);
    opacity: 1;
}

	
/*--- header ------------------------------------*/
#logo {
    width: auto;
    height: 95px;
	background-color: transparent;
}
#logo h1.logo{
	top: 50%;
	left: 20px;
    transform: translateY(-50%);
	max-width: 130px;
}
#header{
	z-index: 999;
	width: 80%!important;
}	
#header,#fix_menu {
    width: 100%;
    height: auto;
	box-sizing: border-box;
}
#fix_menu{
	padding: 41px 0 46px;
}
/* nav_menu */
.button_container{
	left: auto;
	right: 35px;
}
.overlay{
	top: 80px;
	left: 0px;
	width: 100%;
	height: 0%;
	-webkit-transition: opacity .35s, visibility .35s, height .35s;
	transition: opacity .35s, visibility .35s, height .35s;
	background: rgba(255,255,255,1);
}
.overlay.open{
	width: 100%;
	height: 100%;
	padding-right: 0;
	padding-bottom: 20px;
}
.overlay .menu-box .menu_list li{
	height: auto;
	min-height: auto;
}
.overlay .menu-box .menu_list li a{
	padding-top: 20px;
	padding-bottom: 20px;
}
.overlay nav {
	top: calc(50% - 60px);
}
/* sns */
.tb_sns_wrap{
	padding-left: 20px;
	padding-right: 20px;
}
.tb_sns_wrap .sns_links_tb li{
	margin: 0 5%;
	width: 25px;
}
/* scrollnav */	
.l-gh__scrollnav{
	left: auto;
    right: 20px;
	bottom: 16px;
}
/* デバイス横向きで画面の横幅が 768px 以下の場合 */
@media (orientation: landscape) and (max-width: 768px){
.overlay nav {
    overflow-y: scroll;
    box-sizing: border-box;
}
}
	
/*--- index.html ------------------------------------*/
#top_contents1 {
    padding: 100px 50px;
}
#top_contents2 {
    padding: 100px 0;
}
#top_contents2 .con_box .text_box {
    width: 80%;
    top: -30px;
    right: auto;
    transform: none;
    padding: 40px;
    max-height: 100%;
}
#top_contents2 .con_box .con_img {
    height: 440px;
}
#top_contents2 .con_box:nth-of-type(2) .img_box{
	margin: auto;
}
#top_contents2 .con_box .text_box .before {
    width: 100%;
    height: 4px;
    top: auto;
    bottom: 0;
}
#top_info .info_txt {
    padding-left: 50px;
}
	
/*--- page7 ------------------------------------*/
#page7 .map iframe{
	height: 350px;
}
}


/* =============================================
　　スマートフォン
============================================= */
@media screen and (max-width: 667px){
/*--- 共通 ------------------------------------*/
.font_3dw_sp{
	font-size: -webkit-calc(1rem - 3px)!important;
    font-size: calc(1rem - 3px)!important;
}
.posi_sta_sp {
    top: auto!important;
    left: auto!important;
    transform: none!important;
}
/* page_title */
#page_title .page_title_inner {
    padding: 80px 20px;
}
#page_title .title_box {
    bottom: -40px;
    padding: 25px;
	width: 86%!important;
}
/* cate_list */
.cate_list {
    margin-bottom: 50px;
}
.cate_list li {
    margin: 0 0 20px;
}
	
/*--- ローディング ------------------------------------*/
#loading_logo{
	width: 40%;
	max-width: 200px;
}
	
/*--- header ------------------------------------*/
#logo{
	height: 78px;
}
#logo h1.logo{
	left: 15px;
	max-width: 120px;
}
#fix_menu{
	padding: 35px 0 35px;
}
/* nav_menu */
.button_container{
	right: 20px;
	bottom: 4px;
}
.overlay {
    top: 50px;
    overflow: scroll;
}
.overlay .menu-box{
	width: 80%;
}
.overlay nav {
    top: 50%;
	height: calc(95% - 58px);
	overflow-y: scroll;
	padding-bottom: 30px;
}
.overlay.open .menu-box .menu_list li:first-child{
	display: none;
}
.overlay .menu-box .menu_list li a{
	padding-top: 12px;
	padding-bottom: 12px;
}
/* sns */
.tb_sns_wrap{
	padding-left: 20px;
	padding-right: 20px;
}
.tb_sns_wrap .sns_links_tb li{
	width: 19px;
}
/* scrollnav */
.l-gh__scrollnav{
	right: 11px;
}
.l-gh__scrollnav-pagetop-text{
	font-size: 12px;
	transition: color .3s;
}
.l-gh__scrollnav-pagetop-arr .head{
	transition: border-bottom .3s;
}
.pagetop_active.pagetop_active .l-gh__scrollnav-pagetop-arr .head{
	border-bottom: 4.5px solid #fff;
}
.pagetop_active.pagetop_active .l-gh__scrollnav-pagetop-text{
	color: #fff;
}
	
/*--- footer ------------------------------------*/
.foot_sns.tb_sns_wrap .sns_links_tb li {
    width: 23px;
}
#footer {
    padding-top: 65px;
}

/*--- index.html ------------------------------------*/
#top_contents1 {
    padding: 50px 30px;
}
#top_contents2 .con_box .con_img {
    height: 250px;
}
#top_contents2 .con_box .text_box{
	top: 0;
}
#top_contents2 .img_box,#top_contents2 .con_box .text_box{
	width: 85%!important;
}
#top_contents2 .con_box .text_box{
	padding: 30px 20px;
}
.top_cms_title .cms_title_inner, .top_info_title .info_title_inner{
    padding: 25px 10px;
}
#top_contact_box .top .txt_wrap{
	height: auto!important;
	max-width: 100%;
    min-width: auto;
}
#top_contact_box .top .box, #top_contact_box .bottom .box{
	height: auto;
}
#top_info .info_txt {
    padding-left: 0;
}
#top_info .top_map iframe {
    height: 330px;
}
#top_cms .more{
	margin-top: 60px;
}

/*--- page2 ------------------------------------*/
.pager li{
	margin: 0 5px!important;
}
.pager li a{
	width:50px;
	height:40px;
}
.pager li:not(.prev){display:none;}
}

