/* =========================================
   Base Style
   共通タグ・リセット設定
========================================= */

/* 全要素共通 */
* {
    box-sizing: border-box;
}

/* ページ基本設定 */
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: sans-serif;
    font-size: 1.2rem;
}

/* 共通 */
h1,
h2,
h3,
h4,
h5 {
    text-align: center;
    line-height: 1.4;
    margin: 2.5rem 0 1rem;
    color: var(--text);
    font-weight: 700;
}

/* h1：ページタイトル */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: .08em;
    margin-bottom: 2rem;
    position: relative;
    padding-top:0px;
    margin-top:0px;
}

h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: .8rem auto 0;
    background: var(--accent);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(63,109,145,.5);
}


/* h2：大見出し */
h2 {
    font-size: 1.8rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--accent);
    margin-left: auto;
    margin-right: auto;
}


/* h3：中見出し */
h3 {
    font-size: 1.6rem;
    padding-left: 1rem;
}

h3::before {
    content: "";
    left: 50%;
    transform: translateX(-5.5rem);
    top: .2em;
    width: 4px;
    height: 1.2em;
    background: var(--accent);
    border-radius: 10px;
}


/* h4：小見出し */
h4 {
    font-size: 1.4rem;
    color: var(--accent);
    letter-spacing: .05em;
    opacity: .95;
}


/* h5：補助見出し */
h5 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #9fb7cc;
    opacity: .8;
}

/* 画像 */
img {
    max-width: 100%;
    border-radius: 12px;
}
/* Link Base */
a {
    color: #7db7ff;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

/* Hover */
a:hover {
    color: #a8d0ff;
    text-decoration: underline;
}

/* Visited */
a:visited {
    color: #b08dff;
}

/* Active（クリック中） */
a:active {
    color: #d2e6ff;
}

/* Keyboard Focus */
a:focus-visible {
    outline: 2px solid #7db7ff;
    outline-offset: 3px;
    border-radius: 2px;
}

/* テキスト共通 */
p,
a {
    line-height: 1.8;
    padding-bottom:15px;
}

/* リスト */
ul {
    padding-left: 0;
    margin: 0 0 1rem;
    list-style: none;
}

/* リスト項目 */
li {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 区切り線 */
hr {
    border: 0;
    border-top: 1px solid var(--hr);
    margin: 2rem 0;
}

/* フォーム共通 */
input,
textarea,
select {
    width: 100%;
    padding: 0.7rem;
    margin: .5rem 0;
    background: #111;
    border: 1px solid var(--border);
    color: #fff;
    font-size:1.4rem;
    box-sizing:border-box;
}

/* select専用 */
select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    cursor:pointer;

    /* ▼矢印 */
    background-image:
        linear-gradient(45deg, transparent 50%, #aaa 50%),
        linear-gradient(135deg, #aaa 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size:6px 6px;
    background-repeat:no-repeat;

    padding-right:2.5rem;
}

/* option */
option{
    background:#111;
    color:#fff;
}

/* 送信ボタン */
input[type=submit]{
    background:var(--accent);
    cursor:pointer;
    border-radius: 10px;
}

/* details要素 */
details{
    padding:1rem;
    background-color:var(--bg2);
    border:1px solid var(--border);
    border-radius:10px;
}

summary{
    text-align:center;
    background-color: var(--border);
    border-radius: 30px;
    width: 50%;
    margin: auto;
}

/* input/select リセット */
.input_reset,
.select_reset{
    width:unset;
    padding:0;
    margin:0;
    border:none;
    outline:none;
    box-sizing:border-box;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
}