@charset "utf-8";
/* CSS Document */

/* レイアウト崩れ防止 */
*,
*::before,
*::after{
  box-sizing:border-box;
}

img{
  max-width:100%;
  height:auto;
}

body{
  margin: 0;
  font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","sans-serif";
  line-height: 1.7;
  color: #111;
  background: #ffffff;
}

/* ---- Layout ---- */
.backcolor{
	background-color: #cde8ff;
}

.container{
  max-width: 100%;
  margin: 20px auto 0 auto;
  padding: 0 0;
}

.container2{
  max-width: 100%;
  margin: 20px 30px 0 30px;
  padding: 0 0;
}

.hero-box-none{
    display: inline-block; 
	text-align: center;
	letter-spacing: 1px;
	color: #003399;
	font-weight: bold;
	line-height: 1.4;
    border-bottom: solid 10px #ffcc00;
	margin-bottom: 50px;
}
	
.thanks {
  text-align: center;
	margin: 200px 0;
}


@media screen and (max-width: 768px){
.thanks {
  text-align: center;
  margin: 120px 0;
}
}
	
.sub {
	line-height: 1.5;
	text-align: center;
	padding: 30px 5px;
	letter-spacing: 1.3px; 
	list-style: none;
	font-size: calc(2rem + ((0.8vw - 0.74rem) * 2.6));
	font-weight: 600;
	color: #003399;
    }

h4{
  font-size: calc(3.2rem + ((1vw - 0.73rem) * 4));
  margin-bottom: 3px;
}

@media screen and (max-width: 768px){
.hero-box-none{
    display: inline-block; 
	text-align: center;
	letter-spacing: 1px;
	color: #003399;
	font-weight: bold;
	line-height: 1.4;
    border-bottom: solid 7px #ffcc00;
	margin-bottom: 50px;
}
	
.thanks {
  text-align: center;
	margin: 120px 0;
}
	
.sub {
	line-height: 1.4;
	text-align: center;
	padding: 3px 5px;
	margin: 40px 5px 15px 5px;
	letter-spacing: 1.3px; 
	list-style: none;
	font-size: calc(2rem + ((0.87vw - 0.7rem) * 2));
	font-weight: 600;
	color: #003399;
    }
	
h4{
  font-size: calc(3.2rem + ((1vw - 0.63rem) * 4.2));
  margin-bottom: 3px;
}
	
/* CTA分の余白確保（下に隠れないように） */
  body{
	padding-bottom: 40px;
	}
}

/* ---- Sticky Header (CTA) ---- */
header.sticky{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid #cccccc;
}

.header-container{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
}
	
.logo {
	width: auto;
}



/* お問い合わせフォーム */
.required::after{
content:" ※必須";
color:#e60023;
font-weight:bold;
margin-left:5px;
}

.form-container {
  width: 90%;
  max-width: 700px;
  margin: 25px auto 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

@media screen and (max-width:768px){

.form-container{
  width:92%;
  padding:20px;
}
}

h1 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 24px;
  color: #003dad;
}

h2{ 
	  clear: both;
      text-align: center;
      margin: 0 auto 25px auto ;
      font-size: calc(1.4rem + ((0.6vw - 0.65rem) * 1.7));
      letter-spacing: 1px;
      width: fit-content;
	 }


@media screen and (max-width: 768px){
  h2{ 
	  clear: both;
      text-align: center;
      margin: 0 auto 25px auto ;
      font-size: calc(2rem + ((0.3vw - 0.74rem) * 1.8));
      letter-spacing: 1px;
      width: fit-content;
	 }
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.2s;
}
input,
textarea{
  box-sizing:border-box;
}

input:focus,
textarea:focus {
  border-color: #0073e6;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="checkbox"] {
  margin-right: 6px;
}

button {
  background: #0073e6;
  color: #fff;
	margin: 10px 0 20px 0;
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  opacity:0.7;
}

.required {
  color: red;
  font-size: 12px;
}

.error {
  background: #ffe5e5;
  color: #d00000;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: bold;
}

/* チェックボックス整理 */
.checkbox-group {
  background: #f7f9fc;
  border: 1px solid #e0e6f0;
  padding: 15px;
  border-radius: 6px;
}
  .checkbox-group label {
    font-size: 17px;
  }

  .form-group label {
    font-size: 17px;
  }

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  margin-bottom: 8px;
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.1);
}

/* エラー（入力欄直下用） */
.error-text {
  color: #d00000;
  font-size: 13px;
  margin-top: 5px;
}

/* エラー（上部集約用） */
.error-box{
background:#ffecec;
border:1px solid #ffb3b3;
padding:15px;
margin-bottom:20px;
}

.error-box ul{
margin:0;
padding-left:20px;
}

.error-box li{
color:#cc0000;
}

/* 確認画面（dl対応） */
.confirm-box {
  background: #f9fbff;
  border: 1px solid #dbe6ff;
  padding: 20px;
  border-radius: 8px;
}

.confirm-box dt {
  font-weight: bold;
  margin-top: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e5e5e5;
}

.confirm-box dd {
  margin: 8px 0 0 0;
  padding-left: 5px;
}

/* ボタン横並び（確認画面） */
.button-area {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.button-area button {
  width: 100%;
}

.btn-secondary {
  background: #6c757d;
}

.btn-secondary:hover {
  background: #545b62;
}

/* ===== スマホ最適化 ===== */
@media screen and (max-width: 768px) {

  .form-container {
    padding: 25px;
    margin: 20px auto;
  }

  h1 {
    font-size: 20px;
  }

  button {
    font-size: 16px;
    padding: 12px;
  }
	
  .checkbox-group {
    padding: 12px;
  }

  .checkbox-group label {
    font-size: 14px;
  }

  .form-group label {
    font-size: 14px;
  }

  .button-area {
    flex-direction: column;
  }
}

/* footer */
div#footer {
	clear: both;
	position: relative;
	background-color: #003dad;
	color: #ffff33;
}

div#footer ul.links-x4 {
	text-align: center;
	margin: 10px auto 0px auto;
}

div#footer ul.links-x4  li {
	display: inline;
	background-image: url(../image/list_image12.gif);
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 90%;
	letter-spacing:1px;
	padding: 13px;
}

div#footer ul.links-x4 a {
	color: #ffff00;
	text-decoration: none;
}

div#footer ul.links-x4 a:hover{
	color: #ffffff;
    text-decoration: underline;
}

address {
	clear: both;
	text-align: center;
	color: #FFFFFF;
	font-style: normal;
	margin-top: 4px;
	padding: 2px 0 15px 0;
	letter-spacing: 1px;
	word-spacing: 1px;
	background: #003dad;
}