@charset "utf-8";
/* CSS Document */
html {
	font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
	color: #000;
	font-size: 62.5%;
}
body {
	color: #0d1c26;
	letter-spacing: 1px;
	font-size: 1.6rem;
	line-height: 2.0;
	font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
	;
	font-feature-settings: 'palt'1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
}

@media screen and (max-width: 780px) { /*---------------------------SP----- */
	body {
		font-size: 1.5rem;
		line-height: 1.875em;
		letter-spacing: 0.1em;
	}
}

@media only screen and (min-width: 781px) {
    .sp { display: none!important; }
    .pc { display: block; }
}
@media only screen and (max-width: 780px) {
    .pc { display: none!important; }
    .sp { display: block!important; }
}
@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

/* header
--------------------------------------------------------*/
header {
	padding: 40px 30px;
	border-top: 8px solid #B93831;
}
header .logo {
	width: 150px;
	margin: 0 auto;
}
@media screen and (max-width: 780px) { /*---------------------------SP----- */
	header {
		padding: 40px 30px 20px;
		border-top: 6px solid #B93831;
	}
	header .logo {
		width: 150px;
		margin: 0 auto;
	}
}



/* form
--------------------------------------------------------*/
.form {
	padding: 0 30px 140px;
}
.form h2 {
	font-size: 3.0rem;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-align: center;
	margin-bottom: 40px;
}


form#mailformpro {
    max-width: 680px;
    margin: 0 auto;
}
form#mailformpro input, form#mailformpro select {
	width: 100%;
	padding: 10px 14px;
	background-color: #F2F5FA;
	border: none;
}
form#mailformpro textarea {
	width: 100%;
	padding: 10px 14px;
	background-color: #F2F5FA;
	border: none;
}
form#mailformpro .agree {
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 30px;
}
form#mailformpro .agree a {
	color: #D90313;
}
form#mailformpro button {
	width: 240px;
	margin: 0 auto;
	padding: 0;
	border: none;
	background-color: transparent;
	display: block;
	cursor: pointer;
}
form#mailformpro button img:hover {
	opacity: 0.7;
	transition: all 0.3s;
}
@media screen and (max-width: 780px) { /*---------------------------SP----- */
	.form {
		padding: 0 30px 4em;
	}
	.form h2 {
		font-size: 2.0rem;
		margin-bottom: 1em;
	}
	form#mailformpro {
		max-width: 100%;
	}
	form#mailformpro .agree {
		margin-bottom: 20px;
		text-align: justify;
		font-size: 1.4rem;
		line-height: 1.5;
	}
	form#mailformpro button {
		max-width: 100%;
		width: 70%;
	}
	form#mailformpro dl {
		margin-bottom: 24px!important;
	}
}




/* footer
--------------------------------------------------------*/
.l-footer {
  background-color: #202020;
  color: #fff;
  padding-block: 4rem;
}
@media screen and (max-width: 767px) {
  .l-footer {
    padding-block: 5rem;
  }
}
.l-footer__body {
  display: flex;
  justify-content: center;
  gap: 4rem;
}
@media screen and (max-width: 767px) {
  .l-footer__body {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}
.l-footer__link {
  color: #fff;
  font-weight: bold;
  line-height: 1.4375;
  display: flex;
  align-items: center;
  gap: 0.5rem;
	text-decoration: none;
}
@media screen and (max-width: 767px) {
  .l-footer__link {
    font-size: 1.5rem;
    line-height: 1.5333333333;
  }
}
@media (hover: hover) and (pointer: fine) {
  .l-footer__link {
    transition: 0.3s;
    transition-property: opacity;
  }
  .l-footer__link:hover {
    opacity: 0.7;
  }
}
.l-footer__link::before {
  content: "";
  display: block;
  width: 1.6rem;
  aspect-ratio: 1/1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.l-footer__link.key::before {
  background-image: url(image/icon_key.svg);
}
.l-footer__link.hp::before {
  background-image: url(image/icon_hp.svg);
}
.l-footer__comm {
  text-align: center;
  font-size: 1.2rem;
  line-height: 2.6666666667;
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .l-footer__comm {
    font-size: 1rem;
    line-height: 3.2;
  }
}
.l-footer__copy {
  text-align: center;
  font-size: 1.2rem;
  line-height: 2.6666666667;
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .l-footer__copy {
    font-size: 1rem;
    line-height: 3.2;
  }
}




/* サンクスページ
--------------------------------------------------------*/
.thanks {
	max-width: 800px;
	margin: 0 auto 160px;
}
.thanks h1 {
	text-align: center;
	border-bottom: 2px solid #B93831;
	font-size: 3.0rem;
	margin-bottom: 60px;
	padding-bottom: 20px;
}
.thanks p {
	text-align: center;
	line-height: 2.0;
	margin-bottom: 1.4em;
}
.thanks_btn a {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 320px;
	margin: 60px auto 20px;
	padding: 1rem 1rem;
	font-weight: bold;
	border: 2px solid #B93831;
	color: #B93831;
	transition: 0.5s;
}
.thanks_btn a:hover {
	color: #fff;
	background: #B93831;
}
@media screen and (max-width: 780px) { /*---------------------------SP----- */
	.thanks {
		max-width: 100%;
		margin: 0 auto 8em;
		padding: 20px 20px 0;
	}
	.thanks h1 {
		font-size: 1.8rem;
		margin-bottom: 40px;
		padding-bottom: 14px;
	}
	.thanks p {
		text-align: justify;
		line-height: 2.0;
		margin-bottom: 1.4em;
	}
	.thanks p br {
		display: none;
	}
	.thanks_btn a {
		width: 84%;
	}
}



/* ポップアップ表示
+++++++++++++++++++++++++++++++++++++ */
.popup {  /* ポップアップの背景 */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 0, 0, 0.7);
    z-index: 500;
    text-align: center;
    opacity: 0; /* 最初は透明 */
    transition: opacity 0.3s; /* アニメーションを適用 */
}
.popup-content {  /* ポップアップコンテンツ */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 3% 5%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	width: 60%;
	max-width: 800px;
}
.popup-content h4 {
	font-family: 'Noto Serif JP', serif;
	font-size: 2.4rem;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-align: center;
	padding-bottom: 20px;
	margin-bottom: 30px;
	position: relative;
	line-height: 1.4;
}
.popup-content h4::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background-color: #D90313;
    position: absolute;
    left: 50%; /* 横方向の中央揃え */
    transform: translateX(-50%); /* 横方向の中央揃え */
    bottom: 0; /* 下に配置 */
}
.popup-content .txt {
	overflow-y: scroll;
	height: 220px;
	margin-bottom: 50px;
	padding-right: 30px;
}
.popup-content .txt::-webkit-scrollbar{
	width: 6px;
}
.popup-content .txt::-webkit-scrollbar-track{
	background-color: #ccc;
}
.popup-content .txt::-webkit-scrollbar-thumb{
	background-color: #BB494B;
}
.popup-content .txt p:last-child {
	margin-bottom: 0;
}
.popup-content .txt .btn a {
	text-decoration: none;
	display: inline;
	background-color: #F2F5FA;
	color: #000;
	padding: 10px 20px;
	line-height: 1;
	font-weight: bold;
}
.popup-content .txt .btn a::before {
    content: "";
    display: inline-block;
    background: url('image/popup_icon.png') no-repeat; /* アイコン画像のURLを指定 */
    width: 16px; /* アイコンの幅 */
    height: 16px; /* アイコンの高さ */
    margin-right: 10px; /* テキストとアイコンの間隔を調整 */
}
.close-popup {  /* 閉じるボタン */
    font-size: 1.6rem;
	font-weight: bold;
	color: #fff;
    cursor: pointer;
	line-height: 1;
	padding: 10px 50px;
	background-color: #D90313;
}
.close-popup:hover {
	opacity: 0.7;
	transition: all 0.3s;
}
@media screen and (max-width: 780px) { /*---------------------------SP----- */
	.popup-content {  /* ポップアップコンテンツ */
		padding: 8% 5%;
		width: 90%;
		max-width: 100%;
	}
	.popup-content h4 {
		font-size: 2.0rem;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	.popup-content h4::after {
		width: 80px;
	}
	.popup-content .txt {
		overflow-y: scroll;
		height: 220px;
		margin-bottom: 40px;
		padding-right: 14px;
	}
	.close-popup {  /* 閉じるボタン */
		font-size: 1.4rem;
	}
}



