: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:
    radial-gradient(circle at 10% 0%, rgba(8, 123, 103, 0.12), transparent 28rem),
    var(--canvas);*/
}

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: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(216, 226, 223, 0.85);*/
/*  border-radius: 24px;*/
/*  background: var(--surface);
  box-shadow: var(--shadow);*/
}

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

.badge {
  display: inline-block;
  line-height: 1.6;
  vertical-align: 0.12em;
color: #fff;
    background: #e60012;
    padding: 2px 5px;
    font-size: 12px;
    margin-left: 10px;	
}

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

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

.field,
fieldset.field {
  min-width: 0;
  margin: 0;
  border: 0;
	background-color: #fff;
    border-radius: 6px;
    margin-bottom: 0;
    padding: 20px;	
}

.field{
	display: flex;
}

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

.field > legend,
.field > label{
width: 37%;
max-width: 270px;
}

.field > div{
width: 100%;
}


input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid #bdcbc7;
  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: 36px;
    padding: 6px 3px;
}

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);*/
	background-color: #fff;
}

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

.captcha-field input{
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 !important;
  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: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  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(--line);
  background: #fff;
  color: var(--ink);
    border: 2px solid #022740;	
}

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

.confirm-list {
  margin:30px 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: 680px) {
  .page {
    width: min(100% - 24px, 920px);
    padding: 38px 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%;
  }
	
}

@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;
    display: block;
}	

.field > legend,
.field > label{
width: 100%;
max-width:inherit;
}	

}

/****/

button.chk {
    color: #fff;
    background-color: #022740;
    border: 2px solid #022740;
    font-family: "Noto Sans JP", sans-serif !important;
}

button.chk:hover {
    color: #fff;
    background-color: #104e78;
}

input.p-postal-code{
	width: 120px;
	margin-bottom: 5px;
}

.messageArea{
	width: 100%;
}

/*------------------------
 確認画面カスタマイズ
----------------------*/


#confirm{
padding:20px;
margin:0 auto;
}

#confirm #header{
height:120px;
}

#confirm > h2{
color:#33696F;
font-size:14px;
}

#confirm > p{
color:#33696F;
font-size:14px;
}

#confirm #msgbox{
padding:10px;
border:1px solid #8b161e;
color:#8b161e;
font-size:12px;
margin-bottom:20px;
}

#confirm #msgbox p.error_messe{
line-height:1.3;
padding:0;
color:#d65151;
font-size:12px;
}

#confirm #msgbox table{
padding:10px 0;
}

#confirm table th{
white-space: nowrap;
text-align: left;
font-weight:normal;
font-size:13px;
color:#33696F;
}

#confirm table td{
text-align: left;
font-weight:normal;
font-size:13px;
line-height:1.3;
padding:10px 10px;
}

#confirm .btnbox{
text-align: center;
padding:20px 0;
    display: flex;
    justify-content: center;
}
#confirm .btnbox input[type='submit'],
#confirm .btnbox input[type='button'],
#confirm .btnbox input[type='reset']{
width: 140px;
padding: 8px 0;
}

 button[type="submit"] {
/*    font-size: 15px;
     font-weight: bold; 
    border-radius: 10px;
    text-align: center;
    padding: 8px 30px;
    color: #3D2C1F;
    background-color: #fff;
    border: 2px solid #022740;
    margin: 0 10px;
    cursor: pointer;
    box-shadow: none;
    -webkit-box-shadow: none;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;*/
}
.button.chk {
    color: #fff;
    background-color: #022740;
    border: 2px solid #022740;
    font-family: "Noto Sans JP", sans-serif !important;
}