@charset "UTF-8";

/* ==========
common
============= */

:root {
    --primary-title-green: #385723F7;
    --primary-body-green: #385723;
    --primary-querybtn-green: rgba(56, 87, 35, 0.90);
    --primary-contentbtn-green: rgba(56, 87, 35, 0.60);
    --primary-design-yellow: rgba(250, 237, 203, 0.40);
    --primary-desgin-green: rgba(148, 171, 113, 0.20);
    --primary-result-background-green: rgba(199, 217, 181, 0.20);
    --primary-background-brown: #F9F7F3;
    --contentwidth: 91.4%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Shippori Mincho", Halant, serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-body-green, #385723);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    /* 画像が元々持っているサイズまでは伸び縮み */
}

.headline {
    color: var(--primary-title-green, #385723F7);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 20px 0;
}

.headline::before {
    background: var(--primary-title-green, #385723F7);
    content: '';
    display: block;
    width: 1.5px;
    height: 19px;
    margin: 0 auto;
}

.map {
    width: 100%;
    max-width: 330px;
    height: 200px;
    display: block;
    margin: 20px auto;
    border: none;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
JQuery Animation 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝制御 */

.fade-in {
    opacity: 0;
    transform: translateY(30px); /* ← ここが「下から」の動き */
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* common PC setting */
@media screen and (min-width: 769px) {
    .headline {
        font-size: 2.4rem;
        font-weight: 700;
        margin: 60px 13% 60px;
    }

    .headline::before {
        height: 31px;
    }

    .spBr { 
        display: none;
    }
}
/* PC 769px 設定 */


/* ==========
header
============= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 10px 4.5%;
    background-color: rgba(255, 255, 255, 0.95); 
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__topic,
.nav__topic,
.footer__topic {
    color: #000;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.0;
    white-space: normal;        /* 改行を許可 */
    word-break: normal;         /* 単語単位で改行 */
    overflow-wrap: break-word;  /* 長いURLなどは折り返す */
    flex: unset; 
}

.header__topic span,
.nav__topic span, 
.footer__topic span {
    color: #000;
    font-family: Halant;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 40px 0 0;
}

.header__btn {
    width: 29px;
    height: 23px;
}

.nav__btn {
    width: 29px;
    height: 29px;
    position: relative;
    /* ← 配置基準にする */
    z-index: 1000;
    /* ← 前面に出す */
    cursor: pointer;
}

.mainimage {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
  overflow: hidden;
}

.mainimage_sp {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 87px;
} 

.mainimage__caption {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0.6em 1.2em;
    border-radius: 8px;
    z-index: 2;
    text-align: center;
}

.mainimage_pc {
    display: none;
}

.nav__list--pc {
    display: none;
}

/* header PC 表示 */
@media screen and (min-width: 769px) {
    .header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
        background: none;
        padding: 2rem 5%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__btn {
        display: none;
    }
    
    .mainimage_sp {
        display: none;
        margin-top: 90px;
    }
    .mainimage_pc {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 100px;
    }
    
    .mainimage {
        position: relative;
        width: 100%;
        margin: 0 auto;
        height: auto;
    }

    .header__topic {
        position: absolute;
        top: 20%;
        left: 8.6%;
        color: #000;
        z-index: 10;
        font-size: 2.6rem;
        font-weight: 700;
        line-height: 1.4;
    }

    .header__topic span {
        display: block;
        font-size: 2.0rem;
        font-weight: 400;
        margin-top: 0.6rem;
        color: #000;
    }
    .nav { 
        display: none;
    }

   .nav__list--pc {
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0 auto;
        padding: 20px;
        display: flex;
        justify-content: flex-end;
        gap: 5px;
        z-index: 1;
    }
    
    .nav__list--pc.fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 55px;
        padding: 10px 5%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        align-items: center;
    }

    .nav__list--pc.fixed::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        width: 300px;  /* ←画像サイズに調整 */
        height: 60px;
        background-image: url("../images/logo.png"); /* 画像パスに変更 */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
        z-index: 1;
        pointer-events: none;
    }

    .nav-logo-link {
        position: fixed;
        top: 10px;     /* 調整 */
        left: 5%;
        width: 300px;  /* ロゴの幅に合わせて */
        height: 60px;  /* ロゴの高さに合わせて */
        z-index: 1000;
        display: block;
  }

    .pcnav_item { 
        font-size: 1.4rem;
        font-weight: 700;
        margin: 0 10px;
    }
}

/* Article Header */
@media screen and (min-width: 769px) {

    .mainimage__caption {
        text-align: center;
        font-size: 2.8rem;
        font-weight: 700;
    }

    /* 四角１(Green) */
    .maincaption::after {
        width: 428px;
        height: 428px;
        position: absolute;
        bottom: 220px;
        right: 40px;
        z-index: 0;
    }
    /* 四角１(yellow) */
    .maincaption::before  {
        content: "";
        position: absolute;
        top: 120px;
        left: 800px;
        width: 320px;
        height: 320px;
        z-index: 1;
    }

    .mainCaption__txt {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 200%; /* 32px */
        letter-spacing: 1.12px;
        margin: 0 5%;
    }
}
/* PC 769px - main */


/* ＝＝＝＝＝＝＝
Nav 初期表示 
＝＝＝＝＝＝＝＝＝*/

.nav {
    background: rgba(255, 255, 255, 0.90);
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    /* 画面いっぱいに広げる＋右上固定 */
    transform: translateX(-100%);
    /* 初期表示で隠す */
    transition: transform 0.4s;
    /* 滑らかに出てくる */
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4.5%;
    margin-top: 20px;
    gap: 10px;
}

.nav__list {
    margin-top: 80px;
}


.nav_item {
    color: var(--primary-body-green);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 40px;
}

/* ===========
.nav active 表示 
================*/

.nav.active {
    transform: translateX(0);
}

/* ==================
main contents
=====================*/

none

/* ==================
Section Query 
================ */
.section--query {
    padding: 25px 15.7%;
    background-image: url(../images/queryform_background.png);
    background-position: center;
    background-size: cover;
}

.query__txt {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: 0.98px;
}

.query__btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 40px 0 60px;
}

.query__btn {
  display: block;
  background-color: var(--primary-querybtn-green);
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  padding: 1em 2em;
  border-radius: 10px;
  width: 80%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.query__btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.40);
}

@media screen and (min-width: 769px) {
    
    .section--query {
        padding: 25px 15.7% 70px;
        background-image: url(../images/queryform_pc.png);
        background-position: center;
        background-size: cover;
    }
    
    
    .query__txt {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 200%; /* 32px */
        letter-spacing: 1.12px;
    }

    .query__btns {
        flex-direction: row;
        justify-content: center;
        margin-top: 6rem;
        gap: 60px;
    }
    .query__btn {
        font-size: 2rem;
        padding: 1.2em 2em;
        border-radius: 8px;
        max-width:360px;
        width: 80%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: background-color 0.3s ease;
    }
}
/* PC 表示 */


/* =====================
Footer 
===================== */
.footer { 
    padding: 0 6.4%;
}

.footer__topic {
    margin-top: 25px;
}

.footer__address, 
.footer_phone {
    color: #000;
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 15px;
}

.footer__phone {
    color: #000;
    margin-top: 5px;
}

.copy {
    color: rgba(0, 0, 0, 0.50);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 40px;
}

.footer__nav {
    display: none;
}

@media screen and (min-width: 769px) {

    .footer::before {
        width: 100%;
        height: 1px;
    }

    .footer__nav {
        display: block;
    }

    .footer__menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer__topic {
        font-size: 2.6rem;
        font-weight: 700;
        margin-top: 40px;
    }

    .footer__topic span {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .footer__address, 
    .footer__phone {
        font-size: 1.6rem;
    }

    .copy {
        font-size: 1.4rem;
        margin: 70px 0 30px;
    }

    .footer__nav {
        display: flex;
        align-items: start;
        
    }

    .footer__nav::before {
        background: var(--primary-body-green);
        content:'';
        display: block;
        width: 1px;
        height: 200px; 
    }

    .footernav__list {
        margin: 0 100px 0 100px;
    }

    .footernav_item {
        display: flex;
        flex-direction: column;
        text-align: center;
        font-size: 1.6rem;
        font-weight: 400;
        margin-top: 20px;
    }
}
/* PC 表示*/

/* ＝＝＝＝＝＝＝＝＝＝＝＝
NavのHover 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

.nav_item a,
.pcnav_item a,
.footernav_item a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

/* 下線アニメーション */
.nav_item a::after,
.pcnav_item a::after,
.footernav_item a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-body-green);
  transition: width 0.3s ease;
}

/* ホバー時に表示 */
.nav_item a:hover::after,
.pcnav_item a:hover::after,
.footernav_item a:hover::after {
  width: 100%;
}


