:root {
  color-scheme: light;
  --ink: #18302c;
  --muted: #60716d;
  --line: #d8e2df;
  --surface: #ffffff;
  --canvas: #f2f7f5;
  --accent: #087b67;
  --accent-dark: #056252;
  --accent-soft: #dff3ed;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --shadow: 0 22px 60px rgba(22, 56, 49, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
 
  color: var(--ink);
  line-height: 1.7;
}

body {
  margin: 0;
  min-width: 320px;
    
}

button,
input,
select,
textarea {
  font: inherit;
	
}

.page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
	
}

.page-compact {
  max-width: 720px;
}



.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-bottom: 3px solid var(--line);
}

.steps span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #dfe8e5;
  font-size: 0.76rem;
}

.steps .is-current {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.steps .is-current span {
  background: var(--accent);
  color: #fff;
}

.card {
  background: var(--surface);

}


.card .waku{
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.required-note {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fce8e6;
  color: var(--danger);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.6;
  vertical-align: 0.12em;
}

.form {
  display: grid;
 /* gap: 28px;*/
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field,
fieldset.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 750;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid #bdcbc7;;
  background: #f2f2f2;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
	border-radius: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  padding:3px 12px;
  
}

textarea {
/*  max-height: 100px;*/
  padding: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(8, 123, 103, 0.13);
}

[aria-invalid="true"] {
  border-color: var(--danger) !important;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-list label,
.agreement label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfc;
  cursor: pointer;
}

.choice-list input,
.agreement input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--accent);
}

.agreement {
  padding: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
}

.captcha-field {
  max-width: 480px;
}

.captcha-image-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.captcha-image-row img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 76px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f9f7;
}

.captcha-refresh {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.field-error,
.form-alert {
  color: var(--danger);
  font-weight: 700;
}

.field-error {
  margin: 6px 0 0;
  font-size: 0.87rem;
}

.form-alert {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid #f4b7b2;
  border-radius: 10px;
  background: var(--danger-soft);
}

.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.actions,
.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
    color: #FFF;
    background-color: #009e8f;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
	border-radius: 8px;
	width: 120px;
	text-align: center;
}

.actions input {
    padding: 10px 20px;
    color: #FFF;
    background-color: #009e8f;
	border-radius: 8px;
	width: 120px;
	text-align: center;
}
.button:hover,
.actions input:hover{
 opacity: 0.7
}






.button:focus-visible {
  outline: 3px solid rgba(8, 123, 103, 0.28);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  background: #eef4f2;
}

.confirm-list {
  margin: 0;
}

.confirm-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-row:first-child {
  padding-top: 0;
}

.confirm-row dt {
  font-weight: 800;
}

.confirm-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.confirm-actions {
  margin-top: 36px;
}

.complete-card {
  text-align: center;
}

.complete-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
}

.complete-card.is-error .complete-mark {
  background: var(--danger-soft);
  color: var(--danger);
}

.complete-card.is-error .eyebrow {
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .page {
	  width: 100%;
    padding: 0;
  }


  .card {
    border-radius: 18px;
  }
  .card .waku {
    gap: 15px;
}
  .field-grid,
  .confirm-row {
    grid-template-columns: 1fr;
  }

  .field-grid {
    gap: 28px;
  }

  .confirm-row {
    gap: 4px;
  }

  .choice-list {
    flex-direction: column;
  }

  .captcha-image-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .confirm-actions {
    flex-direction: column-reverse;
  }

  .confirm-actions form,
  .confirm-actions .button{
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* php_partsで読み込む付属header例の仮デザインです。 */
.example-site-header {
  background: #16324f;
  color: #fff;
}

.example-site-header__inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.example-site-header a {
  color: inherit;
  text-decoration: none;
}

.example-site-header__logo {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.example-site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.example-site-header__nav a:hover,
.example-site-header__nav a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .example-site-header__inner {
    min-height: 56px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }
}

.formwarp {
	  /*  max-width: 610px;*/
    margin: auto;
	padding: 0;
	margin-left: 30px;
}



.fifBox {
	display: flex;
	align-items: stretch;
	border-bottom: 1px dotted #c3c2c2;
	padding-bottom: 20px;
	
}
.fifBox .leftBox {
    background-color: #fff;
	width: 180px;
	padding: 8px 15px;
	margin-bottom: 0px;
	display: flex;
	align-items: center;
	    font-size: 14px;
	/*border-bottom: dotted #351b00 1px;*/
}
.fifBox .rightBox {
	   background-color: #fff;
	flex: 1;
	 padding: 8px 15px;
	/*border-bottom: dotted #351b00 1px;*/
}



.fifBox .rightBox .cp {
	font-size: 14px;
    line-height: 1.4;
    background-color: #eff8f4;
    margin-top: 0px;
    margin-left: 0px;
    padding: 15px 20px;
	border-radius: 8px
}
.messagBox .rightBox,
.addressBox  .rightBox {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.addressBox .sidebyside{
	display: flex;
	align-items: center;
	gap: 10px;
}
.addressBox .sidebyside #postal-code {
	max-width: 160px;
}


 textarea {
	background: #f2f2f2!important;
	     border: 1px solid #bdcbc7!important;
	 border-radius: 5px!important;
}
@media (max-width: 768px) {
	.formwarp {
	padding:0 20px 30px;
		margin: 0;
}
	
.fifBox {
	flex-direction: column
	
}	
.fifBox .leftBox {
	width: 100%;
}
.fifBox .rightBox {
	 width: 100%;
	 padding-bottom: 15px;
}
	
	
	
}





/*check*/


#check .page {
	padding: 0 ;
}
#check .hero {
 
  margin-bottom: 36px;
}
#check .hero img{
	width: 100%;
	max-width: 740px;
	margin: 0 auto 40px;
	display: block;
}
#check  .hero h1,
#check  .complete-card h1 {
  margin: 4px 0 12px;
  font-size: clamp(20px, 6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.035em;
	text-align: center;
}

#check  .hero p,
#check  .complete-card > p {
  color: var(--muted);
margin: 0 20px;
}
#check .button {
	border:none;
	width: auto;
}
#check .button-secondary {
	border:none;
	background: #dddddd;
	width: auto;
}
#check .card {
	padding: 20px;
}


@media (max-width: 768px) {
	
#check	.confirm-actions {
		display: flex;
 flex-direction: column;
	align-items: center;
	}	
	.confirm-actions form{
		text-align: center
	}
	#check .button {
	width:100%;
		max-width: 200px;
		margin: auto;
}
#check .button-secondary {
	width: 100%;
	max-width: 200px;
	margin: auto;
}
	
	
	
}






.complete-card{
	margin: 60px 20px 60px 40px;
}


.complete-card h1{
	 font-size: clamp(20px, 6vw, 30px);
	margin-bottom: 20px;
}

.complete-card .backBtn{
	display: inline-block;
	background-color: #009e8f;
	padding:10px 20px;
	max-width: 160px;
	margin: auto;
	text-decoration: none;
	color: #fff;
	margin-top: 20px;
	
}


@media (max-width: 768px) {

.complete-card{
	margin: 40px 20px 60px;
}

}

p.leadtext {
	font-size: 14px;
}




#mainCionte h1 {
	padding: 60px 40px;
	background: #eff8f4 url("../images/mail_img.png")no-repeat;
	background-position: bottom right 5%;
	    background-size: 25%;
	    margin-left: 30px;
	margin-bottom: 40px;
	border-radius: 0 50px 0 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
	
}

#mainCionte h1::after{
	content:"";
	display: block;
	width: 60px;
	height: 4px;
	border-radius: 4px;
	background: #2e5f4c;
}


@media (max-width: 768px) {
	#mainCionte h1 {
		padding: 40px 40px;
		margin-bottom: 20px;
		  margin-left: 0;
		font-size: 20px;
		margin-right: 20px;
		background-size: 30%;
	}
p.leadtext {
	font-size: 14px;
	padding: 25px 15px 30px;
}

}
