@charset "UTF-8";

/* リセット */
body, h1, h2, h3, h4, h5, h6, p, ul, figure {
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
}

/* 基本 */
body {
    /*font-family: "Helvetica Neue",*/
    /*    Arial,*/
    /*    "Hiragino Kaku Gothic ProN",*/
    /*    "Hiragino Sans",*/
    /*    Meiryo,*/
    /*    sans-serif;*/
    font-family: 'Hiragino Mincho Pro', 'Yu Mincho', YuMincho, "YuMincho", serif;
}
h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}
h3,
.message h2 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
}
p {
    font-size: 0.875rem;
    line-height: 1.75;
    margin: 1rem 0;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}
@media (min-width: 900px) {
    h2 {
        font-size: 2.25rem;
    }
    h3,
    .message h2 {
        font-size: 1.875rem;
        margin-bottom: 3rem;
    }
    p {
        font-size: 1.125rem;
        margin: 1.5rem 0;
    }
}

/* レイアウト */
header {
    /*margin-bottom: 5rem;*/
}
section {
    margin-bottom: 7rem;
    text-align: center;
}
.main section:last-child {
    padding-bottom: 7rem;
    margin-bottom: 0;
}
.container {
    padding: 0 6.4% 4rem;
    /*width: 87.2%;*/
    margin: 0 auto;
}

@media (min-width: 900px) {
    .container {
        width: 75%;
        max-width: 1600px;
        /*margin: 0 auto;*/
    }
}


/* ヘッダー */
/* :TODO KV画像再書きだし シャープに */
.header {
    position: relative;
    /*height: 100vh;*/
    height: calc(var(--vh, 1vh) * 100);
}
.header .image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /*height: calc(var(--vh, 1vh) * 100);*/
    background-image: url("img/corp-kv-sp4.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    z-index: -1;
}
.site {
    display: flex;
    align-items: center;
    color: #fff;
}
.site img {
    margin: 6px 8px 6px 12px;
    width: 80px;
}
.header .site {
    background: #ffffff;
    color: #4C4D4C;
}
.home h1 {
    font-family: YuMincho, "YuMincho", Serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    margin-top: 0.1rem;
}
.kv-scroll {
    position: absolute;
    bottom: 30px;
    color: #333;
    width: 100%;
    text-align: center;
}
.kv-scroll p {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 600;
    margin: 0;
}
.kv-scroll .line-animation {
    position: absolute;
    left: 50%;
}
.kv-scroll .line-animation:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 30px;
    background: #333;
    animation: lineAniTop 1.5s cubic-bezier(0.45, 0.05, 0.3, 0.93) 1s infinite;
}
@media (min-width: 900px) {
    .site img {
        margin: 15px 15px 15px 25px;
        width: 100px;
    }
    .home h1 {
        font-size: 1rem;
        margin-top: .2rem;
    }
    .header .image {
        background-image: url("img/corp-kv-pc3.jpg");
    }
}

/* メインコンテンツ */
.main {
    background: #ffffff;
    padding: 5rem 0 0;
}

/* メッセージセクション */
.message .container {
    padding-bottom: 0;
    width: 75%;
}
.message h2 span {
    display: inline-block;
    border-bottom: 1px solid #222222;
    margin-bottom: .6rem;
    padding-bottom: .2rem;
}
.message p {
    text-align: left;
}
@media (min-width: 900px) {
    .message p {
        width: 600px;
        margin-left: auto;
        margin-right: auto;
        /*text-align: center;*/
    }
}


/* 事業 */

.division .container {
    background-color: #F4F4F4;
    padding-top: 2.5rem;
}
.division .title {
    margin-bottom: 1rem;
}
.division p.name {
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 18px;
    text-align: center;
}
.division figure {
    height: 475px;
    background-position: center;
    background-size: cover;
}
.division.maeken figure {
    background-image: url("img/corp_maeken_sp2.jpg");
}
.division.konoka figure {
    background-image: url("img/corp-konoka-sp.jpg");
}
.division.niwanoso figure {
    background-image: url("img/corp-niwanoso-sp.jpg");
}
.division.nonoie figure {
    background-image: url("img/corp-nonoie-sp.jpg");
}
.division p {
    text-align: left;
}
a.exlink-btn {
    display: block;
    margin-top: 2.5rem;
    padding: .8rem 0;
    border: 2px solid #000000;
    font-size: 1rem;
    background: #fff url("img/corp-exlink.svg") no-repeat 94% 50%;
}
@media (min-width: 900px) {
    .division p.name {
        font-size: 22px;
        margin-bottom: 1.5rem;
    }
     .division figure {
         width: 70%;
         margin: 0 auto;
         position: relative;
         z-index: 10;
     }
    .division.maeken figure {
        background-image: url("img/corp_maeken2.jpg");
    }
    .division.konoka figure {
        background-image: url("img/corp-konoka.jpg");
    }
    .division.niwanoso figure {
        background-image: url("img/corp-niwanoso.png");
    }
    .division.nonoie figure {
        background-image: url("img/corp-nonoie.png");
    }
    .division .container {
        margin-top: -250px;
        padding-top: 330px;
        position: relative;
        /*z-index: -1;*/
    }
    .division p {
        width: 678px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    a.exlink-btn {
        width: 340px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3.5rem;
        margin-bottom: 2rem;
    }
}


/* フッター */
footer {
    background-color: #877A6B;
    color: #ffffff;
    padding-top: 3.375rem;
    padding-bottom: 2.25rem;
}
footer .container {
    padding-bottom: 0;
}
footer .site {
    display: block;
    text-align: center;
}
footer .site img {
    margin: 0;
    width: 206px;
}
footer .corp {
    margin-top: 1.75rem;
}
footer .address,
footer .tel {
    margin: 0;
}
footer .corp {
    font-size: 1.1875rem;
}
footer .address {
    font-size: 0.8125rem;
}
footer .tel {
    font-size: 0.875rem;
}
footer .group-link {
    padding: 3rem 6.4%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer .subsidy {
    font-size: .75rem;
    text-align: center;
    margin-bottom: 1rem;
}
footer .copyright {
    font-size: 0.625rem;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    text-align: center;
}
a.grlink-btn {
    display: block;
    padding: 0.7rem 0.7rem 0.7rem 3rem;
    margin: 0.3rem 0;
    border: 1px solid #CECECE;
    color: #6a6a6a;
    font-size: 0.8125rem;
    line-height: 1.5;
    width: 236px;
    background-color: #ffffff;
}
a.grlink-btn.maeken {
    background-image:
            url("img/corp-maeken-logo.svg"),
            url("img/corp-grlink.svg");
    background-position:
            6% 50%,
            94% 50%;
    background-repeat: no-repeat;
}
a.grlink-btn.konoka {
    background-image:
            url("img/corp-konoka-logo.svg"),
            url("img/corp-grlink.svg");
    background-position:
            6% 50%,
            94% 50%;
    background-repeat: no-repeat;
}
a.grlink-btn.niwanoso {
    background-image:
            url("img/corp-niwanoso-logo.svg"),
            url("img/corp-grlink.svg");
    background-position:
            4% 50%,
            94% 50%;
    background-repeat: no-repeat;
}
a.grlink-btn.nonoie {
    padding: 0.7rem 0.2rem 0.7rem 3.5rem;
    background-image:
            url("img/corp-nonoie-logo.png"),
            url("img/corp-grlink.svg");
    background-position:
            4% 50%,
            94% 50%;
    background-size:
            14%,
            auto;
    background-repeat: no-repeat;
}
a.grlink-btn span {
    display: block;
    color: #333333;
    font-size: 0.9375rem;
}
a.grlink-btn.maeken span {
    letter-spacing: .05rem;
}
a.grlink-btn.konoka span {
    letter-spacing: -0.05rem;
}
a.grlink-btn.niwanoso span {
    letter-spacing: -0.1rem;
}
a.grlink-btn.nonoie span {
    letter-spacing: -0.05rem;
}
a.grlink-btn.nonoie span.ruby {
    display: inline;
    font-size: .625rem;
    letter-spacing: .02rem;
}

@media (min-width: 900px) {
    footer .container {
        width: auto;
    }
    footer .group-link {
        width: 604px;
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-left: 0;
        padding-right: 0;
    }
    a.grlink-btn {
    }
    a.grlink-btn:nth-child(2) {
        /*margin: 0 12px;*/
    }
    footer .subsidy br {
        display: none;
    }
}


/* アニメーション */
@keyframes lineAniTop {
    0% {
        transform: scaleY(0);
        transform-origin: center top; }
    30% {
        transform: scaleY(1);
        transform-origin: center top; }
    30.001% {
        transform: scaleY(1);
        transform-origin: center bottom; }
    60% {
        transform: scaleY(0);
        transform-origin: center bottom; }
    100% {
        transform: scaleY(0);
        transform-origin: center bottom; }
}

/* aos */
[data-aos="hide-animation"] {
    opacity: 1;
    transition-property: transform, opacity;
}
[data-aos="hide-animation"].aos-animate {
    opacity: 0;
}