: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;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.7;
}

body {
  margin: 0;
  min-width: 320px;
      background-color: #f0f0f0;
}

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

.fReq {
    color: #f00;
    font-size: 80%;
    font-weight: bold;
}


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

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

.hero {
  max-width: 680px;
  margin-bottom: 36px;
}

.hero h1,
.complete-card h1 {
  margin: 4px 0 12px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero p,
.complete-card > p {
  color: var(--muted);
}

.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 {
  border-radius: 24px;
	margin-top: 40px;
}

.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: 40px;
}

.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-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  min-height: 50px;
  padding: 10px 13px;
}

textarea {
  min-height: 170px;
  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-field #captcha {
	max-width: 400px;
}
.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;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: none!important;
	width: 100%;
  border-radius: 999px;
      background-color: #de0300;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
	    font-size: 24px;
}

.button:hover {
  background: #898989;
  transform: translateY(-1px);
}

.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: 76%;
    padding: 0 0 60px;
  }

  .hero {
    margin-bottom: 24px;
  }

  .card {
    border-radius: 18px;
  }

  .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,
  .actions .button {
    width: 100%;
  }
.button {
      padding: 0.5em 1.5em;
	    font-size: 20px;
}

}

@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;
  }
}


.field {
	display: flex;
}
.field .leftBox{
	width: 300px;
}
.field .rightBox{
	flex: 1;
}


 input#address{
	width: 100%;
}
.addressBox .rightBox {
	display: flex;
	gap: 15px;
	flex-direction: column;
}

.sidebyside {
	display: flex;
	gap: 10px;
	align-items: center;
}

.sidebyside #postal-code {
	max-width: 300px;
}


label .fS {
	font-szie: 0.7em;
}

@media (max-width: 768px) {
	.field {
	flex-direction: column;
		
}
.field .leftBox{
	width: 100%;
}
.field .rightBox{
	width: 100%;
}
}





/*check*/
#check {
font-family: 'Shippori Mincho', serif!important;	
}

#check .page {
	padding: 0 0 80px ;
}
#check .hero {
  max-width:none;
  margin-bottom: 36px;
	padding-top: 40px;
}
#check .hero img{
	width: 70%;
	max-width: 260px;
	margin: 0 auto 40px;
	display: block;
	    height: auto;
}
#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;
}
#check .button {
	border:none;
	width: auto;
	    font-size: 20px;
}
#check .button-secondary {
	border:none;
	background: #dddddd;
	width: auto;
	font-size: 20px;
}
#check .card {
	padding: 0;
}


@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: 300px;
		margin: auto;
		 font-size: 18px;
}
#check .button-secondary {
	width: 100%;
	max-width: 300px;
	margin: auto;
	font-size: 18px;
}
	
	
	
}






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


.page-compact h1{
	text-align: center;
}

.complete-card .backBtn{
	display: inline-block;
	background-color: #de0300;
	padding:10px 20px;
	max-width: 200px;
	margin: auto;
	text-decoration: none;
	color: #fff;
	margin-top: 30px;
	border-radius: 100px;
	
}


@media (max-width: 768px) {

.complete-card{
	margin: 00px 0 60px;
}
	.complete-card p {
		text-align: left;
	}
}

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