@charset "UTF-8";
/* 変数定義 */

:root {
    /* カラー */
    --color-primary: #387d5c;
    --color-secondary: #ffd2d2;
    --color-accent: #c60000;
    --color-text: #333;
    --color-link: #006ad6;
    --color-white: #fff;
    --color-gray: #959595;
    --color-footer: #4c3f3f;

    /* レイアウト */
    --width-contnt: 1200px;
    --width-narrow: 770px;
    --space-unit: 15px;
    --space-section: 45px;

    /* その他 */
    --flex-gap: 30px;
    --duretion: 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-contnt);
    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(--space-section);
    }

    .lead {
    font-size: 14px;
    line-height: calc(26 / 14);
    text-align: center;
    padding-bottom: var(--space-section);
    }

/* ボタン */
    .btn {
        display: block;
        text-align: center;
        font-weight: bold;
    transition: all var(--duration);
    margin: 0 auto;
    }

/* プライマリーbtn */
    .btn-primary {
    width: 290px;
    height: 55px;
    line-height: 55px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
    }

/* セカンダリーbtn */
    .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);
    }

/* ページトップbtn */
    .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-praimary:hover,
    .btn-secondary:hover,
    .pagetop a:hover {
        opacity: 0.7;
    }
}
@media (hover: hover) and (pointer: coarse) {
    .btn-praimary:hover,
    .btn-secondary:hover,
    .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-accent);
    color: var(--color-white);
}

/* ハンバーガーメニュー */
.menu {
    display: none;
}

/* mv */
.slider {
    margin-bottom: var(--space-section);
}

.slider img {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

/* 矢印カスタマイズ */
.slick-prev {
    left: 20px;
    z-index: 1;
    transform: rotate(180deg);
}

.slick-next {
    right: 20px;
}

.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    content: "\f578";
}

/* section01 */
.sec-01 {
    padding-bottom: var(--space-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(--space-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(--space-section);
}

.image-video {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* section02 */
.sec-02 {
    background-image: url(../img/sec02-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: var(--space-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);
}

/* section03 */
.sec-03 {
    padding: var(--space-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) 10em;
    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(--space-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(--color-footer);
    color: var(--color-white);
    text-align: center;
    font-size: 12px;
}

/* アニメーション関連CSS */
.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-accent);
}

.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;
}
}