@charset "UTF-8";

html {
    font-size: 62.5%;
}
body {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    font-family: Meiryo, sans-serif;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    vertical-align: middle;
    border: none;
}
iframe {
    vertical-align: middle;
}
a {
    color: hsl(200, 90%, 50%);
}
a:hover {
    color: hsl(200, 90%, 60%);
}

@media (min-width: 680px) {
    input, textarea { font-size: 16px; }
}

.body-inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.section-inner {
    width: 1280px;
    max-width: 100%;
    margin: auto;
}

/** 汎用 */
.nowrap {
    white-space: nowrap;
}
@media (max-width: 680px) {
}
@media (min-width: 680px) {
    .sp-only {
        display: none !important;
    }
}

/** グリッド */
.flex-grid {
    display: flex;
    flex-wrap: wrap;
}
.flex-grid > * {
    box-sizing: border-box;
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 15px;
    text-align: center;
}
.flex-grid.column-1 > * {
    width: 100%;
    padding: 0;
    margin-right: 0;
}
.flex-grid.column-2 > * {
    width: calc((100% - 15px) / 2);
}
.flex-grid.column-2 > *:nth-child(2n) {
    margin-right: 0;
}
.flex-grid.column-4 > * {
    width: calc(25% - 15px);
}
.flex-grid.column-4 > *:nth-child(4n) {
    margin-right: 0;
}

@media (max-width: 680px) {
    .flex-grid.sp-column-2 > * {
        width: calc((100% - 15px) / 2);
    }
    .flex-grid.sp-column-2 > *:nth-child(2n) {
        margin-right: 0;
    }
}

.float-grid > * {
    float: left;
    box-sizing: border-box;
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 15px;
}
.float-grid.column-2 > * {
    width: calc((100% - 15px) / 2);
}
.float-grid.column-2 > *:nth-child(2n) {
    margin-right: 0;
}
.float-grid.column-2::after {
    display: table;
    content: "";
    clear: both;
}

/** ヘッダー */
.site-header {
    position: fixed;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0.8));
    z-index: 1000;
}
header {
}
.sticky header {
    display: none;
}
    .header-copy {
        display: none;
        text-align: center;
        padding: 2px;
        background: hsl(200, 5%, 97%);
        font-size: 1.2rem;
    }
    .header-grid {
        display: flex;
        padding: 10px 0 0;
        align-items: center;
    }
        .header-logo {
            display: block;
            margin: 0 15px;
            text-align: center;
        }
        .header-contact {
            margin: 0 15px;
            margin-left: auto;
            text-align: right;
        }
            .header-contact-message {
                font-size: 1.2rem;
            }
            .header-contact-tel {
                color: hsl(200, 60%, 50%);
                font-size: 2.0rem;
                letter-spacing: 2px;
            }
            .header-contact-address {
                font-size: 1.2rem;
            }
    @media (max-width: 680px) {
        .header-copy {
            display: block;
        }
        .header-grid {
            display: block;
        }
        .header-contact {
            margin: auto;
            text-align: center;
        }
    }

/** グローバルナビ */
.global-nav {
    top: -100px; /* ついてくる時、ひょこっと現れるように top を下げておきます。 */
    transition: 0.2s top;
    letter-spacing: 2px;
}
.sticky .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.1);
    z-index: 10; /* 他の部分より上になるようにします。(下になってしまう場合は、1000など大きな値に変更) */
}
    .global-nav-check {
        display: none;
    }
    .global-nav-toggle {
        display: none;
    }
    .global-nav ul {
        display: flex;
        flex: 1 0 auto;
        justify-content: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }
        .global-nav ul > li {
            display: flex;
            /*flex-basis: 100%;*/
        }
            .global-nav ul > li > a {
                display: block;
                width: 100%;
                padding: 10px 15px;
                color: black;
                text-align: center;
                text-decoration: none;
                letter-spacing: 2px;
                transition: 0.2s all;
            }
            .global-nav ul > li > a:hover {
                background: #f9f9f9;
            }
                .global-nav ul > li > a .subtext {
                    display: block;
                    color: hsl(200, 60%, 50%);
                    font-size: 1.1rem;
                    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
                    margin-top: -2px;
                }

@media (max-width: 680px) {
    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }
    /** グローバルナビ */
    .global-nav > .section-inner {
        position: relative;
    }
        .global-nav-toggle {
            display: block;
            position: absolute;
            z-index: 2;
            padding: 10px;
            background: white;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }
        .global-nav-toggle:hover {
            background: #f9f9f9;
        }
        .global-nav-toggle::before {
            display: inline;
            content: "";
        }
        .global-nav-check + .global-nav-backdrop + .global-nav-toggle + ul {
            display: block;
            transition: 0.2s all;
        }
        .global-nav-check + .global-nav-backdrop + .global-nav-toggle ~ ul > li > a {
            padding: 0;
            line-height: 0;
            opacity: 0;
        }
        .global-nav-check:checked + .global-nav-backdrop + .global-nav-toggle ~ ul > li > a {
            padding: 8px;
            line-height: normal;
            opacity: 1;
        }
        .global-nav ul {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1;
            background: white;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        }
        .global-nav ul > li,
        .global-nav ul > li:first-child {
            border: none;
        }

        /** グローバルナビ背景 */
        .global-nav-backdrop {
            visibility: hidden;
            position: fixed;
            opacity: 0;
            top: 0; right: 0; bottom: 0; left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.45);
            transition: 0.2s all;
        }
        /** チェックON時のグローバルナビ背景 */
        .global-nav-checkbox:checked ~ .global-nav-backdrop {
            visibility: visible;
            opacity: 1;
        }
}

/** メイン */
main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: hsl(200, 5%, 97%);
}

    main section {
        padding: 15px;
        padding: 15px 0;
        background: white;
    }
    main section.alt-color {
        background: hsl(80, 15%, 98%);
    }
    main .section-inner {
        box-sizing: border-box;
        /*padding: 30px;*/
        padding: 30px 0;
    }
    main section .image {
        margin-bottom: 30px;
        text-align: center;
    }


    .section-header {
        position: relative;
        padding: 30px;
        font-size: 2.8rem;
        font-weight: 700;
        font-family: "Yu Mincho", "YuMincho", serif;
        /*font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;*/
        text-align: center;
        letter-spacing: 3px;
    }
    .section-sub-header {
        margin-top: 10px;
        padding: 15px;
        font-size: 1.8rem;
        font-weight: 400;
        /*font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;*/
        font-family: "Yu Mincho", "YuMincho", serif;
        text-align: center;
        letter-spacing: 2px;
    }
    @media (max-width: 680px) {
        .section-header {
            font-size: 2.2rem;
        }
        .section-sub-header {
            font-size: 1.6rem;
        }
    }

        /** カード */
        .card {
            background: white;
        }
        .card .card-caption {
            padding: 10px 10px 0 10px;
            text-align: center;
        }

    /** メインイメージ */
        .main-image {
            position: relative;
            padding: 0;
            text-align: center;
        }
        .main-image .section-inner {
            padding: 0;
        }

        .fullscreen-slider {
            width: 100%;
            height: 100vh;
            position: absolute;
            overflow: hidden;
            opacity: 0;
            transition: 0.5s opacity;
        }
        .fullscreen-slider.ready {
            opacity: 1;
        }
        .fullscreen-slider .slide {
            width: 100%;
            height: 100vh;
            position: absolute;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 100vw;
        }
        .fullscreen-slider .slide-1 { background-image: url(../img/slider-1.jpg) }
        .fullscreen-slider .slide-2 { background-image: url(../img/slider-2.jpg) }
        .fullscreen-slider .slide-3 { background-image: url(../img/slider-3.jpg) }
        .fullscreen-slider .slide-4 { background-image: url(../img/slider-4.jpg) }
        
        .fullscreen-slider .slide .block {
            position: absolute;
            top: 0;
            height: 100%;
            background-repeat: no-repeat;
        }
        .fullscreen-slider:not(.first) .slide.active .block {
            transform: translateX(-100%);
            animation: slide 1s forwards;
        }
        @keyframes slide {
            from { transform: translateX(-100%) }
            to { transform: translateX(0) }
        }

        .main-image .section-inner {
            position: relative;
            z-index: 100;
            height: 100vh;
            text-align: right;
        }
        .main-image .section-inner img {
            position: absolute;
            bottom: 10%;
            right: 0;
        }
        @media (max-width: 680px) {
            .main-image .section-inner img {
                bottom: 20%;
            }
        }
        @media (min-width: 1520px) {
            .main-image .section-inner img {
                right: -100px;
            }
        }

    /** 作業風景 */
        .movie .card iframe {
            width: 100%;
            height: 300px;
        }
        .movie .card.works {
            display: flex;
            align-items: center;
        }
        .movie .card.works img {
            margin: auto;
        }
        @media (max-width: 600px) {
            .movie .flex-grid {
                display: block;
            }
            .movie .flex-grid > * {
                width: 100%;
            }
        }
        
    /** 歴史 */
        main .history,
        main .history .section-inner {
            padding-left: 0;
            padding-right: 0;
            text-align: center;
        }
        /** 年表 */
        .history-timeline {
            margin: 30px 0;
            padding: 40px 0;
            position: relative;
        }
        .history-timeline-border::before {
            display: block;
            position: absolute;
            top: 0; right: 0; bottom: 0; left: 0;
            margin: auto;
            content: "";
            width: 0;
            height: 100%;
            border: 3px solid hsl(100, 30%, 30%);
            border-radius: 3px;
            z-index: 0;
            transform: scaleY(0.1);
            transform-origin: top;
            transition: 10s transform;
        }
        .history-timeline-border.scroll.in::before {
            transform: scaleY(1);
        }
        .history-timeline .box {
            position: relative;
            z-index: 1;
            font-size: 18px;
            font-family: "Yu Mincho", "YuMincho", serif;
            margin-bottom: 15px;
        }
        .history-timeline .box.left {
            text-align: right;
            margin-right: calc(50% + 40px);
        }
        .history-timeline .box.right {
            text-align: left;
            margin-left: calc(50% + 40px);
        }
        .history-timeline .box.right .head::before,
        .history-timeline .box.left .head::before {
            display: block;
            position: absolute;
            content: "";
            width: 40px;
            height: 0;
            top: 0; bottom: 0; right: 100%;
            margin: auto;
            border: 1px solid hsl(100, 30%, 30%);
        }
        .history-timeline .box.left .head::before {
            left: 100%; right: initial;
        }
        .history-timeline .box.right .head::after,
        .history-timeline .box.left .head::after {
            display: block;
            position: absolute;
            content: "";
            width: 12px;
            height: 12px;
            top: 0; bottom: 0; right: calc(100% + 30px);
            margin: auto;
            border: 4px solid hsl(100, 30%, 30%);
            border-radius: 16px;
            background: white;
        }
        .history-timeline .box.left .head::after {
            left: calc(100% + 30px); right: initial;
        }
        .history-timeline .box .head {
            position: relative;
            display: inline-block;
            margin-bottom: 5px;
            padding: 2px 15px;
            font-size: 20px;
            color: white;
            background: hsl(100, 30%, 30%);
        }
        .history-timeline .box .image {
            position: relative;
        }
        .history-timeline .box .image img {
            position: absolute;
            top: 0; left: 0;
        }
        .history-timeline .box.left .image img {
            left: initial; right: 0;
        }
        @media (max-width: 680px) {
            .history-timeline .box,
            .history-timeline .box .head {
                font-size: 16px;
            }
            .history-timeline .box .body br {
                display: none;
            }
        }

        /** 画像ボックス */
        .history-timeline .image-box.right {
            position: absolute;
            width: calc(50% - 40px);
            text-align: left;
            margin-left: calc(50% + 40px);
        }
        .history-timeline .image-box.left {
            position: absolute;
            width: calc(50% - 40px);
            text-align: right;
            margin-right: calc(50% + 40px);
        }
        /** コメント */
        main .history .comment {
            display: table;
            text-align: left;
            margin: 0 auto;
            border: 2px solid hsl(100, 30%, 30%);
            font-size: 18px;
            font-family: "Yu Mincho", "YuMincho", serif;
        }
        @media (max-width: 680px) {
            main .history .comment {
                margin: 0 15px;
            }
        }
        main .history .comment .head {
            position: relative;
            display: inline-block;
            margin-bottom: 5px;
            padding: 2px 15px;
            font-size: 20px;
            color: white;
            background: hsl(100, 30%, 30%);
        }
        main .history .comment .body {
            padding: 15px;
        }
        
    /** アルバム */
        .album {
            text-align: center;
        }
        .album img {
            width: 149px;
            display: inline-block;
            margin-bottom: 5px;
        }
        @media (max-width: 680px) {
            .album img {
                width: 85px;
            }
        }

    /** 価格 */
        main .price,
        main .price .section-inner {
            padding-left: 0;
            padding-right: 0;
        }
        .price .notice {
            text-align: center;
        }
        .price .price-image {
            padding: 5px;
            background: white;
            margin-bottom: 15px;
            text-align: center;
            overflow: auto;
        }
        .price .price-image a {
            display: inline-block;
        }
        .price .price-image img {
            min-width: 900px;
        }
        .price .notice {
            display: none;
        }
        @media (max-width: 900px) {
            .price .notice {
                display: block;
            }
        }

    /** フォーム */

        .contact:first-child:last-child {
            flex: 1;
        }

        .contact form {
            width: 80%;
            max-width: 100%;
            margin: auto;
        }

        /** 入力項目 */
        .contact input, 
        .contact textarea {
            font: inherit;
            margin: 0;
            vertical-align: middle;
            border: 1px solid #bbb;
        }
        .contact input:focus,
        .contact textarea:focus {
            outline: none;
        }
        /** 手入力、選択肢 */
        .contact input {
            box-sizing: border-box;
            margin: 2px;
            padding: 10px;
            max-width: 100%;
        }
        /** テキストエリア */
        .contact textarea {
            margin: 2px;
            padding: 10px;
        }

        /** 入力項目を伸ばす */
        .contact .full-field {
            box-sizing: border-box;
            width: 100%;
        }
        .contact div.full-field {
            padding: 10px;
            border: 1px solid #ddd;
        }

        /** ボタン */
        .contact button {
            font: inherit;
            font-size: 1.6rem;
            margin: 0;
            padding: 15px 40px;
            border: none;
            border-radius: 30px;
            background: hsl(100, 80%, 80%);
            vertical-align: middle;
            cursor: pointer;
            transition: 0.2s all;
        }
        .contact button:hover {
            opacity: 0.8;
        }

        /** ラベル */
        .contact label {
            display: block;
            padding: 10px 0;
            cursor: pointer;
        }

        /** 必須マーク */
        .require-mark {
            color: red;
        }

        /** フォーム下部 */
        .contact .form-footer {
            padding-top: 30px;
            padding-bottom: 30px;
            text-align: center;
        }

        .contact .contact-tel {
            text-align: center;
            font-size: 2.4rem;
            letter-spacing: 4px;
        }

    /** マップ */

        main section.map {
            padding: 0;
        }
        .map iframe {
            width: 100%;
            height: 500px;
        }
        @media (max-width: 680px) {
            .map iframe {
                height: 250px;
            }
        }
        
    /** ブログ */

        .blog {
            margin-top: 120px;
            flex: 1;
        }
        .blog .post {
            margin: 30px 30px 90px;
        }
        .blog .post-title {
            padding-top: 15px;
            padding-bottom: 30px;
            background: url(/images/b_line.jpg) no-repeat;
        }
        .blog .post-title a {
            color: black;
            text-decoration: none;
            font-family: "Yu Mincho", "YuMincho", serif;
            font-size: 2.2rem;
            font-weight: 700;
        }
        .blog .post-excerpt,
        .blog .post-content {
            font-size: 1.6rem;
            line-height: 2;
        }
        .blog .post-nav {
            text-align: center;
        }

/** フッター */
footer {
    padding: 10px;
    background: hsl(80, 65%, 90%);
}
        .address {
            font-size: 1.2rem;
            text-align: center;
        }
        .copyright {
            margin-top: 10px;
            font-size: 1.2rem;
            text-align: center;
        }

/** フェードインのアニメーション (.in はJavaScriptで設定されます) */
.scroll .fade-in { opacity: 0; transition: 0.5s all linear; }
.scroll.in .fade-in { opacity: 1; }
.scroll.fade-in { opacity: 0; transition: 0.5s all linear; }
.scroll.in.fade-in { opacity: 1; }
/** 上からせり上がるアニメーション */
.scroll .rise { opacity: 0; transform: translateY(30px); transition: 0.5s all linear; }
.scroll.in .rise { opacity: 1; transform: translateY(0); }
.scroll.rise { opacity: 0; transform: translateY(30px); transition: 0.5s all linear; }
.scroll.in.rise { opacity: 1; transform: translateY(0); }
/** 下に落ちるアニメーション */
.scroll .fall { opacity: 0; transform: translateY(-30px); transition: 0.5s all linear; }
.scroll.in .fall { opacity: 1; transform: translateY(0); }
.scroll.fall { opacity: 0; transform: translateY(-30px); transition: 0.5s all linear; }
.scroll.in.fall { opacity: 1; transform: translateY(0); }

/** アニメーションを遅らせる用の設定を好きな形で設定して使います */
.scroll.in .delay-0_5 { transition-delay: 0.5s; }
.scroll.in.delay-0_5 { transition-delay: 0.5s; }
.scroll.in .delay-1 { transition-delay: 1s; }
.scroll.in.delay-1 { transition-delay: 1s; }
.scroll.in .delay-1_5 { transition-delay: 1.5s; }
.scroll.in.delay-1_5 { transition-delay: 1.5s; }
.scroll.in .delay-2 { transition-delay: 2s; }
.scroll.in.delay-2 { transition-delay: 2s; }

/** モーダル */
[data-modal] {
    cursor: pointer;
}
/** ダイアログ用のチェックボックス */
.modal-checkbox {
    display: none;
}
/** ダイアログ */
.modal {
    visibility: hidden;
    position: absolute;
    opacity: 0;
    box-sizing: border-box;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100vh;
    overflow: auto;
    margin: auto;
    padding: 5px 10px 10px 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: white;
    font-size: 14px;
    transition: 0.2s all;
    z-index: 1001;
}
@media (max-width: 680px) {
    .modal {
        width: calc(100% - 10px);        
    }
}
/** チェックON時のダイアログ */
.modal-checkbox:checked ~ .modal {
    visibility: visible;
    opacity: 1;
}
/** ダイアログ背景 */
.modal-backdrop {
    visibility: hidden;
    position: fixed;
    opacity: 0;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    transition: 0.2s all;
    z-index: 1000;
}
/** チェックON時のダイアログ背景 */
.modal-checkbox:checked ~ .modal-backdrop {
    visibility: visible;
    opacity: 1;
}
/** ヘッダー */
.modal-header {
    display: flex;
    align-items: center;
    margin: -15px -15px 15px -15px;
    padding: 10px 15px;
    background: #f0f0f0;
}
/** ダイアログ×ボタン (画像にする場合は.modal-close, .modal-open::beforeおよび::afterのスタイルは不要です)  */
.modal-close {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 0 0 auto;
    cursor: pointer;
    box-sizing: border-box;
}
.modal-close::before,
.modal-close::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    width: 80%;
    height: 0;
    border-top: 2px solid black;
    transform: rotate(45deg);
}
.modal-close::after {
    transform: rotate(-45deg);
}
.modal-image {
    display: block;
    margin: 5px auto 0;
    width: 100%;
}
/** フッター */
.modal-footer {
    display: flex;
    align-items: center;
    margin: 15px -15px -15px -15px;
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
}
/** ダイアログボタン */
.modal-button {
    display: inline-block;
    padding: 10px;
    color: white;
    background: hsl(205, 90%, 58%);
    cursor: pointer;
}

