@charset 'UTF-8';
/* ==========================================================================
   Foundation：要素の初期値
   このCSSは入稿フォームのページと準備中の画面でしか読み込まない。
   :where() は詳細度を0にするので、下の層のクラス1つで上書きできる。
   ========================================================================== */
html {
    box-sizing:border-box;
    height:100%;
    font-size:62.5%;
    line-height:1.15;
    -webkit-text-size-adjust:100%;
            text-size-adjust:100%;
}

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

* {
    margin:0;
    padding:0;
}

body {
    position:relative;
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    min-height:100vh;
    overflow-x:hidden;
    background:#ffffff;
    color:#404040;
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size:1.6rem;
    line-height:1.5;
}

@media screen and (max-width: 765px) {
    body {
        font-size:1.45rem;
    }
}
@media only screen and (max-width: 580px) {
    body {
        font-size:1.4rem;
    }
}
main {
    display:block;
    flex:1 1 0;
}

h1 {
    clear:both;
    margin:0.67em 0;
    font-size:20px;
}

@media (min-width: 768px) {
    h1 {
        font-size:26px;
    }
}
@media (min-width: 980px) {
    h1 {
        font-size:30px;
    }
}
h2 {
    clear:both;
    font-size:calc(1.54285rem + 0.7143vw);
    line-height:1.3;
}

p {
    margin:0 0 1em;
    padding:0;
    line-height:1.6 !important;
}

ul {
    margin:0 0 1.5em 3em;
    list-style:disc;
}

img {
    height:auto;
    max-width:100%;
    border-style:none;
}

table {
    width:100%;
    margin:0 0 1.5em;
}

fieldset {
    padding:0.35em 0.75em 0.625em;
}

a {
    background-color:transparent;
    color:#4169e1;
}

a:visited {
    color:#800080;
}

a:hover,
a:focus,
a:active {
    color:#191970;
}

a:focus {
    outline:thin dotted;
}

a:hover,
a:active {
    outline:0;
}

[hidden] {
    display:none;
}

/* フォームの部品 */
:where(input, select, textarea) {
    background-color:transparent;
    border-style:none;
    color:inherit;
    font-family:inherit;
    font-size:1rem;
    line-height:1.5;
}

:where(input) {
    overflow:visible;
}

:where(textarea) {
    width:100%;
    overflow:auto;
}

:where(select) {
    min-width:260px;
    height:2.8em;
    margin-right:5px;
    margin-bottom:5px;
    padding:0.4em calc(0.8em + 30px) 0.4em 0.8em;
    background:url('../images/selectBk.png') no-repeat right center rgba(255, 255, 255, 0.9);
    border:1px solid #cccccc;
    border-radius:3px;
    appearance:none;
    color:#333333;
    font-size:1em;
    text-transform:none;
    cursor:pointer;
}

:where(select, textarea) {
    outline:0;
}

:where(input[type=text], input[type=email], textarea) {
    width:100%;
    margin:5px 0;
    padding:6px 6px 10px;
    background:#ffffff;
    border:1px solid #cccccc;
    border-radius:4px;
    appearance:none;
    font-size:2rem;
}

:where(input[type=text], input[type=email]) {
    color:#666666;
}

:where(input[type=url]) {
    padding:3px;
    border:1px solid #cccccc;
    border-radius:3px;
    color:#666666;
}

:where(input[type=text], input[type=email], input[type=url], textarea):focus {
    color:#111111;
}

:where(input[type=text]):focus {
    outline:0;
}

input[type=file] {
    border:0 solid #cccccc;
}

input[type=checkbox] {
    width:20px;
    height:20px;
    margin-right:5px;
    padding:10px 0 0;
    vertical-align:middle;
    cursor:pointer;
}

input[type=radio] {
    width:15px;
    height:15px;
    margin-right:0.25rem;
    padding:0;
    border:1px solid #cccccc;
    border-radius:50%;
    font-size:1.8rem;
    line-height:0.714286;
    vertical-align:middle;
}

:where(button) {
    padding:0.6em 1em 0.4em;
    border-radius:3px;
    appearance:button;
    color:inherit;
    font-family:inherit;
    line-height:1;
    cursor:pointer;
}

:where(input[type=submit]) {
    padding:0.6em 1em 0.4em;
    background:#e6e6e6;
    border:1px solid;
    border-color:#cccccc #cccccc #bbbbbb;
    border-radius:3px;
    appearance:button;
    color:rgba(0, 0, 0, 0.8);
    line-height:1;
    cursor:pointer;
}

/* 見えない文字（画面の読み上げ用）。WordPress と CF7 が使うクラス名 */
.screen-reader-text {
    position:absolute !important;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    border:0;
    clip:rect(1px, 1px, 1px, 1px);
    clip-path:inset(50%);
    overflow-wrap:normal !important;
}

.screen-reader-text:focus {
    top:5px;
    left:5px;
    z-index:100000;
    display:block;
    width:auto;
    height:auto;
    padding:15px 23px 14px;
    background-color:#f1f1f1;
    border-radius:3px;
    box-shadow:0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip:auto !important;
    clip-path:none;
    color:#21759b;
    font-size:0.875rem;
    font-weight:700;
    line-height:normal;
    text-decoration:none;
}

/* ==========================================================================
   Layout：入稿フォームのページの枠
   ========================================================================== */
.l-entry-page__main {
    width:100%;
    padding:0;
}

.l-entry-page__inner {
    width:100%;
    max-width:1140px;
    margin:0 auto;
    padding:10px;
}

@media (min-width: 980px) {
    .l-entry-page__inner {
        max-width:1080px;
    }
}
.l-entry-page__content {
    margin:1.5em 0 0;
}

.l-entry-page__footer {
    padding:0.5em;
    background-color:#0c2275;
    color:#ffffff;
}

/* ==========================================================================
   Component：必須・任意の札
   ========================================================================== */
.c-badge {
    display:inline-block;
    width:48px;
    border-radius:6px;
    font-size:14px;
    text-align:center;
}

.c-badge--required {
    padding-top:4px;
    padding-bottom:4px;
    background:#ff0000;
    color:#ffffff;
}

.c-badge--optional {
    padding-top:8px;
    padding-bottom:8px;
    background:#cccccc;
    color:#333333;
}

/* ==========================================================================
   Component：かぎかっこの見出し
   ========================================================================== */
.c-bracket-title {
    position:relative;
    top:0;
    display:inline-block;
    margin-top:50px;
    padding:0.5em 1em;
    color:#333333;
    line-height:1.4;
}

.c-bracket-title::before,
.c-bracket-title::after {
    position:absolute;
    display:inline-block;
    width:10px;
    height:100%;
    border:3px solid #0c2275;
    content:'';
}

.c-bracket-title::before {
    top:0;
    left:0;
    border-right:none;
}

.c-bracket-title::after {
    right:0;
    bottom:0;
    border-left:none;
}

/* ==========================================================================
   Component：送信ボタン
   ========================================================================== */
.c-button {
    display:inline;
    width:180px;
    margin-top:32px;
    margin-right:auto;
    margin-left:auto;
    padding-top:20px;
    padding-bottom:20px;
    background:#0c2275;
    border-radius:6px;
    color:#ffffff;
    font-size:20px;
    font-weight:bold;
    letter-spacing:0.05em;
}

@media screen and (max-width: 768px) {
    .c-button {
        width:160px;
        margin-top:24px;
        padding-top:8px;
        padding-bottom:8px;
        font-size:16px;
    }
}
/* ==========================================================================
   Component：選んだ項目のチップ（JS が作る）
   ========================================================================== */
.c-chip-list {
    display:flex;
    flex-wrap:wrap;
    gap:0.35rem;
    margin-top:0.5rem;
}

.c-chip {
    display:inline-flex;
    align-items:center;
    gap:0.35rem;
    padding:0.25rem 0.6rem;
    background:#fafafa;
    border:1px solid #dddddd;
    border-radius:16px;
    font-size:0.9em;
}

.c-chip__remove {
    background:transparent;
    border:none;
    font-size:1em;
}

/* ==========================================================================
   Component：入力欄
   ========================================================================== */
.c-field {
    flex:1 1 0;
    width:100%;
    height:48px;
    margin-left:0;
    padding-right:1em;
    padding-left:1em;
    background:#ffffff;
    border:1px solid #cccccc;
    border-radius:6px;
    font-size:18px;
}

.c-field--short {
    width:220px;
    max-width:410px;
}

.c-field--textarea {
    height:160px;
    border-color:#dddddd;
}

@media screen and (max-width: 768px) {
    .c-field {
        flex:inherit;
        height:40px;
        font-size:15px;
    }
    .c-field--short {
        flex:1 1 0;
        height:48px;
        font-size:18px;
    }
    .c-field--textarea {
        height:200px;
        margin-top:18px;
    }
}
/* ==========================================================================
   Component：ページ上部へ戻るボタン
   ========================================================================== */
.c-page-top {
    position:fixed;
    right:8px;
    bottom:40px;
    z-index:10000;
    border-radius:50px;
    opacity:1;
}

/* ==========================================================================
   Project：入稿フォームの本体
   table・th・td などの中身は Contact Form 7 の本文（DB）にあるので、
   クラスが付いていない要素はタグで指定する。wpcf7- で始まるのはプラグインのクラス名。
   ========================================================================== */
.p-entry-form {
    max-width:100%;
    margin:0 auto 60px;
    padding:0 30px 30px !important;
    background-color:#ffffff;
    border:3px solid #0c2275;
}

@media screen and (max-width: 768px) {
    .p-entry-form {
        margin-top:40px;
    }
}
@media only screen and (max-width: 580px) {
    .p-entry-form {
        padding:0 10px 10px !important;
    }
}
.p-entry-form p {
    margin-bottom:0 !important;
}

.p-entry-form table {
    margin-top:30px;
}

.p-entry-form select {
    margin-bottom:10px;
}

.p-entry-form td {
    padding:15px 0 15px 15px;
    border-bottom:1px solid #cccccc;
}

.p-entry-form__label {
    position:relative;
    width:25%;
    padding:15px;
    padding-right:70px !important;
    background:#0c2275;
    border-bottom:1px solid #cccccc;
    color:#ffffff;
    font-weight:normal;
    text-align:left;
}

@media screen and (max-width: 768px) {
    .p-entry-form__label,
    .p-entry-form td {
        display:block;
        width:100%;
    }
    .p-entry-form td {
        padding:15px;
        border-bottom:0 solid #cccccc;
    }
}
.p-entry-form__badge {
    position:absolute;
    top:50%;
    right:0;
    margin-right:8px;
    transform:translateY(-50%);
}

.multiselect {
    height:200px;
}

.wpcf7-list-item-label {
    display:inline-block;
    line-height:1.5;
    vertical-align:middle;
}

.wpcf7-form-control.wpcf7-submit {
    cursor:pointer;
}

div.wpcf7 .wpcf7-spinner {
    display:block;
}

/* ==========================================================================
   Project：最寄り駅の3段選択（JS が作る）
   ========================================================================== */
.p-rail-picker {
    max-width:560px;
}

.p-rail-picker__block {
    display:flex;
    flex-direction:column;
    gap:0.4rem;
    margin-bottom:1rem;
}

.p-rail-picker__label {
    font-weight:600;
}

.p-rail-picker__note {
    color:#ff0000;
    font-size:1.4rem;
}

.p-rail-picker__select {
    width:100%;
    padding:0.4rem;
}

.p-rail-picker__select--station {
    height:200px;
}

.p-rail-picker__picked {
    display:flex;
    flex-wrap:wrap;
    gap:0.3rem;
    margin-top:0.25rem;
}

.p-rail-picker__chip {
    display:inline-flex;
    align-items:center;
    gap:0.35rem;
    padding:0.2rem 0.6rem;
    background:#fafafa;
    border:1px solid #dddddd;
    border-radius:16px;
    font-size:0.9em;
}

.p-rail-picker__remove {
    background:transparent;
    border:none;
    font-size:1em;
}

/* ==========================================================================
   Project：送信完了のページ（本文はDB。h2 と p はタグで指定する）
   ========================================================================== */
.p-entry-complete {
    padding:2em 2em 4em;
    border:4px solid #eeeeee;
    border-radius:15px;
    text-align:center;
}

.p-entry-complete h2 {
    margin:2em 0;
    color:#dd1c4a;
    font-family:'Noto Sans JP', sans-serif;
    font-optical-sizing:auto;
    font-style:normal;
    font-weight:600;
}

/* ==========================================================================
   Project：準備中の画面
   ========================================================================== */
.p-coming-soon {
    --bg:#f7f7f9;
    --fg:#222222;
    --muted:#666666;
    --accent:#3e7ad9;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:clamp(8px, 1.6vw, 14px);
    max-width:880px;
    min-height:clamp(420px, 60vh, 700px);
    margin:clamp(24px, 6vw, 64px) auto;
    padding:clamp(20px, 4vw, 48px);
    background:radial-gradient(1200px 800px at 50% -20%, #ffffff 0%, var(--bg) 70%);
    border-radius:16px;
    box-shadow:rgba(0, 0, 0, 0.06) 0 2px 12px, rgba(255, 255, 255, 0.6) 0 1px 0 inset;
    color:var(--fg);
    text-align:center;
    animation:p-coming-soon-fade 0.5s ease-out both;
}

@media (max-width: 420px) {
    .p-coming-soon {
        min-height:68vh;
    }
}
.p-coming-soon__image {
    display:block;
    width:100%;
    max-width:520px;
    height:auto;
    margin-bottom:clamp(2px, 0.8vw, 6px);
    object-fit:contain;
    filter:drop-shadow(rgba(0, 0, 0, 0.06) 0 8px 20px);
    user-select:none;
    pointer-events:none;
}

.p-coming-soon__title {
    position:relative;
    font-size:clamp(20px, 3.2vw, 28px);
    font-weight:700;
    letter-spacing:0.02em;
    line-height:1.25;
}

.p-coming-soon__title::after {
    display:block;
    width:56px;
    height:2px;
    margin:clamp(4px, 0.8vw, 8px) auto 0;
    background:linear-gradient(90deg, var(--accent), transparent 80%);
    border-radius:2px;
    content:'';
    opacity:0.85;
}

.p-coming-soon__text {
    max-width:56ch;
    margin-top:clamp(6px, 1.2vw, 10px);
    margin-inline:auto;
    color:var(--muted);
    font-size:clamp(14px, 2.2vw, 16px);
    line-height:1.9;
}

@keyframes p-coming-soon-fade {
    from {
        opacity:0;
        transform:translateY(4px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}
/* ==========================================================================
   Utility：文字
   ========================================================================== */
.u-text-center {
    text-align:center !important;
}
