@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&family=Noto+Sans+JP:wght@400;500&display=swap');

/* テンプレここから*/

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
	line-height: 1.65rem;
}

a {
    transition: 0.3s;
    color: #333;
}
a:link {
    text-decoration: underline;
}


a:active {
    color: #3f7da1;
}
a:hover img {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
    transition: 0.3s;
}

.bold{
	font-weight: 500;
}
.font{
  font-family: "Ms Madi", cursive;
  font-weight: 400;
}



/* 幅設定 */

.mt-6 {
    margin-top: 6rem;
}
.mt-7 {
    margin-top: 7rem;
}
.mb-6 {
    margin-bottom: 6rem;
}
.mb-7 {
    margin-bottom: 7rem;
}
.pt-6 {
    padding-top: 6rem;
}
.pt-7 {
    padding-top: 7rem;
}
.pb-6 {
    padding-bottom: 6rem;
}
.pb-7 {
    padding-bottom: 7rem;
}

/* カラー設定 */

.blue01 {
    color: #3f7da1;
}
.white01 {
    color: #FFFFFF;
}
.black01{
	color: #333333;
}
.gray01{
	color: #CDCDCD;
}
.bg-blue01 {
    background-color: #3f7da1;
}
.bg-blue02 {
    background-color: #d9e5ec;
}
.bg-white01 {
    background-color: #FFFFFF;
}
.bg-black01 {
    background-color: #333333;
}
.bg-img {
	background: url("../img/back.webp") no-repeat center/cover;
}

/* フォントサイズ設定 */

.ts07 {
    font-size: 0.7rem;
}
.ts08 {
    font-size: 0.8rem;
}
.ts09 {
    font-size: 0.9rem;
}
.ts10 {
    font-size: 1.0rem;
}
.ts11 {
    font-size: 1.1rem;
}
.ts12 {
    font-size: 1.2rem;
}
.ts13 {
    font-size: 1.3rem;
}
.ts14 {
    font-size: 1.4rem;
}
.ts15 {
    font-size: 1.5rem;
}
.ts16 {
    font-size: 1.6rem;
}
.ts20 {
    font-size: 2rem;
}

.fadeInOnScroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.1s, transform 1s ease 0.2s;
}
.fadeInOnScroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* テンプレここまで */

.grecaptcha-badge { visibility: hidden; }
.mainImg {
    background: url(../img/top1.jpg) no-repeat center top;
    background-size: contain;
    width: 100%;
    aspect-ratio: 1920 / 900;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* グローバルメニュー */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 1000;
  background: transparent;
}

.gnav-trg {
  position: fixed;
  top: 0;
  right: 0;
  width: 75px;
  height: 75px;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.gnav-trg .border {
  width: 30px;
  height: 2px;
  background: #333;
  margin: 3px 0;
}

.gnav-trg .text {
  font-size: 11px;
  color: #333;
  letter-spacing: 0.08em;
}

.global-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #3f7da1;
  color: #fff;
  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}
.global-nav.is-open {
  transform: translateX(0);
}

body.is-locked {
  overflow: hidden;
}

.border {
	border:none!important;
}
.gnav-trg .border {
  transition: transform .3s ease, opacity .3s ease;
}

.gnav-trg.is-open .border:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.gnav-trg.is-open .border:nth-child(2) {
  opacity: 0;
}

.gnav-trg.is-open .border:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
.gnav-trg.is-open {
  justify-content: center;
}
.gnav-trg {
  outline: none;
  box-shadow: none;
}

.gnav-trg:focus,
.gnav-trg:active {
  outline: none;
  box-shadow: none;
}
.nav1 a{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1.1rem;
}
.nav1{
  position: relative;
  border-bottom: solid 1px #fff;
  padding: 85px 0;
}
.nav1 a:hover{
  background-color: rgba(255,255,255,0.1);
  transition: 0.3s;
}
.nav-top{
	border-top: solid 1px #fff;
}
.global-nav img{
  margin: 40px 0 0 40px;
  width:150px;
}

.icon1{
  display: block;
  width: fit-content;
  margin: 70px 0 0 auto;
}
.icon2{
  display: block;
  width: fit-content;
  margin: 0 0 0 auto;
}

/*TOP*/

.top1 {
  position: relative;
  padding-top: 1em;
  font-weight: 500;
  font-size: 3rem;
  text-align: center;
  line-height: 4rem;
}

.top1::before {
  font-family: "Ms Madi", cursive;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  color: #ecf2f6;
  font-size: 5em;
  content: attr(data-word);
  pointer-events: none;
  white-space: nowrap;
}

a.button1 {
  color: inherit;
  text-decoration: none;
}
.button1{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    margin: 0 auto;
    padding: .8em 2em;
    border: 1px solid #333;
    border-radius: 100px;
    background-color: rgba(0,0,0,0);
    color: #333;
    font-size: 1em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .3s ease, color .3s ease;
}

.button1:hover{
    background-color: #333;
    color: #fff;
}

.top2{
	font-size: 1.6rem;
	line-height: 1.9rem;
}

footer img{
	width: 85px;
}

.footerNav a{
	color: #fff !important;
	text-decoration: none;
}

.footerNav li {
	padding: 0.25em 15px;
	text-align: center;
	border-left: 1px solid #fff;
}
.footerNav li:last-child {
	border-right: 1px solid #fff;
}

/*子ページ*/
.childHeader img{
	width: 100px;
}

h2 {
  position: relative;
  margin-top: 5em;
  margin-bottom: 1.8em;
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
}

h2::before {
  font-family: "Ms Madi", cursive;
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  color: #ecf2f6;
  font-size: 3em;
  content: attr(data-word);
  pointer-events: none;
  white-space: nowrap;
}
h3 {
    display: inline-block;
    position: relative;
    font-weight: 500;
	margin: 60px 0 40px;
	font-size: 1.6rem;
}

h3:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #3f7da1;
}
h4{
    font-weight: 500;
	margin: 30px 0 10px;
	font-size: 1.2rem;
}
.graySec{
	padding: 1.2rem;
	border: solid 1px #dcdcdc;
	border-radius: 8px;
}
.reformTable {
  width: 80%;
  table-layout: fixed;
  border-collapse: collapse;
}

.reformTable td:first-child {
  width: 50%;
}

.reformTable td:last-child {
  width: 50%;
  white-space: nowrap;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modalDesign {
  background-color: #fff;
  padding: 40px;
  transform: scale(0.8);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  width: 60%;
  overflow-y: auto;
  max-height: 85vh;
  font-size: 14px;
  line-height:24px;
	border-radius: 15px;
}

.modal.show {
  opacity: 1;
}

.modal.show .modalDesign {
  transform: scale(1);
  opacity: 1;
}

.modal ul {
    list-style-position: inside;
}
.modal ul li ,.hs2 ul li {
    padding-left: 1em;
    text-indent: -1em;
}
.close{
  cursor: pointer;
}
.menuWrap img:hover{
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
    transition: 0.3s;
	cursor: pointer;
}
.linkSec ul li{
	padding: 0.5rem 0;
}
.linkSec ul {
	margin-bottom: 0;
}


.formWrap {
	padding: 45px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	border: 1px solid #cccccc;
	border-radius: 5px;
	background-color: #fff;
	width: 60%;
	margin-top: 10px;
	padding: 8px 8px;
}
textarea {
	width: 100%;
	height: 130px;
}

input[type="checkbox"] {
  appearance: none; 
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  vertical-align:text-bottom;
  margin-right: 7px;
}

input[type="checkbox"]:checked {
  background-color: #3f91dd;
  border-color: #3f91dd;
  position: relative;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
input[type="radio"]{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    background: #fff;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 6px;
    position: relative;
}

input[type="radio"]:checked::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.required::after {
content: "*";
color: #ff0000;
margin-left:5px;
}
  /* 高さを揃える */
  .equal-row {
    display: flex;
    align-items: stretch;
  }

  /* 背景画像エリア */
  .concept-bg {
    background-image: url("../img/concept2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }


@media screen and (min-width: 481px) {
	.sponly {
		display: none;
	}
}


@media screen and (max-width: 480px) {
	.pconly {	
		display: none;
	}
	.top2{
        font-size: 1.2rem;
        line-height: 1.4rem;
	}
	.mainImg {
        background: url(../img/top1_sp.jpg) no-repeat center top;
        background-size: contain;
        width: 100%;
        aspect-ratio: 720 / 960;
    }
	.nav1 a{
        font-size: 1.1rem;
		line-height: 0.7rem;
        }
	.nav1{
        padding: 45px 0;
        }
	.gnav-trg .border{
		width: 25px;
		margin: 2.5px 0;
		height: 1px;
	}
	.gnav-trg .text {
		line-height: 1rem;
}
	.gnav-trg.is-open .border:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
		}
	.global-header {
        height: 50px;
        }
	.gnav-trg {
        width: 50px;
        height: 50px;
        }
	.icon1{
        margin: 50px 0 0 auto;
        }
	.icon1 img,
	.icon2 img{
        width: 50px;
        }
	.global-nav img{
		margin: 20px 0 20px 0;
		width:80px;
	}
	.footerNav li {
		padding: 0em 0;
		text-align: center;
		border-left: 0px solid #fff;
		border-right: 0px solid #fff;
	}
	.footerNav li:last-child {
		border-right: 0px solid #fff;
	}
	
	.top1 {
		font-size: 2rem;
		line-height: 3rem;
	}

	.top1::before {
		bottom: 0.8rem;
		font-size: 3.8em;
	}
	.childHeader img{
	width: 80px;
}
	
	.reformTable {
  width: 100%;
}

.reformTable td:first-child {
  width: 75%;
  padding-right: 20px;
}

.reformTable td:last-child {
  width: 25%;
}
	
.menuWrap{
	padding: 0 5px;
}
	
h4{
	font-size: 1rem;
}
h2 {
  margin-top: 3em;
  margin-bottom: 1.3em;
  font-size: 1.8rem;
}
h2::before {
  bottom: 0.2rem;
  font-size: 2.3em;
}
.modalDesign {
  padding: 10px;
  width: 90%;
}
.formWrap {
	padding: 25px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
}
	  .concept-bg {
    height: 240px;
  }
}