@charset "utf-8";

/* 基本設定--------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;

}

body {
    background: var(--bg-green);
    color: var(--txt-white);

    font-family:"ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    line-height: 1.6;

    overflow-x: hidden;
}

@media(max-width:600px) {
    html {
        font-size: 14px;
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

input,
textarea,
button,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

:root {
    --bg-green: #515541;
    --bg-white: #F2EEE0;
    --txt-black: #666666;
    --txt-white: #fff;
    --btn-red: #79342D;
    --btn-green: #949B6F;
    --hover-green: #d3df9a;
    --btn-hover:#7d845a;

    --grc-bg: #3C4B3C;
    --grc-btn: #587c66;
    --grc-accent: #6F886F;
    --grc-btn-hover: #5f8f72;
    --grc-txt-hover: #b8d9b8;

    --eco-bg:#484134; 
    --eco-accent:#89744A;
    --eco-btn:#886a3d;
    --eco-btn-hover:#745528;
    --eco-txt-hover:#dbbb79;


    --serif-text:ah-hakushu-sutra-typeface, serif;
    --en-text:sans-serif;

    --txt-shadow: 1px 1px 2px #111;
}

.more {
    transform: translateX(-5px);
    transition: transform .2s;
}
a:hover .more {
    transform: translateX(0);
}
/* --------------------------------------------------------------- */

/* ヘッダー --------------------------------------------------------------- */

header {
    position: fixed;
    top: 4rem;
    right: 5%;

    z-index: 999;
}
/* --------------------------------------------------------------- */

/* ナビゲーション --------------------------------------------------------------- */

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;

    text-align: right;
    text-shadow: 1px 1px 2px #111;
    font-size: 16px;
}

/* ホバー・アクション */
.nav-list a {
    position: relative;
}
.nav-list a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;

    height: 1px;
    background: var(--txt-white);

    transition: .2s;
}
.nav-list a:hover::before {
    width: 100%;
}
/* 現在地 */
.nav-list .now::before{
    width: 100%;
}

/* --------------------------------------------------------------- */


/* ドロップメニュー--------------------------------------------------------------- */
.drop-area {
    position: relative;
}

.drop-area i {
    margin: 0 0 0 .5rem;
}

.drop-list {
    position: absolute;
    top: 100%;
    right: .5rem;
    white-space: nowrap;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    padding: 1.5rem 0;

    font-size: .9rem;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease;
}

.drop-toggle {
    cursor: pointer;
}

/* ドロップメニュー展開 */
.drop-area.open .drop-list,
.drop-area:hover .drop-list{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sp-menu-area {
    display: none;
}
/* --------------------------------------------------------------- */


/* ハンバーガーメニュー--------------------------------------------------------------- */
@media (max-width: 800px) {
    
    /* ハンバーガーボタン */
    .hamburger-btn {
        position: fixed;
        top: 1.5rem;
        right: 2rem;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        width: 40px;
        height: 50px;

        z-index: 999;
        cursor: pointer;
    }

    .hamburger-btn span {
        position: absolute;
        display: block;

        width: 100%;
        height: 2px;
        background-color: var(--txt-white);
        box-shadow: 1px 1px 5px #000;

        transition: all .4s ease-in-out;
    }

    .hamburger-btn span:nth-child(1) {/*上*/
        top: 10px;
    }
    .hamburger-btn span:nth-child(2) {/*真ん中*/
        top: 50%;
        transform: translateY(-50%);
    }
    .hamburger-btn span:nth-child(3) {/*下*/
        bottom: 10px;
    }

    /* アクティブ */
    .nav-area.active { 
        right: 0;
    }

    .hamburger-btn.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        box-shadow:none;
    }
    .hamburger-btn.active span:nth-child(2) { 
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        top: 50%;
        transform: translateY(50%) rotate(-45deg);
        box-shadow:none;
    }
    /* --------------------------------------------------------------- */

/* ハンバーガー用ナビゲーション--------------------------------------------------------------- */
    .nav-area {
        position: fixed;
        top: 0;
        bottom: 0;
        right: -100%;
        left: auto;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        gap: 2rem;

        height: 100vh;
        width: 75%;
        background-color: #161616ec;

        padding: 7rem 3rem 3rem ;

        transition: ease .4s;

        z-index: 998;
    }

    .nav-list {
        gap: 1.3rem;
    }

    .sp-menu-area {
        display: block;
    }
    .sp-menu-list {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: .8rem;

        font-size: 12px;
    }


/* --------------------------------------------------------------- */
}

/* お問い合わせボタン--------------------------------------------------------------- */
.contact-parts-area {
    position: fixed;
    bottom: .5rem;
    left: 1.5rem;

    display: flex;
    gap: .5rem;

    z-index: 997;
}

.contact-parts {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: .8rem;

    width: 108px;
    height: 108px;

    padding: 8px 0 0 0;
    border-radius: 50%;
    background-color: var(--btn-red);
    box-shadow: 1px 1px 10px #11111196;

    transition: all .2s;
}

.contact-parts p {
    font-size: .75rem;
    text-align: center;
    line-height: 1.3;
}

.contact-parts i {
    font-size: 1.9rem;
}

.contact-parts:hover {
    background: #6e261e;
}

@media (max-width:600px){
    .contact-parts-area {
        left: .5rem;
        bottom: .5rem;
    }
    .contact-parts {
        gap: .5rem;

        width: 90px;
        height: 90px;
    }
}

/* ロゴメニュー（トップページ以外）--------------------------------------------------------------- */
.logo-menu-area {
    position: absolute;
    top: .5rem;
    left: 2rem;

    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.icon-logo {
    width: 70px;
    filter:drop-shadow( 1px 1px 2px #111 );
}

.logo-menu-list {
    display: flex;
    gap: 2rem;

    font-size: .8rem;
}

.logo-menu-list a {
    text-shadow: 1px 1px 2px #111;
}

/* ホバーアクション */
.logo-menu-list a {
    transition: all .2s;
}
.logo-menu-list a:hover {
    color: var(--hover-green);
}

@media(max-width:600px) {
    .logo-menu-list {
        display: none;
    }
    .logo-menu-area {
        left: 1rem;
    }
    .icon-logo {
        width: 60px;
    }
}
/* --------------------------------------------------------------- */

/* ファーストビュー--------------------------------------------------------------- */
/* --------------------------------------------------------------- */
.first-view {
    height: 100vh;
    width: 100%;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center ;
}

.first-area {
    position: relative;
    top: 50%;
    bottom: 50%;
    transform: translateY(-50%);
    left: 7%;

    display: flex;
    flex-direction: column;
    gap: 2rem;

    width: 50%;
    text-shadow: 1px 1px 2px #111;
}
.page-title h1 {
    font-family: var(--serif-text);
    font-size: 3.4rem;
    font-weight: normal;
    line-height: 1;

    white-space: nowrap;
    margin: 0 0 .5rem ;
}
.page-title .title-sub {
    font-family: var(--en-text);
    font-size: 1.25rem;
}

.first-area .page-text {
    line-height: 2.5;
}

@media (max-width:800px) {
    .first-area {
        left: 0;
        width: 100%;
        
        padding: 0 2rem;
    }
}

/* パンクズリスト--------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    justify-content: flex-end;

    padding: 1rem 2rem 1rem  ;
}
.breadcrumb ol {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;

    font-size: .8rem;
}
.breadcrumb li + li::before {
  content: ">";
  margin: 0 0.5em;
  color: var(--txt-white);
}


/* --------------------------------------------------------------- */

/* スクロール時にふわっと表示されるJS--------------------------------------------------------------- */
.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------- */


/* コンテンツ--------------------------------------------------------------- */
.wrapper {
    margin: 200px 0;
    display: flex;
    flex-direction: column;
    gap: 8rem;
    align-items: center;
}

@media(max-width:800px) {
    .wrapper {
        gap: 5rem;
        margin: 150px 0;
    }
}
@media(max-width:600px) {
    .wrapper {
        gap: 3rem;
        margin: 100px 0;
    }
}

/* --------------------------------------------------------------- */


/* 左寄りのコンテンツ--------------------------------------------------------------- */
.left-side-wrapper {
    width: 80%;
    max-width: 1200px;
}
.white-bg {
    background: var(--bg-white);
    border-radius: 0 30px 30px 0;

    color: var(--txt-black);

    gap: 5rem;
    padding: 4rem 0;
}
@media (max-width:800px) {
    .left-side-wrapper {
        width: 100%;
    }
    .white-bg {
        border-radius: 0;
        gap: 3rem;
    }
}
/* --------------------------------------------------------------- */


/* セクションタイトル--------------------------------------------------------------- */

.section-title {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    writing-mode: vertical-rl;

    position: relative;
    left: 0.75rem;
}

.section-title .title{
    font-family: var(--serif-text);
    font-size: 2.18rem;
}
.section-title .sub {
    font-family: var(--en-text);
    font-size: .75rem;
}
/* --------------------------------------------------------------- */


/* 関連企業--------------------------------------------------------------- */
.group-company .contents-area {
    display: flex;
    flex-direction: column;
    gap: 5rem;

    width: 80%;
}

.group-company .contents {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.group-company .top-item {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;

    padding: 0 2rem;
}

.group-company .text-area {
    width: calc(100% - 120px - 5%);
}
.group-company  img {
    width: 120px;
}

.group-company h3 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.group-company .desc {
    line-height: 1.8;
}

.group-company .bottom-item {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;

    border-bottom: .5px solid #bbb; 
    font-size: .85rem;

    padding: .5rem;
    
    transition: all .2s;
}

.group-company .contents:hover .bottom-item{
    color: var(--hover-green);
    border-bottom: .5px solid var(--hover-green);
}

@media (max-width:600px){
    .group-company .contents-area {
        width: 90%;
    }
    .group-company .top-item {
        flex-direction: column-reverse;
        gap: 2rem;

        padding: 0;
    }   
    .group-company .text-area {
        width: 100%;
    }
    .group-company  img {
        width: 100px;
    }    

}
/* ページリンク--------------------------------------------------------------- */
.page-link {
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto 100px 0; 
}
.page-link ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 1.5rem;
    column-gap: 2rem;

    width: 80%;
    margin: auto;
}
.page-link li {
    width: 45%;
    min-width: 350px;
}
.page-link a {
    display: flex;
    justify-content: space-between;
    text-wrap: nowrap;

    border-bottom: .5px solid var(--txt-white);

    padding: .5rem 0;
    font-size: .9rem;

    transition: all .2s;
}

.page-link .more {
    font-size: .8rem;
    font-family: var(--en-text);
}
.page-link .more i {
    margin: 0 0 0 1rem;
}

.page-link a:hover {
    color: var(--hover-green);
    border-bottom: .5px solid var(--hover-green);
}

@media(max-width:800px) {
    .page-link {
        width: 90%;
        margin: 0 auto 100px;
    }

    .page-link li {
        width: 100%;
        min-width: auto;
    }
}

@media(max-width:600px) {
    .page-link {
        width: 90%;
    }
    .page-link ul {
        width: 100%;
    }
}
/* --------------------------------------------------------------- */


/* フッター--------------------------------------------------------------- */
.footer {
    background-image: url(../img/common/footer_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    width: 100%;
}

.footer-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10rem;

    padding: 5rem 0 .5rem;
}

/* --------------------------------------------------------------- */



/* フッター上--------------------------------------------------------------- */
.footer-top-area {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
}

/* インフォメーション */
.info-area  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    width: 40%;
}
.footer-logo {
    max-width: 300px;
}
.footer-top-area .info-text {
    font-size: .9rem;
    text-align: center;
}

/* サイトマップ*/
.site-map {
    width: 50%;
}
.site-map-list {
    display: flex;
    flex-direction: column;

    gap: 2rem;

    writing-mode: vertical-rl;
    font-family: var(--serif-text);
    font-size: 1.3rem;
}
.site-map-drop {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    transform: translateY(1rem);
    margin: 0 1rem 0 0 ;
    font-size: 1rem;
}
.site-map-list a {
    transition: all .2s;
}
.site-map-list a:hover {
    color: var(--hover-green);
}
/* --------------------------------------------------------------- */

@media (max-width:1160px) {

    .footer-top-area {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        gap: 5rem;
    }
}

@media(max-width:800px) {

    .footer-area {
        align-items: center;
        justify-content: center;
        margin: 0 auto;

        gap: 8rem;
    }
    .footer-top-area {
        align-items: center;
        gap: 2rem;
        width: 80%;
        margin: 0;
    }

    .site-map {
        width: 80%;
    }

    .site-map-list {
        writing-mode: horizontal-tb;
        gap: 1rem;
    }

    .info-area {
        width: 80%;
    }


}


/* フッター下--------------------------------------------------------------- */
.footer-bottom-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    width: calc(100% - 216px - 5rem);

    margin: 0 2rem .5rem auto;
}

.footer-menu-list {
    display: flex;
    gap: 2rem;

    font-size: .9rem;
}

.footer-menu-list a {
    transition: all .2s;
}

.footer-menu-list a:hover {
    color: var(--hover-green);
}

.copy-right {
    font-size: .8rem;
}

@media(max-width:900px) {
    .footer-bottom-area {
        flex-direction: column;
        gap: 3rem;

        width: 90%;
    }

    .footer-menu-list {
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;
    }
}

/*GRC用フッター --------------------------------------------------------------- */
.grc-footer {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;

    width: 80%;

    margin: 100px auto 150px;
}
.grc-footer .left-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    width: 50%;
}
.grc-footer .right-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    width: 45%
}

.grc-footer .tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    background: var(--grc-btn);
    border-radius: 50px;

    width: 100%;
    padding: .5rem 2rem;

    text-wrap: balance;
    font-family: var(--en-text);
    font-size: 1.3rem;
    font-weight: bold;

    transition: all .2s;
}

.grc-footer .right-side li {
    display: flex;
    gap: 2rem;
}

.grc .footer-bottom-area {
    width: 90%;
}
.eco-footer .tel {
    background: var(--eco-btn);
}
.grc-footer .tel:hover {
    background: var(--grc-btn-hover);
}
.eco-footer .tel:hover {
    background: var(--eco-btn-hover);
}

@media(max-width:800px) {
    .grc-footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
    }
    .grc-footer .right-side,
    .grc-footer .left-side {
        width: 100%;
    }
}
@media(max-width:600px) {
    .grc-footer {
        width: 85%;
    }
}

/* 松柳園に戻る--------------------------------------------------------------- */
.back-shoryuen {
    position: fixed;
    top: 2rem;
    left: 3rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;

    background: transparent;
    color: #fff;
    border-radius: 50px;
    border: 1px solid #fff;
    box-shadow: 2px 2px 2px #a5a5a56f;
    text-shadow: 2px 2px 2px #a5a5a56f;

    padding: .5rem 3rem;

    font-size: .9rem;

    transition: all .2s;
    z-index: 888;
}
.back-shoryuen img {
    width: 30px;
    filter: drop-shadow(1px 1px 1px rgba(66, 66, 66, .4)); 
    -webkit-filter: drop-shadow(1px 1px 1px rgba(66, 66, 66, .4)); 


}
.back-shoryuen:hover {
    background-color: #ffffff2e; 
}

@media(max-width:800px) {
    .back-shoryuen {
        display: none;
    }

    .grc-sp-menu {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .sp-back-shoryuen {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;

        background: #fff;
        color: var(--txt-black);
        border-radius: 50px;
        
        font-size: .9rem;

        transform: translateX(1rem);
        min-width: 216px;
        padding: .3rem 1.5rem;
    }

    .sp-back-shoryuen img {
        width: 30px;
    }
}