@charset "utf-8";

/* common
---------------------------------------------*/
* {margin:0;padding:0;}

a:link,a:visited {
	color: #ffffff;
	text-decoration:underline;
}
a:hover,a:active {
	color: #d90909;
	text-decoration:underline;
}

.impact   {font-size:20pt; font-weight:bold;}
.impact2  {color:red;}
.impact3  {background:yellow; color:#000;}
.impact5  {background:#173B50; padding:2px 5px; color:#fff;}
.impact6  {background:#f4f4f4; padding:3px; line-height:1.1;}
.impact7  {background: #B60000; padding:2px 5px; color:#fff;}
.style2   {color: #FF0000}
.style3   {color: #333333}
.style4   {color: #000000}

.underline-bold {
text-decoration: none;
  border-bottom: 6px solid #fce482;
  padding-bottom: 8px;
}


p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 63px;
  text-align: left;
}

.p2 {
    max-width: 800px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 63px;
    text-align: center;
}

.p3 {
  max-width: 800px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 63px;
  text-align: right;
}

p4 {
  max-width: 870px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 63px;
  text-align: left;
}

.p5 {
    max-width: 800px;
  margin: 0 auto;
  font-size: 60px;
  line-height: 63px;
    text-align: center;
}

.p6 {
    max-width: 800px;
  margin: 0 auto;
  font-size: 120px;
  line-height: 63px;
    text-align: center;
      font-weight: 600;
}

.p7 {
  max-width: 700px;
  margin: 0 auto;
  font-size: 40px;
  line-height: 85px;
  text-align: left;
        font-weight: 600;
}

.p8 {
  max-width: 700px;
  margin: 0 auto;
  font-size: 38px;
  line-height: 72px;
  text-align: left;
  font-weight: 500;
}
img{ border: none;}

/* ボタンのマウスオーバーで明るくする */
.btn:hover {
  filter: brightness(105%);
}


/* animation
---------------------------------------------*/

.fadeUp {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(.22,1,.36,1),
              transform 1.2s cubic-bezier(.22,1,.36,1);
}

.fadeUp.show {
  opacity: 1;
  transform: translateY(0);
}
/* layout
---------------------------------------------*/


/*TopIntro-Start*/
body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	min-width: 1002px;
	
  background-image: url(../images/bg.jpg);
	background-repeat: repeat;
	background-attachment: fixed;
	background-position: top center;
	
-webkit-text-size-adjust:none;
	
  text-align:center;
  font-size:18px;
    color: #393939;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

#header_01 { background: url("../images/header_01.webp") no-repeat top center; height:    2313px; } 
#header_02 { background: url("../images/header_02.webp") no-repeat top center; ;  height:    1127px; } 
#header_03 { background: url("../images/header_03.webp") no-repeat top center; ;  height:    2597px; } 
#header_04 { background: url("../images/header_04.webp") no-repeat top center; ;  height:    1687px; } 
#header_05 { background: url("../images/header_05.webp") no-repeat top center; ;  height:    2668px; } 
#header_06 { background: url("../images/header_06.webp") no-repeat top center; ;  height:    2594px; } 
#header_07 { background: url("../images/header_07.webp") no-repeat top center; ;  height:    1500px; } 
#header_08 { background: url("../images/header_08.webp") no-repeat top center; ;  height:    2600px; } 
#header_09 { background: url("../images/header_09.webp") no-repeat top center; ;  height:    870px; } 
#header_10 { background: url("../images/header_10.webp") no-repeat top center; ;  height:    3422px; } 
#header_11 { background: url("../images/header_11.webp") no-repeat top center; ;  height:    650px; } 
#header_12 { background: url("../images/header_12.webp") no-repeat top center;  height:    457px; } 
#header_14 { background: url("../images/header_14.webp") no-repeat top center;height:    475px; } 
#header_15 { background: url("../images/header_15.webp") no-repeat top center; ;  height:    133px; } 
#header_16 { background: url("../images/header_16.webp") no-repeat top center; ;  height:    729px; } 


#wrap1 {

	background-image: url("../images/header_13.webp");
	background-repeat: repeat-y;
	background-position: center top;
	background-position:50% 0%;
  margin-top: -1px;
  margin-bottom: -1px;
}

#wrap2 {

	background-image: url("../images/header_15_1.webp");
	background-repeat: repeat-y;
	background-position: center top;
	background-position:50% 0%;
}


#wrap3 {

	background-image: url("../images/wrap3.png");
	background-repeat: repeat-y;
	background-position: center top;
	background-position:50% 0%;
    margin-top: -1px;
  margin-bottom: -1px;
}
#wrapform {

	background-image: url("../images/wrapform.png");
	background-repeat: repeat-y;
	background-position: center top;
	background-position:50% 0%;
}


#container {

	text-align:left;
	width:1000px;
	margin:0 auto;
	
	
}

#text {

	text-align:left;
	width:850px;
	margin:0 auto;
	
	
}

#textwhite {

	text-align:left;
	width:850px;
	margin:0 auto;
	color: #fff;
	
}

#texts2 {

	text-align:left;
	width:750px;
	position: relative;
	margin-top:170px;
	margin-left:400px;
	
	
}

#texts3 {

	text-align:left;
	width:850px;
	margin-top:250px;
	margin-left:170px;
	
	
}


.container {

	text-align:left;
	width:1200px;
	margin:0 auto;
	
	
}

.white {
  color: #fff;
}

.text-center {
  text-align: center;
}

#footer {  
	background-color: #2d74b1;
}
--------------------------- */

ol,
ul{
	list-style-position: inside;
	padding-left:10px;
}
ol li,
ul li{
	text-align:left;
}

.btn_01 {
  transition: transform 0.3s ease;
}

.btn_01:hover {
  transform: scale(1.08);
  filter: brightness(102%);
}


.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 24px; /* ← スマホ余白UP */
  color: #463734;
}



/* 各項目 */
details {
  border-bottom: 2px solid #cce9fe;
  padding: 24px 0; /* ← 少しゆったり */
  transition: 0.3s;
}

/* 開いた背景 */
details[open] {
  background: #faf7f4;
  border-radius: 16px;
  padding: 20px;
}

/* 質問行 */
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

/* Q（質問） */
.q-text {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  padding-top: 5px;
  display: flex;
}

  .faqtext {
    padding-left: 20px;
  
}

  .faqtext {
    padding-left: 20px;
  
}
/* 丸＋ */
summary::after {
  content: "▼";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-bottom: 10px;
}

details[open] summary::after {
  content: "−";
}

/* A（回答） */
.faq-content {
  margin-top: 20px;
  font-size: 32px; /* ← 大きく */
  line-height: 2.0; /* ← 読みやすく */
  text-align: left;
  display: flex;
}

/* PC */
@media (min-width: 1003px) {

  .faq {
    padding: 40px 20px;
  }


  .q-text {
    padding-left: 0px;
  }

  .faq-content {
    font-size: 30px;
  }
}



.mark {

  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 20px;
}

.q {
  background: #2d74b1;
}

.a {
  background: #f45250;
}

body {
  margin: 0;
  font-family: sans-serif;
}

.fv_cta-img {
  display: flex;
  justify-content: center;
}

.hissu {
    color: #fff;
    background: #ac070f;
    border-color: #ac070f;
    line-height: 1;
    display: inline-block;
    padding: 3px 4px;
    margin-left: 10px;
    vertical-align: 2px;
    font-weight: normal;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    font-size: 24px;
}

.reserve-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

.reserve-form label {
  display: block;
  margin-bottom: 20px;
  font-size: 36px;
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  width: 100%;
  padding: 14px;
  font-size: 34px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: 2px solid #787878;
  border-radius: 6px;
  box-sizing: border-box;
  height: 70px;
}

@media (max-width: 1002px) {
.reserve-form input,
.reserve-form select {
    height: 100px;
}
}

.reserve-form1 {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

.reserve-form1 label {
  display: block;
  margin-bottom: 20px;
  font-size: 36px;
}

.reserve-form1 input,
.reserve-form1 select {
  width: 100%;
  padding: 14px;
  font-size: 34px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: 2px solid #787878;
  border-radius: 6px;
  box-sizing: border-box;
  height: 70px;
}


@media (max-width: 1002px) {
.reserve-form1 input,
.reserve-form1 select {
    height: 100px;
}
}


input {
  scroll-margin-top: 150px;
}

@media (max-width: 1002px) {
  .header {
    position: fixed !important;
  }

  .header::before {
    content: "";
    position: absolute;
    top: -40px; 
    left: -20px;
    width: 120%; /* 左右の隙間もカバーできるように少し広めに設定 */
    height: 40px;
    background-color: #ffffff; 
    z-index: -1;
  }
}

/* 画面上部の固定お問い合わせヘッダー */
:root {
  --fixed-contact-height: calc(min(100vw, 700px) * 233 / 992);
}
html {
  scroll-padding-top: calc(var(--fixed-contact-height) + env(safe-area-inset-top, 0px) + 16px);
}
body.has-fixed-contact {
  padding-top: calc(var(--fixed-contact-height) + env(safe-area-inset-top, 0px) - 2px);
}
.fixed-contact {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  padding: env(safe-area-inset-top, 0px) 0 0;
  background-color: #2d74b1;

  
}
.fixed-contact__inner {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 700px;
  margin: 0 0 0 auto;
}
.fixed-contact__link {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  line-height: 0;
}
.fixed-contact__link img {
  display: block;
  width: 100%;
  height: auto;
}
.fixed-contact__link[href]:hover {
  filter: brightness(1.08);
}
.fixed-contact__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

/* PC: 既存のボタンサイズ・右寄せを維持 */
@media (min-width: 1003px) {
  :root {
    --fixed-contact-height: calc(195px * 233 / 496 + 8px);
  }

  .fixed-contact__inner {
    max-width: 400px;
    gap: 10px;
    padding-right: 20px;
  }

  .fixed-contact {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
       background-color: #2d74b1;
  }
  

}


/* 約6秒ごとに、白い光がボタンを横切る */
.fixed-contact__link {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.fixed-contact__link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,
    transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  transform: translateX(-150%);
  animation: fixed-contact-shine 4s ease-in-out infinite;
}
.fixed-contact__link:nth-child(2)::after {
  animation-delay: 0.2s;
}
.fixed-contact__link:nth-child(3)::after {
  animation-delay: 0.4s;
}
@keyframes fixed-contact-shine {
  0%, 75% { transform: translateX(-150%); }
  90%, 100% { transform: translateX(150%); }
}
@media (prefers-reduced-motion: reduce) {
  .fixed-contact__link::after {
    animation: none;
    display: none;
  }
}

/* ご相談内容は3行分の複数行入力欄 */
.reserve-form textarea {
  height: auto;
  min-height: calc(3 * 1.5em + 32px);
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  scroll-margin-top: 150px;
}

/* フォーム内で読めるプライバシーポリシー */
.reserve-form .privacy-intro {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.6;
}
.privacy-policy-title {
  margin-bottom: 12px;
  font-size: 30px;
  text-align: left;
}
.privacy-policy-scroll {
  width: 100%;
  height: 250px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  margin-bottom: 24px;
  padding: 24px;
  border: 2px solid #787878;
  border-radius: 6px;
  background: #fff;
  color: #393939;
  text-align: left;
  overflow-wrap: anywhere;
}
.privacy-policy-scroll h3 {
  margin: 24px 0 8px;
  font-size: 26px;
  line-height: 1.6;
}
.privacy-policy-scroll h3:first-child {
  margin-top: 0;
}
.reserve-form .privacy-policy-scroll p {
  margin: 0;
  font-size: 24px;
  line-height: 1.8;
  text-align: left;
}
.privacy-policy-scroll:focus-visible {
  outline: 3px solid #2d74b1;
  outline-offset: 3px;
}
