:root {
  color-scheme: light;
  --ink: #18302c;
  --muted: #727171;
  --line: #E3E3E3;
  --surface: #ffffff;
  --canvas: #f2f7f5;
  --accent: #3cced1;
  --accent-dark: #333;
  --accent-soft: #E0E3E2;
  --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;
}

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

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

}

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

.hero {
  margin-bottom: 36px;
text-align: center;	
}

.hero h1,
.complete-card h1 {
  margin:12px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.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: 40px;
  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:baseline;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-bottom: 2px solid var(--line);
  position: relative;	
}

.steps li:before,
.steps li:after{
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  right: -30px;
  width: 12px;
  height: 2px;
  border-radius: 9999px;
  background-color: #DBE3DB;
  transform-origin: calc(100% - 1.5px) 50%;
}

.steps li:before{
  transform: rotate(45deg);	
}

.steps li:after{
  transform: rotate(-45deg);	
}
.steps li:last-child:before,
.steps li:last-child:after{
	content:none;
}

.steps span {
/*  display: grid;
  width: 27px;
  height:27px;
  place-items: center;
  border-radius: 6px;
  background: #E3E3E3;
*/
  font-size:1.36rem;	
}

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

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

.card {
padding: 25px 25px 96px;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
border-radius: 15px;
text-align:left;
	background-color:  #EFFCF7;

}

.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: 6px;
  background: #fce8e6;
  color: var(--danger);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: 0.12em;
}

.opt {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 6px;
  background: #fff;
  color:#00842C;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: 0.12em;
}

.form {
  display: grid;
  gap: 10px;
}

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

.field,
fieldset.field {
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
display: flex;
align-items: center;
    border-bottom: #ccc solid 1px;
}

.field > label,
.field > legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 600;
	width:23%;
    float: left;
}

.field > div,
.field > div {
	width: 76%;
}

.field > div.flex{
	display: flex;
align-items: center;
    justify-content: space-around;	
}

.field > div.flex > div{
	width: 48%;
	display: flex;
align-items: center;	
}

.field > div .wp1{
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: #ccc dotted 1px;	
}

.field > div .wp1:last-child{
	border-bottom: none;
}

.field > div .wp2 > span{
	display: inline-block;
	width: 20%;
line-height: 1.6;
}

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


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

textarea {
  min-height: 140px;
  padding: 13px;
  resize: vertical;
margin: 4px 0;	
}

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

input.sW {
    width: 30%;
}

input.mW {
    width: 50%;
}

input.lW {
    width: 75%;
}


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

.choice-list label,
.agreement label {
  display: flex;
align-items: center;
  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:0 0 0;
  accent-color: var(--accent);
}

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

.captcha-field {

}

.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: 56px;
  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: 600;
  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: 3px 0 0;
  font-size: 0.87rem;
	padding: 0;
}

.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 36px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.button:hover {
  background: var(--accent-dark);
  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(--accent);
  background: #fff;
  color: var(--accent);
}

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

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

#headerLogo{
	text-align: center;
	margin: 0 auto;
}

#headerLogo h1{
	margin: 0;
	padding: 0;
}

#headerIn {
    background: #FFF;
    box-shadow: 0px 9px 8px -8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 9px 8px -8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
    overflow: hidden;
	text-align: center;
	padding: 10px 0;
width: 1280px;
}

#headerIn img{
    width: 256px;
}
#check #headerIn,
#complete #headerIn{
    width:100%;
}

#check #headerIn #headerLogo img,
#complete #headerIn #headerLogo img{
    width:200px;
}

@media (max-width: 680px) {
	
#headerIn {
    width: 100%;
    margin: 0;
    padding: 15px 4%;
}
#check #headerIn #headerLogo img,
#complete #headerIn #headerLogo img{
    width:160px;
}
	
  .page {
    width: min(100% - 24px, 920px);
    padding: 0;
  }

  .hero {
    margin-bottom: 24px;
  }

  .card {
    border-radius: 18px;
	  padding: 10px;
	  width: 96%;
  }
	
.field, fieldset.field {
    display: block;

}	
	
.field > label,
.field > legend {
	width:100%;
	float: none;
}

.field > div,
.field > div {
	width: 100%;
}
	
.field > div.flex {
    display: block;
}	
	
.field > div.flex > div {
    width:100%;

}	
	
input.sW {
    width: 45%;
}	

  .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;

  }
	
.captcha-image-row img {
     width: 200px;
}	
	

.button {
    padding: 12px 20px;
}

  .confirm-actions form,
  .confirm-actions .button,
  .actions .button {
    width: 100%;
  }
	
	.card > p.txt{
		text-align: left;
	}	
	
}

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