@charset "UTF-8";

/*********************************
preset variables
*********************************/
:root {
    --fontSize: 16px;
    --linkColor: #3562a0;
    --textColor: #333;
    /* color preset */
    --mainColor: #11516C;
    --mainDarkColor: ;
    --mainLightColor: ;
    --subColor: ;
    --subDarkColor: ;
    --subLightColor: rgb(220, 220, 0);
    /* width preset */
    --gutter: 1.3rem;
    --gap: 3rem;
    --spacing: 1rem;
    --contentWidth: 1200px;
}

/* OVERWRITE RADIX */

body {
    min-width: 1400px;
}

main :where(*)+h2 {
    margin-block-start: var(--gutter);
}

main :where(*)+:where(article, section) {
    margin-block-start: var(--gutter);
}

main :where(*)+h4 {
    --theGutter: var(--gutter);
    margin-block-start: var(--theGutter);
}

main :where(article, section)>:where(*)+:where(*),
main.fb-brackets>:where(*)+:where(:not(article, section, aside, h1, h2, h3, h4, h5, h6)) {
    margin-block-start: 0;
}

/* OVERWRITE end */
/*************************************
* START header
*************************************/
header,
section.eyecatch {
    --contentWidth: calc(1400px + 2rem);
}

header>.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 2rem;
}

header>.header-wrapper>.logo {
    height: 52px;
}

header>.header-wrapper>.logo>img {
    height: 100%;
}

header>.header-wrapper>nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    font-size: 1.2rem;
    font-weight: bold;
}

header>.header-wrapper>nav>a {
    color: #000000;
}

header>.header-wrapper>nav>a:hover {
    text-decoration: none;
}

header>.header-wrapper>nav>.btn {
    background-color: #bb120d;
    color: #ffffff;
    padding: .4em 1em;
    border-radius: .2em;
    margin-left: 1em;

}

/* * ヒーロー動画・オーバーラップ設定 
 * (動画の画角16:9に合わせて高さを自動計算し、綺麗に背景動画化します)
 */
.eyecatch-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
}

.eyecatch-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 動画の上に被せる黒い半透明レイヤー（テキストの視認性を劇的に向上させます） */
.eyecatch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* テキストを中央に集約させるコンテナ */
.eyecatch-content {
    max-width: 1050px;
    width: 90%;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}

/* 元の画像にあった「PROOFREADER WANTED」の下の赤線を再現 */
.eyecatch-title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #ffffff;
    border-bottom: 5px solid #bb120d;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.eyecatch-subtitle {
    font-size: 2.2rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.eyecatch-text {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    word-break: break-word;
}

.eyecatch-text:last-child {
    margin-bottom: 0;
}

/*************************************
* END header START main
*************************************/
main section:last-child {
    margin-bottom: 7rem;
}

main h1 {
    text-align: center;
    color: var(--mainColor);
    font-size: 3.2rem;
    font-weight: bold;
    padding: 1.3rem 0;
    margin-bottom: 1.5rem;
}

main h2 {
    text-align: center;
    background-color: var(--mainColor);
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: bold;
    padding: 1.3rem 0;
    margin-bottom: 2rem;
}

main h3 {
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 2px solid var(--mainColor);
    padding-bottom: .5rem;
    margin-bottom: 1.5rem;
}

main h3:first-child {
    margin-top: 0;
}

main h3.reception-period {
    display: inline-block;
}

main h4 {
    font-size: 1.2rem;
    font-weight: bold;
    border-left: 8px solid var(--mainColor);
    padding-left: .5rem;
    margin-bottom: .5rem;
}

main h5 {
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 1px solid var(--mainColor);
    padding-bottom: 0.3rem;
    margin-bottom: 1.2rem;
}

main section p {
    padding: 0;
    margin: 0;
}

main .bold {
    font-weight: bold;
}

main .blue {
    color: #2191FB;
}

main .red {
    color: #e63946;
}

main .indent {
    text-indent: 1em;
}

main .indent-2 {
    text-indent: 2em;
}

main .indent-3 {
    text-indent: 3em;
}

main hr {
    width: 100%;
}

main .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 100px;
    border-radius: 10px;
    margin: 4rem auto;
    background: linear-gradient(to bottom, #bb120d 0%, #930200 100%);
    color: #ffffff;
    font-size: 1.95rem;
    font-weight: bold;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .2);
    transition: .2s box-shadow;
}

main .btn:hover {
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .2);
}

main table.align td+td {
    padding-left: 5rem;
}

main table.center {
    margin: 0 auto;
}

/* 旧 .eyecatch 関連の子要素スタイルは、動画用オーバーラップ構造へ移行したため整理しました */

.price-tables {
    display: flex;
    justify-content: space-between;
    gap: 0 65px;
}

.price-tables .price-table {
    width: 100%;
}

.price-table h3 .bold {
    font-size: 2.4rem;
}

.price-table h3:has(.bold) {
    margin-top: calc(-1rem * 1.4);
}

.price-table>table {
    width: 100%;
}

.price-table>table tr td {
    border-bottom: 1px solid #9e9e9e;
    padding: .3rem 0;
    padding-top: 0;
    font-size: 1.2rem;
    line-height: calc(1.4 * 1.6);
}

.price-table>table tr td[rowspan="2"]+td,
.price-table>table tr td[rowspan="2"]+td+td {
    border-bottom: none;
    padding-top: .3rem;
}

.price-table>table tr td.price {
    text-align: right;
    width: fit-content;
}

.price-table>table tr td.bold {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.4;
}

table.rules {
    font-size: 1rem;
    /* font-weight: bold; */
    margin-bottom: 2rem;
}

table.rules td {
    padding: .3rem 0;
}

table.rules td+td {
    padding-left: 2rem;
}

table.align td {
    padding: 1rem;
}

table.rjob {
    width: 100%;
}

table.rjob td {
    padding: 1rem;
    border: 1px #9e9e9e solid;
}

table.rjob td.td1 {
    width: 25%;
}

table.rjob tr:nth-child(odd) td {
    background: #eee;
}

p.more {
    text-align: right;
    margin-bottom: 0.5rem;
}

/*************************************
* END main START footer
*************************************/
footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #000000;
    height: calc(100px + 2.5rem);
}

footer nav {
    display: flex;
    justify-content: center;
    margin: 1rem;
    align-items: center;
    gap: 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
}

footer nav a {
    color: #000000;
}

footer nav a:hover {
    text-decoration: none;
}

footer .copyright {
    font-size: .9rem;
    text-align: center;
    width: var(--contentWidth);
    margin: 1rem auto 1.5rem auto;
}

footer .pagetop {
    position: absolute;
    right: calc((100vw - (var(--contentWidth))) / 2);
    top: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #a0a0a0;
    color: #ffffff;
}

footer .pagetop:hover {
    text-decoration: none;
}

footer .pagetop>div {
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .4rem;
}

/*************************************
* END footer START only for sp
*************************************/
@media only screen and (max-width: 700px) {
    .sp-hide {
        visibility: hidden;
        opacity: 0
    }

    .sp-visible {
        visibility: visible;
        opacity: 1
    }

    .sp-none {
        display: none !important
    }

    .rdx-btn {
        display: block
    }
}

/*************************************
* END only for sp START only for pc
*************************************/
@media print,
screen and (min-width: 700px) {
    .pc-hide {
        visibility: hidden;
        opacity: 0
    }

    .pc-visible {
        visibility: visible;
        opacity: 1
    }

    .pc-none {
        display: none !important
    }
}