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

}

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

.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 {
  padding:0;
margin: 30px auto;
max-width: 900px;
	text-align: left;
}

.required-note {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.badge {
display: inline-block;
    background-color: #e6002f;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    margin: 5px 0 0 5px;
    padding: 3px 5px;
float: right;	
}

.form {
  display: grid;
}

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

.field,
fieldset.field {
  min-width: 0;
  margin: 0;
padding: 14px 0;
  border: 0;
display: flex;
    align-items: flex-start;
	justify-content: space-between;
	
}

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

.field > div,
fieldset.field > div {
	width: 80%;
}

.nWp > div{
	display: inline-block;
	width: 30%;
    margin: 0 1%;	
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
/*  width: 100%;*/
border: 1px solid #dadada;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
background-color: #f7f7f7;	
text-align:left !important;	
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  min-height: 40px;
    padding: 3px 8px;
	width: 98%;
}

textarea {
  min-height: 120px;
    padding: 3px 8px;
  resize: vertical;
}

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

input.wS{
	width: 30%;
}

[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: 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: 4px 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: 750;
  cursor: pointer;
}

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

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

.field-error {
  margin: 0 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);
}

.note{
    margin: 0 0 10px;
    line-height: 1.5;
}

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

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

.button {
    background-color: #332f2f;
    border: 0;
    color: #fff;
    outline: 1px solid;
/*    outline-color: #332f2f;*/
    padding: 14px 30px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: .05em;
    line-height: 1;
    outline-offset: 0;
    display: inline-block;
    transition: .3s;
    margin: 0 10px;
	border-radius: 6px;
    position: relative;
	cursor: pointer;
}

.button:hover {

}

@media (hover: hover) {
    .button:hover {
        cursor:pointer
    }

    .button[type=reset]:hover {
        color: #e6002f;
        border-color: currentColor
    }

    .button[type=submit]:hover {
        background-color: #e6002f;
        outline-color: #e6002f;
        animation: light .8s infinite
    }
}


.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 {
    background-color: transparent;
    color: #332f2f;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: .05em;
    line-height: 1;
    outline-offset: 0;
    display: inline-block;
    transition: .3s;
    margin: 0 10px;
cursor: pointer;	
}

.button-secondary:hover {
  color: #e6002f !important;
	border-color:#e6002f !important;
}

.confirm-list {
  margin: 0;
}

.confirm-row {
  display: flex;
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
	margin: 10px 0;

}

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

.confirm-row dt {
background-color: #332f2f1c;
    border-right: 1px dotted #d1d1d1;
    border-radius: 6px 0 0 6px;
    width: 20%;
    min-width: 150px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;	
}

.confirm-row dd {
    background-color: #fff;
    border-radius: 0 6px 6px 0;
    text-align: left;
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 1.5;	
    padding: 10px;	
	margin: 0;
    width: 80%;	
}

#confirm form {
        padding: 0;
    }

.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: 680px) {
	
.field, fieldset.field {
    display: block;
}	
	

.field, fieldset.field {
        padding: 0 0 20px;
}	
	
.field > label, .field > legend {
    float: none;
margin-top: 0;	
        display: inline-block;
        width: auto;	
}	
	
	
.field > div, fieldset.field > div {
    width: 100%;
}
.nWp > div {
    width: 100%;

}	
	
  .page {
    width: min(100% - 24px, 920px);

  }

  .hero {
    margin-bottom: 24px;
  }

  .card {
    border: none;
  }
	
	.confirm-row{
		display: block;
	}	
.confirm-row dt {
    border-right: none;
	width: 100%;
border-radius: 6px 6px 0 0;	
}
.confirm-row dd {
	width: 100%;	
        border-radius: 0 0 6px 6px;	
}	
	
  .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;
  }

}

@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;
  }
}
/*------------------------
 確認画面カスタマイズ
----------------------*/

.confirmHd{
	    text-align: center;
    margin: 1rem auto 1rem;
    padding: 0;
}

#confirm {
  background-color: #f5f5f2;
  border-radius: 30px;
  width: 94%;
  max-width: 840px;
  margin: 20px auto;
  padding: 2.5rem 1.5rem;
}


#confirm h2 {
    font-size: min(4.8vw, 28px);
    margin: 0 0 1.5em;
    font-feature-settings: "palt";
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;	
}

#msgBox {
  border: 1px solid #e6002f;
  color: #e6002f;
  font-size: 12px;
  margin: 1.5rem 0;
  padding: 1rem;
}
#msgBox p.error_messe {
  line-height: 1.3;
  margin: 1em 0;
  color: #e6002f;
  font-size: 12px;
}
#confirm table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}
#confirm th, #confirm td {
  margin: 0;
  padding: 10px;
}
#confirm th {
  background-color: #332f2f1c;
  border-right: 1px dotted #d1d1d1;
  border-radius: 6px 0 0 6px;
  width: 20%;
  min-width: 150px;
  text-align: left;
  font-weight: bold;
  font-size: 14px;
}
#confirm td {
  background-color: #fff;
  border-radius: 0 6px 6px 0;
  text-align: left;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
@media screen and (max-width: 639px) {
  #confirm th, #confirm td {
    display: block;
    width: 100%;
  }
  #confirm th {
    border-radius: 6px 6px 0 0;
    border-right: none;
    border-bottom: 1px dotted #d1d1d1;
    font-size: 13px;
  }
  #confirm td {
    border-radius: 0 0 6px 6px;
  }
}
/* ボタン */
#inputBtnBox {
  display: flex;
  justify-content: center;
  margin: 2rem auto 0;
}
#inputBtnBox input {
  background-color: transparent;
  border-radius: 6px;
  border: 1px solid #332f2f;
  color: #332f2f;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1;
  outline-offset: 0;
  display: inline-block;
  transition: 0.3s;
  margin: 0 10px;
}
#inputBtnBox input[type="submit"] {
  background-color: #332f2f;
  border: 0;
  color: #fff;
  outline: 1px solid;
  outline-color: #332f2f;
}
@media (hover: hover) {
  #inputBtnBox input:hover {
    cursor: pointer;
  }
  #inputBtnBox input[type="reset"]:hover, #inputBtnBox input[type="button"]:hover {
    color: #e6002f;
    border-color: currentColor;
  }
  #inputBtnBox input[type="submit"]:hover {
    background-color: #e6002f;
    outline-color: #e6002f;
    animation: light 0.8s infinite;
  }
}
@keyframes light {
  100% {
    outline-color: transparent;
    outline-offset: 10px;
  }
}

#ftrInfo img{
  aspect-ratio: 15 / 2;
}
