@charset "UTF-8";
/* CSS Document */

:root {
  --green: #86A92C;
  --black: #4F4E4E;
  --blue: #4E78C6;
  --space_04rem: 0.4rem;
  /*   --panel-w:360px;       /* 左パネル幅 */
  /*--hero-h:680px;        /* ヒーローの全高（必要に応じて調整） */
}

/*--------------------------------
幅,囲い要素
----------------------------------*/
#wrapper {
  width: 100%;
  min-width: 1050px;
  margin: 0 auto;
  color: var(--black);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  position: relative;
  background: #FAF8F4;
  right: 0;
  overflow: hidden;
  letter-spacing: 0.12rem;
  /* letter-spacing: 0.065em; */
}

@media screen and (max-width: 639px) {
  #wrapper {
    min-width: initial;
  }
}

#wrapper,
#container,
footer {
  font-family: "Noto Sans JP", sans-serif;
}

header,
footer {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.inner {
  width: calc(1050px + 4%);
  margin: auto;
  padding: 0 2%;
  max-width: 1050px;
}

#main {
  margin-top: 125px;
}

@media screen and (max-width: 639px) {
  .inner {
    width: 92%;
    margin: auto;
    padding: 2%;
  }

  #main {
    margin-top:40px;
  }
}



/*------------------------------------------*
* レイアウト
*------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

dl,
dd,
dt {
  margin: 0;
  padding: 0;
}

/*------------------------------------------*
* 表示・非表示
*------------------------------------------*/
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

@media screen and (max-width: 639px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}


/*------------- モバイル -------------------*/
@media screen and (max-width: 639px) {
  #wrapper {
    width: 100%;
    min-width: 100%;
  }

  #wrapper img {
    max-width: 100%;
  }
}

/*------------------------------------------*
* ヘッター
*------------------------------------------*/
/* header {
  z-index: 100;
  background-color: #fff;
} */

/*--------------------------------
文字
----------------------------------*/
h2 {
  font-size: 32px;
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 600;
  letter-spacing: var(--space_04rem);
}

@media screen and (max-width:1029px) {
  h2 {
    font-size: 24px;
    line-height: 1.5;
  }
}

@media screen and (max-width:639px) {
  p {
    font-size: 14px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li {
  margin: 0px;
  padding: 0;
  list-style: none;
}



/* =========================
ファーストビュー（固定レイアウト：PC）
   ========================= */
.hero {
  width: 100%;
  /* ページ幅に合わせて固定 */
  height: min(100vh, 1046px);
  margin: 0 auto;
  /* 中央寄せ */
  display: grid;
  grid-template-columns: minmax(348px, 20%) auto;
  grid-template-rows: 80% 20%;
  overflow: hidden;
}

/*------------ 各ブロックにエリア名を割り当て------------ */
.hero__grid1 {
  grid-area: g1;
}

/* 緑地 */
.hero__grid2 {
  grid-area: g2;
}

/* 画像 */
.hero__grid3 {
  grid-area: g3;
}

/* 実証実験 */

/* 左：上下ぶち抜き */
.hero__grid1 {
  grid-column: 1 / 2;
  grid-row: 1 / -1;
  background: var(--green);
  position: relative;
}

/* 右上（画像エリア) */
.hero__grid2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background: #fff;
  overflow: hidden;
}

/* 右下（実証実験） */
.hero__grid3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  gap: 18px;
}

.hero__grid2 {
  background-image: url(../img/hero_pc.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

/* 画像は枠いっぱいにフィット（トリミング位置は好みで） */
.hero__grid2>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}



.hero__notice-text {
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  font-size: 32px;
  width: 600px;
  padding: 12px 0;
  border-radius: 100px;
  text-align: center;
}




.hero__notice-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 82%;
  max-width: 896px;
  margin: auto;
  gap: 18px;
}

.hero__grid3 {
  width: 100%;
  background-color: #fff;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
}

.hero__notice-body {
  width: 80%;
}

.hero__notice-text {
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  font-size: 2rem;
  width: 100%;
  padding: 4px 0;
  border-radius: 100px;
  text-align: center;
}

.hero__notice-date {
  text-align: center;
  font-size: 20px;
  margin-top: 4px;
}

.hero__notice-img {
  width: 6rem;
}

.hero__notice-icon {
  width: 100%;
}


.hero__copy {
  margin: 12% 8%;
}

.hero__copy-text {
  color: #fff;
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 600;
  writing-mode: vertical-rl;
  font-size: 2.25rem;
  letter-spacing: 1.2rem;
}

.hero__title {
  position: absolute;
  bottom: 6%;
  left: 8%;
}

.hero__title-main1,
.hero__title-main2 {
  background: #fff;
  padding: 10px 1.4rem;
  font-family: "Noto Serif JP", sans-serif;
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: var(--space_04rem);
  display:block;
  vertical-align: top;
  line-height: 1.25;
}

.hero__title-main1 {
min-width: 13.05rem;
max-width: 14.85rem;
}



.hero__title-main1 span {
  font-size: 1rem;
  width: 0.4rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  text-indent: -0.4rem;
}
.hero__title-main2{
  margin-top:12px;
}



/* =========================
ファーストビュー（TB）
   ========================= */
@media screen and (max-width:1029px) {
  .hero {
    height: min(84vh, 870px);
    grid-template-columns: minmax(336px, 20%) auto;
    grid-template-rows: 75% 25%;
  }

  .hero__title-main1,
  .hero__title-main2 {
    padding: 8px 1em;
    font-size: 1.25rem;
  }

  .hero__grid3 {
    width: 100%;
  }

  .hero__notice-inner {
    width: 80%;
    gap: 8px;
  }

  .hero__notice-text {
    font-size: 1.75rem;
  }

  .hero__notice-date {
    font-size: 18px;
  }

  .hero__notice-img {
    width: 16%;
  }
  
.hero__title-main1{
 /*  max-width: 13.05rem; */
  max-width:210px;
}
.hero__notice-caption{
      line-height: 1.25;
      font-size:14px;
}
    
}

/* =========================
ファーストビュー（SP）
   ========================= */
@media screen and (max-width:639px) {

  .hero {
    grid-auto-flow: column;
    grid-template-columns: 1fr;
    grid-template-rows: 8rem auto 8rem;
    grid-template-areas:
      "g2"
      "g1"
      "g3";
    height:98vh;
  }

  .hero__grid1,
  .hero__grid2,
  .hero__grid3 {
    grid-column: initial !important;
    grid-row: initial !important;
    width: 100%;
  }

  .hero__grid1{
  display: flex;
    align-items: center;
  }

  .hero__grid2>img {
    height: 100%;
    object-fit: cover;
  }


  .hero__title-main2{
 width: 14.05rem;
}
    


  .hero__grid2 {
    background-image: url(../img/hero_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
  }

  .hero__title {
    position: relative;
    width: 96%;
    bottom: initial;
    left: initial;
    margin: 4% auto 0;
    padding: 0 4% 4%;
  }

  .hero__title-main1, .hero__title-main2{
    font-size:1rem;
  }
  .hero__copy-text {
    font-size: 1.25rem;
    filter: drop-shadow(-1px 0px 4px rgba(0, 0, 0, 0.2));
  }

  /*-----------------*/
  /*   .hero__grid3 {
    
  } */

  .hero__notice-inner {
    width: 92%;
    justify-content: flex-start;
    margin:4% auto;
  }

  .hero__notice-text {
    font-size: 1.125rem;
    padding: 8px 0;
  }

  .hero__notice-body {
    width: 72%;
  }

  .hero__notice-date {
    font-size: 11px;
    font-feature-settings: "palt";
  }
    
  .hero__copy {
    position: absolute;
    bottom: 4%;
    left: 4%;
    margin: initial;
  }
}

/*------------------------------------------*
*  将来につなげる本編部分
*------------------------------------------*/
.hero__notice-caption{
  line-height:1.5;
      margin: auto;
}

.about__col {
  display: flex;
  flex-flow: row wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
}

.about__col--above h2,
.about__col--under p {
  width: 41%;
}

.about__col figure {
  width: 52%;
}

.about__col--under {
  margin-top: 40px;
}

.timeline__col {
  display: flex;
  flex-flow: row wrap;
  gap: 60px;
  justify-content: space-between;
}

.timeline__col div {
  width: 46%;
}

#timeline {
  margin-top: 80px;
}

.timeline__col--figure figure:nth-last-of-type(1) {
  text-align: center;
  margin-top: 1rem;
}

.timeline__col--figure figure:nth-last-of-type(1) img {
  width: 324px;
}

   .timeline__col--text p{
      margin-top: 1rem;
    }
@media screen and (max-width:639px) {

  
  .hero__notice-caption{
      font-size: 12px;
      margin-bottom:30px;
}

  .about__col,
  .timeline__col {
    display: block;
  }

  .about__col--above h2,
  .about__col--under p,
  .about__col figure,
  .timeline__col div {
    width: 100%;
  }

  .about__col--above figure {
    margin-top: 2rem;
  }

  .about__col--under {
    margin-top: 0.5rem;
  }

  .about__col--under p,
  .timeline__col--text {
    margin-top: 1rem;
  }


  #timeline {
    margin-top: 20px;
  }
  .timeline__col--figure figure:nth-last-of-type(1) img{
    margin: auto;
  }

}

/*------------------------------------------*
* 実証実験1
*------------------------------------------*/
#mony {
  background-image: url(../img/jisshojikken1_pc.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  padding: 80px 0;
  margin-top: 60px;
}

#mony::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 5 7 / 52%);
  z-index: 0;
  pointer-events: none;
}

#mony>.inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.mony__col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  /*  grid-template-rows: 2fr 1fr; */
  gap: 60px
}

.mony__col--right span {
  text-indent: -0.5rem;
}

@media screen and (max-width:639px) {
  .mony__col {
    grid-auto-flow: column;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  #mony {
    background-image: url(../img/jisshojikken1_sp.jpg);
  }
}

/*------------------------------------------*
* 協力金
*------------------------------------------*/
#payment {
  margin: 80px auto;
}

#payment a {
  background-color: var(--blue);
  width: 100%;
  max-width: 480px;
  margin: 20px auto 0 auto;
  padding: 32px 0;
  text-align: center;
  border-radius: 100px;
  font-weight: bold;

  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

#payment a img {
  margin-left: 12px;
}

@media screen and (max-width:639px) {
  #payment a {
    font-size: 12px;
    padding: 24px 0;
  }

  #payment a img {
    margin-left: 6px;
  }
}

/*------------------------------------------*
* 実証実験2
*------------------------------------------*/
#background {
  background-image: url(../img/jisshojikken2_pc.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  padding: 80px 0;
  margin-top: 60px;
}

#background:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 5 7 / 52%);
  z-index: 0;
  pointer-events: none;
}

#background>.inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.background__col {
  width: 50rem;
  margin: 40px auto 0 auto;
}

/* .background__col p:nth-last-of-type(2) strong {
  font-weight: bold;
  display: inline-block;
} */

.background__col p:nth-last-of-type(1) {
  margin-top: 1rem;
}

@media screen and (max-width:639px) {

  #mony,
  #background {
    padding: 60px 0;
  }

  .background__col {
    width: 100%;
    margin-top: 1rem;
  }

  #background {
    background-image: url(../img/jisshojikken2_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    padding: 80px 0;
    margin-top: 60px;
  }
}

/*------------------------------------------*
* ササ刈り
*------------------------------------------*/
#sasakari {
  padding: 40px 0;
  margin: 40px auto 120px auto;
}

#sasakari h3 {
  font-size: 24px;
  font-family: "Noto Serif JP", sans-serif;
}

#sasakari figure {
  margin-top: 40px;
}
#sasakari p{
  margin-top:1.5rem;
}

@media screen and (max-width:639px) {
  #sasakari {
    padding: 0rem 0 2rem 0;
    margin: 1rem auto 100px auto;
  }

  #sasakari h3 {
    font-size: 18px;
  }
  #sasakari p{
  margin-top:1rem;
}

}

/*------------------------------------------*
* フッター
*------------------------------------------*/
.footer {
  background-color: var(--green);
  padding: 60px 0;
}

.footer::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -13px;
  width: 45rem;
  height: 152px;
  background-image: url(../img/footer_yama.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  z-index: 0;
}

.footer address {
  font-style: normal;
  line-height: 2.4;
  color: #fff;
  margin-top: 12px;
}
.contact-line{
  display: flex;
  flex-wrap: wrap; /* ← スマホで落ちる対策 */
justify-content: flex-start;
  gap: 0.3em;
  color: #fff;
}
.tel-number {
  color: #fff;
  text-decoration: none;
  white-space: nowrap; /* ← 電話番号を折り返さない */
}

.tel-number:hover {
  text-decoration: underline;
}

.footer span,.footer span a {
  color: #fff; /* ← spanにも確実に白を指定 */
  display: block;
}
@media screen and (max-width:639px) {
  .footer {
    padding: 30px 0;
  }

  .footer address p {
    font-size: 12px;
  }

  .footer::before {
    top: -145px;
    left: -35px;
    width: 60%;
    height: 152px;
    background-size: contain;
    z-index: 0;
  }
  
}

/*-------------------------------------
トップへ戻るボタン
--------------------------------------*/

button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 40px;
  bottom: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: none;
  transition: .2s;
  z-index:99;
}

button p{
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
  height: 85px;
  margin: 0;
  letter-spacing: 5px;
  text-align: right;
  font-family: 'Noto Sans JP';
    font-weight: bold;
    color: var(--black);
}

button p:before {
    content: "";
    position: absolute;
    top: 0px;
    right: -5px;
    width: 2px;
    height: 20px;
  background: #4f4e4e;
    transform: skewX(-150deg);
}

button p:after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 2px;
    height: 85px;
  background: #4f4e4e;
}

.is-active {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 639px) {
button{
  right: 20px;
      padding: 4px 4px;
}
button p{
  font-size:12px;
}
button p:after {
    height: 72px;
}
button p:before {
    top: 21px;
    right: -6px;
}
}

/* #topbtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  text-decoration: none;
  background-color: #14A08D;
  display: block;
  text-align: center;
  border-radius: 24px;
}
 */
/* @media screen and (max-width: 639px) {
  #topbtn {
    width: 40px;
    height: 40px;
  }

#topbtn::before {
  content: "\f062";
  font-family: "Font Awesome 6 Free";
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 48px;
}

  #topbtn::before {
    font-size: 16px;
    line-height: 40px;
  }
} */