@charset "UTF-8";

/* 共通 */
@font-face {
    font-family: "Shippori Mincho B1";
    font-weight: normal;
    src: url("../../fonts/Shippori_Mincho_B1/ShipporiMinchoB1-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Shippori Mincho B1";
    font-weight: bold;
    src: url("../../fonts/Shippori_Mincho_B1/ShipporiMinchoB1-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Zen Antique Soft";
    font-weight: normal;
    src: url("../../fonts/Zen_Antique_Soft/ZenAntiqueSoft-Regular.ttf") format("truetype");
}

html {
    /* 色の設定 */
    --text-color: #282828;
    --main-color: #E60012;
    --border-color: #D9D9D9;
    --title-border-color: #8B0F19;
    --bg-color: #FFFBEB;

    /* コンテンツについて */
    --content-width: 1300px;
    --content-padding: 50px;

    /* 余白の設定 */
    --padding-base: 64px;
    --padding-sp-y: 40px;
    --padding-sp-x: 24px;

    /* フォントの設定 */
    --font-size-base: 16px;
    --font-size-large: 20px;

    font-family: 'Shippori Mincho B1',Hiragino Kaku Gothic ProN,Meiryo,'Helvetica Neue',Arial,sans-serif;
    color: var(--text-color);
    font-size: var(--font-size-base);
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    position: relative;
    background-color: var(--bg-color);
}

figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 100%;
    height: auto;
}

p {
	line-height: 1.8;
}

/* リンク */
a {
    display: inline-block;
    color: var(--text-color);
    cursor: pointer;
}

a.button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 480px;
    height: 72px;
    background-color: var(--main-color);
    color: #FFFFFF;
    font-family: 'Zen Antique Soft';
    font-size: var(--font-size-large);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    a.button {
        width: 300px;
    }
}

@media (hover: hover) {
    a:hover {
        opacity: .6;
        transition: .4s;
    }
}

@media (hover: none) {
    a:active {
        opacity: .6;
    }
}

a.button::after {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: solid 8px transparent;
    border-left: solid 14px #FFFFFF;
    border-bottom: solid 8px transparent;
    content: '';
}

@media screen and (max-width: 768px) {
    a.button {
        width: 300px;
    }
}

/* SNS */
ul.sns {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.sns li figure {
    width: 48px;
}

/* 出し分け */
.show_pc {
    display: block;
}

.show_sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .show_pc {
        display: none;
    }

    .show_sp {
        display: block;
    }
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    width: 100%;
    height: 72px;
    z-index: 100;
    transition-duration: .4s;
}

header.color {
    background-color: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0.3) 2px 0 5px;
}

header h1 {
    line-height: 1;
}

header h1 a {
    display: flex;
}

header h1 img {
    width: 224px;
}

@media screen and (max-width: 768px) {
    header h1 img {
        width: 160px;
    }
}

header > .menu_button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--main-color);
    cursor: pointer;
}

@media (hover: hover) {
    header > .menu_button:hover {
        opacity: .6;
        transition: .4s;
    }
}

@media (hover: none) {
    header > .menu_button:active {
        opacity: .6;
    }
}

header > .menu_button span {
    position: relative;
    display: block;
    width: 28px;
    height: 2px;
    background: #FFFFFF;
}

header > .menu_button span:before,
header > .menu_button span:after {
    position: absolute;
    height: 2px;
    width: 28px;
    background-color: #FFFFFF;
    content: '';
}

header > .menu_button span:before {
    bottom: 10px;
}

header > .menu_button span:after {
    top: 10px;
}

@media screen and (max-width: 768px) {
    header > .menu_button {
        width: 36px;
        height: 36px;
    }

    header > .menu_button span {
        width: 15px;
    }

    header > .menu_button span:before,
    header > .menu_button span:after {
        width: 15px;
    }

    header > .menu_button span:before {
        bottom: 6px;
    }

    header > .menu_button span:after {
        top: 6px;
    }
}

/* メニュー */
.menu_wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    z-index: 1000;
}

.menu_wrapper.is-active {
    display: block;
}

.menu_wrapper > .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, .5);
}

.menu_wrapper > nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 72px 30px 30px 30px;
    width: 500px;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: var(--bg-color);
}

@media screen and (max-width: 768px) {
    .menu_wrapper > nav {
        padding: 64px var(--padding-sp-x) var(--padding-sp-x) var(--padding-sp-x);
    }
}

.menu_wrapper .close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--main-color);
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .menu_wrapper .close {
        top: 18px;
        width: 36px;
        height: 36px;
    }
}

@media (hover: hover) {
    .menu_wrapper .close:hover {
        opacity: .6;
        transition: .4s;
    }
}

.menu_wrapper .close span {
    position: relative;
    display: block;
    width: 28px;
    height: 2px;
}

@media screen and (max-width: 768px) {
    .menu_wrapper .close span {
        width: 15px;
    }
}

.menu_wrapper .close span:before,
.menu_wrapper .close span:after {
    position: absolute;
    top: 0;
    height: 2px;
    width: 28px;
    background-color: #FFFFFF;
    content: '';
    transition-duration: .4s;
}

@media screen and (max-width: 768px) {
    .menu_wrapper .close span:before,
    .menu_wrapper .close span:after {
        width: 15px;
    }
}


.menu_wrapper .close span:before {
    transform: rotate(45deg);
}

.menu_wrapper .close span:after {
    transform: rotate(-45deg);
}

.menu_wrapper > nav > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.menu_wrapper > nav .menu {
    list-style: none;
}

.menu_wrapper > nav .menu > li {
    border-bottom: 1px solid var(--border-color);
}

.menu_wrapper > nav .menu a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    font-size: var(--font-size-large);
    text-decoration: none;
}

.menu_wrapper > nav .menu a:after {
    width: 0;
    height: 0;
    border-top: solid 8px transparent;
    border-left: solid 14px #E60012;
    border-bottom: solid 8px transparent;
    content: '';
}

/* メインコンテンツ */
main > section {
    position: relative;
    padding: var(--padding-base) 0;
    width: 100%;
}

@media screen and (max-width: 768px) {
    main > section {
        padding: var(--padding-sp-y) 0;
    }
}

main > section:last-child {
    margin-bottom: var(--padding-sp-y);
}

main > section > div {
    padding: var(--padding-base);
    width: 100%;
    max-width: var(--content-width);
}

@media screen and (max-width: 768px) {
    main > section > div {
        padding: var(--padding-sp-y) var(--padding-sp-x);
    }
}

main > section h2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--padding-base);
    height: 120px;
    font-family: 'Zen Antique Soft';
    font-size: 56px;
}

@media screen and (max-width: 768px) {
    main > section h2 {
        margin-bottom: var(--padding-sp-y);
        height: 64px;
        font-size: 32px;
    }
}

main > section h2:before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 580px;
    height: 120px;
    border-top: 4px solid var(--title-border-color);
    border-bottom: 4px solid var(--title-border-color);
    content: '';
}

@media screen and (max-width: 768px) {
    main > section h2:before {
        width: calc(100% - var(--padding-sp-x) * 2);
        max-width: 360px;
        height: 64px;
    }
}

/* フッター */
footer {
    position: relative;
    background-color: #FFFFFF;
}

@media screen and (max-width: 768px) {
    footer {
        display: flex;
        flex-direction: column;
        gap: var(--padding-sp-y);
        padding: var(--padding-sp-x);
    }
}

footer > figure {
    position: absolute;
    top: var(--content-padding);
    left: var(--content-padding);
    display: block;
    width: 220px;
}

@media screen and (max-width: 768px) {
    footer > figure {
        position: relative;
        top: 0;
        left: 0;
        width: 120px;
    }
}

footer .totop {
    display: flex;
    position: fixed;
    right: 20px;
    bottom: 20px;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--main-color);
    border: solid 1px #FFFFFF;
    z-index: 100;
    transition-duration: .4s;
    opacity: 0;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    footer .totop {
        width: 36px;
        height: 36px;
    }
}

footer .totop.is-active {
    opacity: 1;
    pointer-events: auto;
}

footer .totop > span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    border-top: solid 2px #FFFFFF;
    border-right: solid 2px #FFFFFF;
    transform: rotate(-45deg) translate(-4px, -10px);
}

@media screen and (max-width: 768px) {
    footer .totop > span {
        width: 16px;
        height: 16px;
        transform: rotate(-45deg) translate(-4px, -8px);
    }
}

footer ul {
    display: flex;
    align-items: flex-end;
    list-style: none;
    padding: var(--content-padding);
}

@media screen and (max-width: 768px) {
    footer ul {
        padding: 0;
    }
}

footer ul.menu {
    flex-direction: column;
    gap: 24px;
}

footer ul.menu a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

footer ul.menu a:after {
    width: 0;
    height: 0;
    border-top: solid 8px transparent;
    border-left: solid 14px #E60012;
    border-bottom: solid 8px transparent;
    content: '';
}

footer ul.sns {
    justify-content: flex-end;
    padding-right: var(--content-padding);
    padding-bottom: var(--content-padding);
}

@media screen and (max-width: 768px) {
    footer ul.sns {
        justify-content: center;
        padding: 0;
    }
}

footer > .copyright {
    padding: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    footer > .copyright {
        padding: 0;
    }
}
