@charset "utf-8";

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

   reset

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

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

.wrap img {
    max-width: 100%;
}

.wrap button {
    border: none;
}


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

   common

-----------------------*/
/* ----------------------------------------------------------------- 8/5用ここから */
html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    scroll-padding-top: 220px;
}

@media (max-width: 1200px) {
    html {
        scroll-padding-top: 140px;
    }
}

@media screen and (max-width:600px) {
    html {
        scroll-padding-top: 180px;
    }
}

/* ----------------------------------------------------------------- ここまで */

:root {
    --left-line-height: 0vh;
    --right-line-height: 0vh;
    --line-opacity: 0;

    --line-height-l: 1.5;
    --line-height-base: 1.7;

    --font-size-base: clamp(14px, 0.813rem + 0.313vw, 16px);
    --font-size-m: clamp(12px, 0.705rem + 0.227vw, 14px);
    --font-size-s: clamp(11px, 0.688rem + 0.063vw, 12px);


    --title-font-size-xl: clamp(21px, 1.063rem + 1.250vw, 32px);
    --title-font-size-l: clamp(18px, 0.938rem + 0.938vw, 26px);
    --title-font-size-m: clamp(16px, 0.875rem + 0.625vw, 22px);
    --title-font-size-s: clamp(14px, 0.830rem + 0.227vw, 16px);


    --margin--s: clamp(10px, 0.398rem + 1.136vw, 20px);
    --margin--m: clamp(20px, 0.568rem + 3.409vw, 50px);
    --margin--l: clamp(50px, 1.989rem + 5.682vw, 100px);
    --margin--xl: clamp(70px, 2.784rem + 7.955vw, 140px);

    --padding-inner: clamp(10px, 0.398rem + 1.136vw, 20px);
    --padding-s: clamp(8px, 0.318rem + 0.909vw, 16px);

    --base-red: #d70c18;
    --base-black: #030303;
    --base-yellow: #fbb03b;
}


body {
    background-color: var(--base-black);
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

.bg {
    background-image: url(../images/img_red.jpg), url(../images/img_red.jpg), url(../images/img_red.jpg), url(../images/img_red.jpg), url(../images/img_red.jpg), url(../images/bg.png);
    background-repeat: repeat-y, repeat-x, repeat-x, repeat-x, repeat-x, repeat;
    background-size: auto;
    background-position: 150px center, center top 350px, center top 1050px, center 80%, center 90%, center center;
    /* background-position: 150px center, center top 450px, center top 1200px, center 1300px, center 1750px, center center; */
}

@media screen and (max-width: 1600px) {
    .bg {
        background-image: url(../images/bg.png);
        background-repeat: repeat;
        background-size: auto;
    }
}


.wrap {
    container-type: inline-size;

    background-color: var(--base-black);

    max-width: 1200px;
    min-width: 320px;
    min-height: 700px;

    font-family: "メイリオ", Verdana, "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
    font-optical-sizing: auto;

    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: #ffffff;

    /* display: grid;
    align-content: center;
    place-items: center; */

    margin-inline: auto;

    border-left: var(--base-red) 50px solid;
    border-right: var(--base-red) 50px solid;
}

@media screen and (max-width: 1200px) {
    .wrap {
        background-image: url(../images/bg.png);
        border: none;
    }
}

.wrap .pcnone {
    display: none;
}

@media screen and (max-width: 800px) {
    .wrap .spnone {
        display: none;
    }

    .wrap .pcnone {
        display: inline;
    }

}

.wrap .small,
.wrap .attention {
    font-size: var(--font-size-s);
}

.wrap .bold {
    font-weight: bold;
}

.wrap .center {
    text-align: center;
}

.wrap .line {
    background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.6) 60%);
}

/* リンク */
.wrap a {
    color: var(--base-red);
}

.wrap a:visited {
    color: var(--base-red)
}

/* 矢印リンク */
.link_arrow {
    background-color: #000;
    width: calc(100% - 10px);

    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 16px 48px 16px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    color: #ffffff;
    margin-top: 10px;
}


.link_arrow::after {
    content: "";
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -4px;
    transition: all 0.3s ease 0s;
}

.link_arrow:hover {
    background-color: var(--base-red)
}

.link_arrow:hover::after {
    right: 15px;
}


/* 矢印リンク ↓ */
.arrow_under:after {
    content: "";
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(135deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -4px;
    transition: all 0.3s ease 0s;
}


/* 外部リンク */

.link_external {
    background-color: #000;
    width: 100%;

    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 16px 48px 16px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-top: 10px;
}

.link_external::after {
    position: absolute;
    right: 10px;

    font-family: "Material Symbols Outlined";
    content: 'open_in_new';
    font-size: 1.2rem;
    font-weight: normal;

    padding-right: 0.5rem;
    vertical-align: middle;
    transition: all 0.3s ease 0s;
}

.link_external:hover::after {
    right: 0px;
}

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

   dialog

-----------------------*/
dialog {
    border: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    overflow: visible;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

dialog[open] {
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dialog-inner {
    padding: 2.5rem 2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.dialog-title {
    margin-top: 20px;
    font-size: var(--title-font-size-m);
    font-weight: bold;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.dialog-body {
    line-height: 1.6;
    margin-bottom: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 0.5rem;
    word-break: break-all;
}

/* 右上の×ボタン */
.x-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #9ca3af;
    cursor: pointer;
    transition: 0.2s;
}

.x-close-btn:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.x-close-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

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

   youtube

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

.youtube {
    max-width: 800px;
    margin: var(--margin--m) auto;
}

.youtube .size {
    width: 100%;
    padding-bottom: 56.25%;
    height: 0px;
    position: relative;
    margin: 0px auto;
}

.youtube .size iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

   slick

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

.dots-wrap {
    display: flex;
    justify-content: center;
}

.dots-wrap li {
    width: 5%;
    height: 2px;
    margin: 0px 2px 10px;
    background: #cecece;
    cursor: pointer;
}

.dots-wrap li.slick-active,
.dots-wrap li:hover {
    background: var(--base-yellow);
}

.dots-wrap li button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}


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

   footer

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

footer {
    position: relative;
    background-color: #1a1814;
}

@media screen and (max-width: 1200px) {
    footer {
        box-sizing: border-box;
        border-top: 10px solid var(--base-red);
    }
}

footer .footer_menu {
    max-width: 1200px;
    padding: var(--padding-inner);

    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-around;
    margin: var(--margin--m) auto 0;
}

footer .footer_menu .backtotop {
    position: absolute;
    top: -30px;
    right: 20px;
}

footer .backtotop .back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--base-red);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
}

footer .backtotop .back-to-top:hover {
    background-color: var(--base-yellow);
    transform: translateY(-2px);
    opacity: 1;
}

.back-to-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(45deg) translateY(2px) translateX(2px);
    display: inline-block;
}

.back-to-top:focus-visible {
    outline: 3px solid #818cf8;
    outline-offset: 2px;
}

footer .footer_menu a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

footer .footer_menu a:visited {
    color: #fff;
}



footer .footer_menu a:hover {
    opacity: 0.5;
}


footer .footer_menu dl {
    width: calc(25% - 12px);

    display: flex;
    flex-direction: column;
    font-size: var(--font-size-m);
}

@media screen and (max-width: 600px) {
    footer .footer_menu dl {
        width: calc(50% - 8px);
        font-size: var(--font-size-s);
    }
}

footer .footer_menu dl dt {
    font-weight: bold;
    border-bottom: 2px solid var(--base-red);
    padding: 10px;
    font-size: var(--title-font-size-s);
    margin-bottom: var(--margin--s);
}

@media screen and (max-width: 600px) {
    footer .footer_menu dl dt {
        margin-bottom: var(--margin--m);
    }
}

footer .footer_menu dl dd ul li {
    margin-bottom: var(--margin--s);
}

@media screen and (max-width: 600px) {
    footer .footer_menu dl dd ul li {
        margin-bottom: var(--margin--m);
    }
}


footer .footer_menu dl dd ul li::before {
    display: inline-block;
    content: "-";
    color: #9ca3af;
    margin-right: 10px;
}