@charset "UTF-8";

:root {
    /* カラー */
    --color-primary: #9692de;
    --color-secondary: #e3cee5;
    --color-accent: #c60000;
    --color-text: #333;
    --color-link: #006ad6;
    --color-white: #fff;
    --color-gray: #959595;
    --colot-footer:#b18ab5;
    /* レイアウト */
    --width-content: 1200px;
    --width-narrow: 770px;
    --space-unit: 15px;
    --sepace-section:45px;

    /* その他 */
    --flex-gap: 30px;
    --duration: 0.7s;
}
/* ベース */
body {
    font-family: "Yu Gothic", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    overflow-x: hidden;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
/* レイアウト */
.wrapper {
    width: var(--width-content);
    margin: 0 auto;
    position: relative;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
}
/* 共通コンポーネント */
.sec-ttl {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding-bottom: var(--sepace-section);
}
.lead {
    font-size: 14px;
    line-height: calc(26 / 14);
    text-align: center;
    padding-bottom: var(--sepace-section);
}
/* ボタン共通 */
.btn {
    display: block;
    text-align: center;
    font-weight: bold;
    transition: all var(--duration);
    margin: 0 auto;
}
/* ブライマリーボタン */
.btn-primary {
    width: 290px;
    height: 55px;
    line-height: 55px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
}
/* セカンダリーボタン */
.btn-secondary {
    width: 150px;
    height: 45px;
    line-height: 45px;
    border-radius: 5px;
    box-shadow: 0px 2px 3.6px 2.4px rgba(0, 0, 0, 0.16);
    font-size: 15px;
    color: var(--color-text);
}
/* ページトップボタン */
.pagetop {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 1;
}
.pagetop:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--color-white);
    border-right: 3px solid var(--color-white);
    translate: 0 20%;
    rotate: -45deg;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
}
.pagetop:hover {
    transition: all var(--duration);
}
/* ボバー制御 */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .pagetop a:hover {
        opacity: 0.7;
    }
}
@media (hover: none) or (pointer: coarse) {
/* タッチデバイスでの即時反応 */
    .btn-primary:active,
    .btn-secondary:active,
    .pagetop a:hover {
        opacity: 1;
    }
}
/* header */
.header {
    padding-bottom: var(--space-unit);
}
.header .wrapper {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* ロゴ */
.logo img {
    margin: 0;
}
/* 検索フォーム */
.search {
    position: relative;
}
.search input {
    width: 230px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid var(--color-gray);
    box-sizing: border-box;
    font-size: 20px;
    padding-left: 30px;
}
.search-sp {
    display: none;
}
.search-icon {
    position: absolute;
    top: 10px;
    left: 10px;
}
/* グローバルナビ */
.nav {
    background: var(--color-secondary);
}
.nav-list {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: var(--flex-gap);
}
.nav-list > li {
    width: calc((100% - var(--flex-gap) * 4) / 5);
}
.nav-link {
    display: block;
    height: 60px;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text);
    text-align: center;
    line-height: 60px;
    transition: all 0.5s;
}
.nav-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
/* ハンバーガーメニュー */
.menu {
    display: none;
}
/* main visual */
.slider {
    margin-bottom: var(--sepace-section);
}
.slider img {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}
/* スライダー矢印カスタマイズ */
.slick-prev {
    left: 20px;
    z-index: 1;
    transform: rotateY(180deg);
}
.slick-next {
    right: 20px;
}
.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    content: "\f101";
}
/* セクション01 */
.sec-01 {
    padding-bottom: var(--sepace-section);
}
.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 calc(-1 * var(--space-unit));
    padding-bottom: var(--sepace-section);
}
.card {
    width: 400px;
    box-sizing: border-box;
    padding: 0 var(--space-unit);
}
.card img {
    padding-bottom: var(--space-unit);
}
.card-ttl {
    font-size: 18px;
    line-height: calc(30 /18);
    font-weight: bold;
    text-align: center;
    padding-bottom: var(--space-unit);
}
.card-txt {
    font-size: 14px;
    line-height: calc(26 /14);
}
/* movie */
.movie {
    padding-bottom: var(--sepace-section);
}
.image-video {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
/* セクション02 */
.sec-02 {
    background-image: url(../img/sec02-bg-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: var(--sepace-section) 0;
    color: var(--color-white);
}
.box-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.box {
    width: calc(50% - var(--space-unit));
    display: flex;
    align-items: stretch;
    margin-bottom: 30px;
    background: var(--color-white);
}
.box-img {
    width: 30%;
}
.box-content {
    display: flex;
    align-items: center;
    padding: 0 var(--space-unit);
    width: 70%;
    color: var(--color-text);
}
.box-ttl {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: var(--space-unit);
}
.box-txt {
    font-size: 14px;
    line-height: calc(26 / 14);
}
/* セクション03 */
.sec-03 {
    padding: var(--sepace-section) 0;
}
.sec-03 .wrapper {
    width: var(--width-narrow);
}
.news-list {
    padding-bottom: 30px;
}
.news-list dt {
    position: absolute;
    padding: var(--space-unit) 0;
    font-size: 14px;
}
.news-list dd {
    padding: var(--space-unit) 0 var(--space-unit) 10rem;
    border-bottom: 1px dotted var(--color-text);
    font-size: 14px;
}
.news-list dd a {
    text-decoration: none;
    color: var(--color-link);
}
.news-list dd a:hover{
    text-decoration: underline;
    color: var(--color-text);
}
.new {
    display: inline-block;
    width: 37px;
    height: 19px;
    line-height: 19px;
    border-radius: 3px;
    background: var(--color-accent);
    text-align: center;
    font-size: 12px;
    color: var(--color-white);
    margin-left: 10px;
}
/* footer */
.footer {
    background: var(--color-secondary);
}
.footer .wrapper {
    padding: var(--sepace-section) 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--flex-gap);
}
.address {
    width: 200px;
    font-size: 15px;
}
.footer-ttl {
    font-weight: bold;
    padding-bottom: var(--space-unit);
}
.address address {
    line-height: calc(24 /15);
}
.footer-nav {
    display: flex;
    width: calc(100% - 200px);
    max-width: 870px;
    justify-content: space-between;
    gap: var(--flex-gap);
}
.footer-nav ul {
    width: calc((100% - var(--flex-gap) * 3) / 4);
}
.footer-nav li {
    font-size: 15px;
    line-height: 1.4;
}
.footer-nav li + li {
    margin-top: 8px;
}
.footer-nav a {
    color: var(--color-text);
    text-decoration: none;
}
.footer-nav a:hover {
    text-decoration: underline;
}
.copyright {
    height: 30px;
    line-height: 30px;
    background: var(--colot-footer);
    color: var(--color-white);
    text-align: center;
    font-size: 12px;
}
/* アニメーション */
.f-up {
    opacity: 0;

}
.f-up.fadeup {
    animation: fadeupanime 1s forwards;
}

@keyframes fadeupanime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
レスポンシブ tablet
----------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .wrapper {
        width: 768px;
    }

    .nav-list {
        width: 100%;
    }

    .card {
        width: 33.3333%;
    }

    .box-list {
        justify-content: center;
    }

    .box {
        width: 80%;
    }

    .sec-03 .wrapper {
        width: 100%;
    }

    .footer-nav {
        width: calc(100% - ((var(--flex-gap) + 200px)));
    }
}

/*
レスポンシブ mobile
----------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .wrapper {
        width: 100%;
    }

    .sec-ttl {
        font-size: 24px;
        padding-bottom: var(--space-unit);
    }

    .lead {
        text-align: left;
    }

    /* ヘッダー（SP） */
    .header .wrapper {
        padding: 0 var(--space-unit);
        display: block;
        height: auto;
    }

    .logo {
        margin: 10px 0;
    }

    .search {
        display: none;
    }

    /* 検索フォーム（SP） */
    .search-sp {
        display: flex;
        justify-content: center;
        position: relative;
        padding: var(--space-unit) 0;
    }

    .search-sp input {
        width: 230px;
        height: 37px;
        border-radius: 5px;
        border: 1px solid var(--color-gray);
        box-sizing: border-box;
        font-size: 20px;
        padding-left: 30px;
        background: var(--color-white);
    }

    .search-sp input:focus {
        outline: none;
        border: 1px solid var(--color-primary);
    }

    .search-sp .search-icon {
        position: absolute;
        top: calc(50% - 8px);
        left: calc(50% - 108px);
    }

    /* ナビゲーション（SP） */
    .nav {
        height: 100%;
        display: none;
    }

    .nav-list {
        width: 100%;
        flex-direction: column;
    }

    .nav-list > li {
        width: 100%;
    }

    /* ハンバーガーメニュー（SP） */
    .menu {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }

    .menu span {
        display: block;
        height: 3px;
        background: #333;
        position: absolute;
        width: 100%;
        left: 0;
        transition: 0.5s ease-in-out;
        border-radius: 3px;
    }

    .menu span:nth-child(1) {
        top: 5px;
    }

    .menu span:nth-child(2) {
        top: 15px;
    }

    .menu span:nth-child(3) {
        top: 25px;
    }

    .open .menu span:nth-child(1) {
        top: 12px;
        rotate: 135deg;
    }

    .open .menu span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open .menu span:nth-child(3) {
        top: 12px;
        rotate: -135deg;
    }

    /* セクション01（SP） */
    .sec-01 {
        padding-bottom: 30px;
    }

    .card-list {
        flex-direction: column;
        padding-bottom: 30px;
    }

    .card {
        width: 100%;
    }

    .card + .card {
        padding-top: 30px;
    }

    /* movie（SP） */
    .movie {
        padding-bottom: 30px;
    }

    /* セクション02（SP） */
    .sec-02 {
        padding: 30px 0;
    }

    .box {
        width: 100%;
        margin-bottom: var(--space-unit);
    }

    .box:last-of-type {
        margin-bottom: 30px;
    }

    .box-ttl {
        font-size: 14px;
    }

    .box-txt {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* セクション03（SP） */
    .sec-03 {
        width: 100%;
        padding: 30px var(--space-unit);
        box-sizing: border-box;
    }

    .sec-03 .wrapper {
        width: 100%;
    }

    .news-list dd {
        padding-left: 6rem;
    }

    /* フッター（SP） */
    .footer .wrapper {
        padding-left: var(--space-unit);
        padding-right: var(--space-unit);
    }

    .footer-nav {
        display: none;
    }

    /* ページトップ（SP） */
    .pagetop {
        bottom: 20px;
        right: 5px;
    }

    /* スライダー（SP） */
    .slick-slide {
        padding: 0;
    }
}