@charset "utf-8";

img {
	-webkit-backface-visibility: hidden;
}
main {
    display: block;
}
.fax a{
	pointer-events: none;
    text-decoration: none;
}
.wpcf7-list-item {
	display: inline-block;
	white-space: nowrap;
}
body {
	background-color: #fff;
}
em {
	display: block;
}
.bkbr {
	display: none;
}

/* =========================================
   mov_reveal (画像リビールアニメーション)
========================================= */
.mov_reveal {
  position: relative;
  overflow: hidden; /* カバーが外にはみ出さないように */
  --reveal-scale: 1; /* 初期状態はJSから付与されますが念のため */
}

.mov_reveal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #003951;
  z-index: 10; /* 背景画像より前に出す */
  
  /* 左から右に小さくなる（右端を固定して縮める）ための設定 */
  transform-origin: right center; 
  transform: scaleX(var(--reveal-scale));
  pointer-events: none;
}

/*===============================================
●画面の横幅が769px以上
===============================================*/
@media screen and (min-width : 769px ){
#pc------------------------------------------- {
}
main {
	margin-top: 100px;
}
img {
	width: 100%;
	height: auto;
}
.sp {
	display: none;
}
a img {
  transition: 0.5s;
}
a img:hover {
  opacity: 0.6;
}
#end {
    height: 60vh;
    padding-top: 80px;
    font-size: 18px;
}
#end p a {
    color: #000;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
}
header {
	position: fixed;
	left: 0px;
	right: 0px;
	top: 0px;
	z-index: 9999;
	transition: 0.3s;
}
header .inner {
	width: 100%;
	min-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: space-between;
	text-align: left;
}
header .logo {
	width: 152px;
	margin-left: 20px;
	padding-top: 30px;
	transition: 0.3s;
}
header #gnavbtn {
	display: none;
}
header nav {
	display: flex;
}
header nav ul {
	display: flex;
	margin-right: 80px;
}
header nav ul li+li {
	margin-left: 30px;
}
header nav ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	display: block;
	height: 120px;
	line-height: 120px;
}
header nav ul li a:hover {
	text-decoration: underline;
}
header nav p a {
	background-color: #003951;
	width: 150px;
	height: 120px;
	line-height: 120px;
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	transition: 0.3s;
}
header nav p a:hover {
	opacity: 0.7;
	transition: 0.3s;
}


header #close,
header .sns,
header #gnav .logo {
	display: none;
}


header.sc {
	background-color: #fff;
	transition: 0.3s;
}
header.sc .logo {
	padding-top: 8px;
	transition: 0.3s;
}
header.sc nav ul li a {
	color: #000;
	height: 100px;
	line-height: 100px;
}
header.sc nav p a {
	height: 100px;
	line-height: 100px;
}




/* メニューの共通スタイル */
#sidenav, #sidenav-white {
    position: fixed;
    right: 22px;
    /* 上下中央配置の設定 */
    top: 0px;
    bottom: 0px;
    margin: auto;
    height: 490px; /* 計算の基準となるため高さ固定は必須です */
}

#sidenav p small, #sidenav-white p small {
    writing-mode: vertical-rl;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

#sidenav ul, #sidenav-white ul {
    list-style: none;
    padding: 0; 
    margin: 0;
}

#sidenav li, #sidenav-white li {
    width: 19px;
    margin-top: 18px;
}

/* -----------------------------
   黒ナビ (下のレイヤー・通常時)
----------------------------- */
#sidenav {
    z-index: 9998;
    color: #000;
}
#sidenav img {
    /* 元の白い画像を真っ黒にする */
    filter: brightness(0);
}

/* -----------------------------
   白ナビ (上のレイヤー・暗い背景に乗った時だけ表示される)
----------------------------- */
#sidenav-white {
    z-index: 9999;
    color: #fff;
    /* 初期状態：上から0、右から0、下から100%、左から0の位置で切り抜き 
       （＝何も表示されない状態）
    */
    clip-path: inset(0px 0px 100% 0px); 
    background-color: transparent;
    pointer-events: none;
}

/* 白ナビのアイコン */
#sidenav-white img {
    /* 【重要】元の画像が白なら、何もしない（元の白のまま表示） */
    filter: none; 
}




.lowerttl {
	padding-top: 30px;
}
.lowerttl div {
	font-size: 60px;
	color: #003752;
	padding-bottom: 10px;
	line-height: 1.3em;
}
.lowerttl em {
	font-size: 24px;
	color: #003752;
}
.lowerttl .first {
	color: #c1272d!important;
}
.lowerttl+p {
	font-size: 14px;
	margin-top: 25px;
}


.lowerttl2 {
	padding-top: 30px;
}
.lowerttl2 div {
	font-size: 44px;
	color: #003752;
	padding-bottom: 20px;
	line-height: 1.3em;
}
.lowerttl2 div::first-letter {
	color: #c1272d!important;
}
.lowerttl2 em {
	font-size: 36px;
	color: #003752;
}





footer .bg {
	background-image: url("../images/service_bg.webp");
	height: 350px;
	background-position: center center;
	background-size: cover;
	margin-top: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}
footer .bg h5 {
	font-size: 30px;
	margin-bottom: 15px;
}
footer .bg h5+p {
	font-size: 14px;
}
footer .bg a {
	display: block;
	width: 400px;
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	background-color: #003951;
	color: #fff;
	line-height: 50px;
	text-decoration: none;
	font-size: 14px;
	margin-top: 25px;
	transition: 0.3s;
}
footer .bg a:hover {
	background-color: #015B80;
	transition: 0.3s;
}
footer .flex {
	display: flex;
	justify-content: space-between;
}
footer .flex .logoarea {
	width: 35%;
	display: flex;
	justify-content: center;
	align-items: center;
}
footer .flex .logoarea div {
	text-align: left;
}
footer .flex .logoarea .logo {
	width: 153px;
	margin-top: -60px;
	margin-left: auto;
	margin-right: auto;
}
footer .flex .logoarea .logo+p {
	font-size: 13px;
	line-height: 1.6em;
	margin-top: 40px;
}
footer .flex .logoarea .logo+p a {
	color: #000;
	text-decoration: none;
}
footer .flex nav {
	width: 65%;
	background-color: #003951;
	text-align: left;
	display: flex;
	justify-content: center;
	align-items: center;
}
footer .flex nav .inner {
	width: 600px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 90px;
	padding-bottom: 90px;
}
footer .flex nav .inner div {
	display: flex;
	justify-content: space-between;
}
footer .flex nav .inner ul {
	width: 180px;
	line-height: 1.8em;
}
footer .flex nav .inner div+div {
	margin-top: 30px;
}
footer .flex nav .inner ul li a {
	color: #fff;
	font-size: 12px;
	text-decoration: none;
}
footer .flex nav .inner ul li a:hover {
	text-decoration: underline;
}
}




@media screen and (max-width:1366px){
	  .bkbr {
	  	display: block;
	  }
}


/*===============================================
●画面の横幅が768pxまで
===============================================*/
@media screen and (max-width:768px){
	
/*===============================================
●sp-tablet
===============================================*/
#sptablet------------------------------------------- {
}
img {
	max-width: 100%;
	height: auto;
	width: 100%;
}
.pc {
	display: none;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}





header {
	height: 17.333vw;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 9999;
	transition: 0.3s;
}
header .inner {
	display: flex;
	justify-content: space-between;
	position: relative;
}
header .logo {
	width: 68.267vw;
	position: relative;
	top: 2.667vw;
	left: 2.667vw;
}
header #gnavbtn {
	width: 8vw;
	position: relative;
	right: 5.333vw;
	top: 5.333vw;
	cursor: pointer;
}
header .inner nav {
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	background-color: #fff;
	height: 100vh;
	overflow-y: scroll;
	display: none;
}
header #close {
	width: 8vw;
	position: absolute;
	right: 5.333vw;
	top: 5.333vw;
	z-index: 999;
}
header #close+p {
	width: 35vw;
	margin-left: auto;
	margin-right: auto;
	padding-top: 7vw;
	margin-bottom: 6vw;
}
header .inner nav .logo+ul li a {
	color: #000;
	text-decoration: none;
	font-size: 3.5vw;
	display: block;
	padding-top: 3vw;
	padding-bottom: 3vw;
}
header .inner nav .contact_btn a {
	background-color: rgba(0,57,81,1.00);
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 8vw;
	font-size: 3.5vw;
	display: block;
	color: #fff;
	text-decoration: none;
	height: 12vw;
	line-height: 12vw;
}
header .sns {
	display: flex;
	justify-content: center;
	margin-top: 8vw;
}
header .sns li {
	width: 5.333vw;
}
header .sns li+li {
	margin-left: 5vw;
}
header .sns li img {
	filter: brightness(0);
}

header.sc {
	background-color: #fff;
	transition: 0.3s;
}






footer .sns {
	display: flex;
	justify-content: center;
	margin-top: 6.667vw;
	margin-bottom: 8vw;
}
footer .sns h3 {
	font-size: 4.8vw;
	line-height: 5.333vw;
}
footer .sns ul {
	display: flex;
}
footer .sns li {
	width: 5.333vw;
	margin-left: 9.333vw;
}
footer .sns li img {
	filter: brightness(0);
}
footer .bg {
	background-image: url("../images/service_bg.webp");
	height: 65.333vw;
	background-position: center center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}
footer .bg h5 {
	font-size: 5vw;
	margin-bottom: 4vw;
}
footer .bg h5+p {
	font-size: 2.933vw;
	line-height: 2em;
}
footer .bg a {
	display: block;
	width: 80.333vw;
	height: 13.333vw;
	margin-left: auto;
	margin-right: auto;
	background-color: #003951;
	color: #fff;
	line-height: 13.333vw;
	text-decoration: none;
	font-size: 3.733vw;
	margin-top: 6.667vw;
	transition: 0.3s;
}
footer .bg a:hover {
	background-color: #015B80;
	transition: 0.3s;
}
footer .flex {
}
footer .flex .logoarea {
	width: 100%;
	margin-top: 13.333vw;
}
footer .flex .logoarea .logo {
	width: 40.8vw;
	margin-left: auto;
	margin-right: auto;
}
footer .flex .logoarea .logo+p {
	font-size: 3.467vw;
	line-height: 1.6em;
	margin-top: 8vw;
}
footer .flex .logoarea .logo+p a {
	color: #000;
	text-decoration: none;
}
footer .flex nav {
	display: none;
}
footer  p small {
	font-size: 10px;
	margin-top: 2.667vw;
	line-height: 1.6em!important;
	display: block;
}
#sidenav {
	display: none;
}




.lowerttl {
	padding-top: 5vw;
}
.lowerttl div {
	font-size: 10vw;
	color: #003752;
	padding-bottom: 3vw;
	line-height: 1.3em;
}
.lowerttl em {
	font-size: 6vw;
	color: #003752;
	line-height: 1.4em;
}
.lowerttl .first {
	color: #c1272d!important;
}
.lowerttl+p {
	margin-top: 5vw;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5vw;
}


.lowerttl2 {
	padding-top: 5vw;
}
.lowerttl2 div {
	font-size: 9vw;
	color: #003752;
	padding-bottom: 3vw;
	line-height: 1.1em;
}
.lowerttl2 div::first-letter {
	color: #c1272d!important;
}
.lowerttl2 em {
	font-size: 5vw;
	color: #003752;
}






#inq_btn {
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 99;
	 opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
#inq_btn a {
	display: block;
	background-color: #003951;
	color: #fff;
	text-decoration: none;
	height: 12vw;
	line-height: 12vw;
	font-size: 3.5vw;
}

/* このクラスがついた時だけ表示 */
#inq_btn.is-show {
  opacity: 1;
  visibility: visible;
}
}



/*===============================================
●画面の横幅が400pxまで
===============================================*/
@media screen and (max-width:400px){
/*===============================================
●sp400
===============================================*/
#sp400------------------------------------------- {
}
}



/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width:320px){
/*===============================================
●sp320
===============================================*/
#sp320------------------------------------------- {
}
}



/*===============================================
●画面の横幅が481pxから768pxまで
===============================================*/
@media screen and (min-width:481px) and (max-width:768px) {
/*===============================================
●tablet
===============================================*/
#tab------------------------------------------- {
}
.sp.tab {
	display: none;
}
}
