/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
	box-sizing: border-box;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the line height in all browsers.
3. Prevent adjustments of font size after orientation changes in iOS.
4. Use a more readable tab size (opinionated).
*/

html {
	font-family:
		system-ui,
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji'; /* 1 */
	line-height: 1.15; /* 2 */
	-webkit-text-size-adjust: 100%; /* 3 */
	tab-size: 4; /* 4 */
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
	margin: 0;
}

/*
Text-level semantics
====================
*/

/**
Add the correct font weight in Chrome and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/*
Tabular data
============
*/

/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
	border-color: currentcolor;
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
	padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
	display: list-item;
}


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

:root {
    --corporate-1: #00146E;
    --corporate-2: #00AFF0;
    --white: #FFFFFF;
    --supporting-blue-1: #0F2356;
    --supporting-blue-2: #CCD4EA;
    --accent: #ED2F4F;
    --gray-1: #E5E5E5;
    --gray-2: #B2B2B2;
    --gray-3: #7F7F7F;
    --gray-4: #333333;
}

html {
    font-family: "Hiragino Kaku Gothic Pro", "Noto Sans JP", "Meiryo", sans-serif;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

body {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-4);
    background-color: #fff;
    overflow-wrap: anywhere;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

a {
    color: var(--color-text-link);
    text-decoration: none;
}

a:not([class]) {
    color: var(--corporate-1);
    cursor: pointer;
    text-decoration: underline;
}

a:focus {
    outline-color: var(--corporate-1);
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--gray-4);
}

input,
select,
textarea {
    font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea {
    width: 100%;
    min-height: 48px;
    background-color: #fff;
    border: 1px solid var(--gray-3);
    border-radius: 10px;
    padding: 13px 16px;
}

input[type="checkbox"],
input[type="radio"] {
    vertical-align: middle;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    vertical-align: middle;
}

input[type="checkbox"] {
    accent-color: var(--corporate-1);
    width: 18px;
    height: 18px;
}

input + input {
    margin-top: 4px;
}

select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 48px;
    background-color: #fff;
    border: 1px solid var(--gray-3);
    border-radius: 10px;
    padding: 13px 16px;
}

textarea {
    display: block;
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-2);
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid var(--corporate-1);
    outline-offset: -1px;
}

input[type="checkbox"]:focus {
    outline-style: auto;
}

@media (min-width: 1024px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }
}

/*
 * アニメーションを減らす設定にしているユーザーには
 * トランジションやアニメーションを無効化する。
 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/*
 * 高コントラストモードのユーザー向け。
 * ボーダーが見えにくくならないよう強制。
 */
@media (prefers-contrast: more) {
  * {
    border-color: currentColor !important;
  }
}

/*
 * 透明度を下げる設定のユーザー向け。
 * iOS「透明度を下げる」設定と連動。
 */
@media (prefers-reduced-transparency: reduce) {
  * {
    opacity: 1 !important;
  }
}


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

.container {
	width: calc(100% - 32px);
	max-width: 1040px;
	margin: 0 auto;
}

.page-header {
	text-align: center;
    padding: 40px 0;
}

.page-body {
    padding-bottom: 40px;
}

@media (min-width: 1024px) {
    .page-header {
        padding: 80px 0;
    }

    .page-body {
        padding-bottom: 80px;
    }
}

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

.form-field {
    margin: 16px 0;
}

.form-field label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-field label .required {
	color: var(--accent);
    font-size: 10px;
}

.form-field input + label {
    margin: 0;
}

.form-field .select-wrap {
    position: relative;
}

.form-field .select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-70%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--gray-3);
    border-bottom: 1px solid var(--gray-3);
    pointer-events: none;
}

.form-field select {
    padding-right: 36px;
}

/* ------------------ */
.btn {
    display: block;
    width: fit-content;
    min-width: 300px;
    max-width: 100%;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.02em;
    text-align: center;
    background: var(--corporate-1);
    border: 1px solid var(--corporate-1);
    border-radius: 9999px;
    cursor: pointer;
    margin: 16px auto;
    padding: 14px 24px;
}

.btn.btn--outline {
    color: var(--corporate-1);
    background-color: transparent;
}

.btn:disabled {
    pointer-events: none;
    background-color: var(--gray-2);
    border-color: var(--gray-2);
}

.btn-group {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px auto 0;
}

.btn-group .btn {
    margin: 0;
}

@media (min-width: 768px) {
    .btn-group {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .btn-group {
        margin-top: 56px;
    }
}


/* ----------------------------------------------------------------------------- */
/* お問い合わせ */

.contact__logo {
    width: 240px;
    margin: 0 auto;
}

.contact__lead {
    margin-bottom: 40px;
}

.contact__lead p:not(:first-of-type) {
    margin-top: 16px;
}

.contact .section {
    max-width: 400px;
    margin: 40px auto 0;
}

.contact .section:first-of-type {
    margin-top: 0;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 24px;
}

.contact__agree {
    width: max-content;
    max-width: 100%;
    margin: 40px auto 24px;
}

.contact__notes {
	background: #E5E5E5;
    max-width: 800px;
    border-radius: 8px;
    margin: 40px auto 0;
	padding: 16px;
}

.contact__notes .list-num {
	list-style-type: decimal;
	padding-left: 1.25em;
}

.contact__notes2 {
    border: 1px solid var(--corporate-1);
    max-width: 800px;
    border-radius: 8px;
    margin: 40px auto;
	padding: 16px;
}

.contact__notes2 .list-disc {
    list-style-type: disc;
	padding-left: 1.25em;
}

.error input,
.error select,
.error textarea {
    border-color: var(--accent);
}

.error .error-text {
    color: var(--accent);
    font-weight: 600;
    margin-top: 4px;
}

.contact__dl-item + .contact__dl-item {
    margin-top: 16px;
}

.contact__dl dt {
    font-weight: 600;
}

.contact__dl dd {
    margin: 4px 0 0;
}

@media (min-width: 768px) {
    .contact__lead {
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .contact__logo {
        width: 300px;
    }
    .contact__lead {
        margin-bottom: 56px;
    }

    .contact .section {
        margin-top: 56px;
    }

    .contact .section-header {
        margin-bottom: 32px;
    }

    .contact__agree {
        margin-top: 56px;
    }

    .contact__notes {
        margin-top: 56px;
    }

    .contact__notes2 {
        margin-bottom: 56px;
    }
}