:root {
  color-scheme: light;
  --ink: #18302c;
  --muted: #60716d;
  --line: #d8e2df;
  --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: 72px 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 {
  padding: clamp(24px, 5vw, 52px);
	text-align: left;
}

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

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

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

.field > label,
.field > legend {
  display: block;
  color: var(--ink);
  font-weight: 500;
	width: 25%;
	float: left;
    padding: 20px 10px;	
    border-bottom: #3cced1 solid 1px;	
}

.field > div,
.field > div {
	width: 75%;
    padding: 20px 10px;	
border-bottom: #ccc solid 1px;	
}


.req {
    color: #cc0000;
    line-height: 1;
    vertical-align: middle;
    margin-right: 6px;
    padding: 1px 3px;
}


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

input[type="text"],
input[type="email"],
input[type="tel"],
select {

}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {

}

[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;
  cursor: pointer;
    width: 22%;	
	padding-bottom: 5px;
}

.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-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 {
  color: var(--danger);
  font-weight: 700;
}

.field-error {
  margin: 3px 0 0;
	padding: 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: 0;
	padding: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
padding: 8px 30px;
    font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
    color: #fff;
    background: #3cced1;
    border: 1px solid #3cced1;
    border-radius: 5px;	
    -webkit-appearance: none;
    min-width: 142px;	
	min-height: 40px;
}

.button:hover {
    color: #3cced1;
    background-color:#EBFAFA;
    text-decoration: none!important;

    box-shadow: none;
    -webkit-box-shadow: none;
}

.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:#3cced1;
    border: 1px solid #3cced1;	
}

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

  .hero {
    margin-bottom: 24px;
  }

  .card {
padding: 0;
  }
	
.field, fieldset.field {
    display: block;
}	
	
.field > label,
.field > legend {
        width: 100%;
        float: none;
padding: 10px 10px 10px;	
}

.field > div,
.field > div {
	width:100%;
padding: 10px 10px 20px;
	border-bottom: none;
}	
	
.choice-list label, .agreement label {
    width: 48%;
}	
	

  .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%;
  }
	
.actions, .confirm-actions {
    margin-top: 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;
  }
}


/* --------------------------------

-------------------------------- */

#titBox{
	text-align: center;
}

#contactform {
    position: relative;

	text-align:center;
width: 80%;
    max-width: 1024px;
	margin: 20px auto 60px;

}

#contactform #stepbox {
    position: relative;
	margin-top: 40px;
	margin-bottom: 40px;

}
#stepbox ul {

    letter-spacing: -0.4em;
    margin: 0 auto 1em;
    overflow: hidden;
	padding: 0;
}
#stepbox ul li {
    position: relative;
    display: inline-block;
    width: 33.33%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    background-color: #ddd;
    color: #333;
    letter-spacing: normal;
    margin-right: 1%;
}
#stepbox ul li:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid #ddd;
    background-color: #fff;
}
#stepbox ul li:last-child {
    width: 30%;
    margin-right: 0;
}
#stepbox ul li:last-child:after {
    content: none;
}
#stepbox ul li.current {
    background-color: #222;
    color: #fff;
}
#stepbox ul li.current:after {
    border-left-color: #222;
}



/* --------------------------------
-------------------------------- */


	
#contactform {


}

.txreq{
	color:#f00;
	margin-bottom:0;
}

#btnbox {
    margin: 20px 0;
    text-align: center;
}
#msgbox {
    position: relative;
    margin: 10px 0;
    padding: 10px 3%;
    border: 1px solid #333;
    color: #cc0000;
}
#msgbox p.error_messe {
    line-height: 1.3;
}
#contactform h2 {
    font-size: 18px;
}
#contactform p {

    border-bottom: none;
}

textarea, input[type="text"], input[type="email"], input[type="tel"] {
margin: 5px 0;
	padding: 8px;
}


input.wS{
	width:50%;
}


input.wSs{
	width:30%;
}

/*#wrap{
	width: 900px;
	margin: 0 auto;
}

#titBox{
	text-align: center;
}
*/



@media screen and (max-width:767px){

#wrap{

	margin: 0 auto;
}
	
	#contactform{
		width: 94%;
	}	
	
#titBox img{
	width: 100%;
	height: auto;
}	
	
#contactform table {
    width: 98%;
    margin: 20px 0 0;
}	
	
#contactform table th {
    padding: 10px 5px;
	display: block;
	width: 100%;
}
	
#contactform table td {
    padding: 10px 5px;
	display: block;
	width: 100%;
	border-bottom: none;
}	
	

#stepbox ul {
    margin: 0;
	padding: 0;
}
	

	
}
