@charset "utf-8";
:root {
    --primary-green: #00972D;
    --primary-white: #FDFDFD;
    --primary-black: #000000;
    --contentWidth: 79%;
    --contentPadding: 10%;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'Noto Sans JP',
        Arial, 
        sans-serif;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.18;
    color: var(--primary-green);
}

/* ------画像------ */
img {
    max-width: 100%;
    height: auto;
}


/* ------header------ */
/* ハンバーガー時の設定 */
.header {
  padding: 15px 5%;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #00972D;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.nav {
  background-color:var(--primary-green);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.4s;
}

/* 左上のロゴ（スマホ） */
.h1rogo {
 max-width: 147px;
}

/* 左上のロゴ（PC） */
@media screen and (min-width: 940px) { 
  .h1rogo {
    max-width: 200px;
  }
}

.header__btn {
  display: block;
  width: 40px;
  height: 30px;
}



/* クローズボタン時の設定 */
.nav__header {
  padding: 15px 5%;
  height: 80px;
  display: flex; /* 横並び仕様 */
  justify-content: space-between; /* 両端揃え */
  align-items: center;
}

.nav__rogo {
  max-width: 147px;
}

.nav__btn {
  display: block;
  width: 40px;
  height: 40px;
}

.nav__list {
  margin-top: 50px;
}

.nav__item {
  color: var(--primary-white);
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
  margin-top: 40px;
  display: flex; /* 横線の擬似要素のため */
  align-items: center; /* 横線の擬似要素のため */
}

.nav__item:last-of-type {
  display: none;
}

/* navの白い横線 */
.nav__item::before {
  content: '';
  display: inline-block; /* 画像みたいにして調整しやすいようにしてるよ */
  width: 30px; /* 横線の長さ（ここ調整） */
  height: 1.5px; /* 線の太さ */
  background-color: var(--primary-white); /* 白い線 */
  margin-right: 15px;
}



/* ------nav active表示------ */
.nav.active {
  transform: translateX(0);
}



/* ------nav  PC------ */
@media screen and (min-width: 940px) { 
  .header {
    padding: 40px 5%;
    margin: 0 auto;
    background-color: var(--primary-white);
    border-bottom: 3px solid #00972D;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 100;
  } 

  .nav__header {
    display: none;
  }

  .nav {
    background-color:transparent;
    width: auto;
    height: auto;
    position: static;
    padding: 0;
    transform: translateX(0);
  }

  .nav__item {
    color: var(--primary-green);
    margin-top: 0;
    font-size:clamp(1.3rem,1.11vw,1.6rem);
    line-height: 1;
    flex-wrap: wrap;
    white-space: nowrap;
    font-weight: 700;
  }

  .nav__list {
    margin: 0 0 0 40px;
    display: flex;
    align-items: center;
    gap:clamp(20px,2.77vw,40px);
  }

  .nav__item::before {
    display: none;
  }

  .nav__item:nth-last-of-type(2) {
    display: none;
  }

  .nav__item:last-of-type {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    padding-top: 10px;
    width: 133px;
    height: 133px;
    background-color: rgb(255, 166, 0);
    border-radius: 100%;
    margin-top: 100px;
    aspect-ratio: 1/1;
    cursor: pointer;
    border: 3px solid var(--primary-white);
  }

  .nav__btnInquiry:hover {
    color: var(--primary-white);
  }

  .header__btn {
    display: none;
  }
}


/* ------問い合わせボタン（スマホ）------ */

.oubo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px 0;
  margin: 50px 5%;
  border-radius: 100px;
  background-color: var(--primary-green);
  color: var(--primary-white);
  line-height: 1;
}

.oubo__mainCaption {
  font-size: 2rem;
}

.oubo_kome {
  font-size: 1.4rem;
  margin-top: 15px;
}


.oubo:hover {
  color: var(--primary-green);
  box-shadow: inset 0 0 0 4px var(--primary-green,  #00972D); /* 内側に1pxの黒い線 */
  background-color: var(--primary-white, #FDFDFD);
}




/* ------問い合わせボタン（PC）------ */
@media screen and (min-width: 769px) { 
  .oubo {
    padding: 50px 10%;
    max-width: 1000px;
    margin: 150px auto 0;
  }

  .oubo__mainCaption {
    font-size: 3rem;
  }

  .oubo_kome {
    margin-top: 20px;
    font-size: 1.6rem;
  }
}


/* インフォメーション */
.article__footer {
  text-align: center;
  align-items: center;
  margin-top: 50px;
  padding: 0 5%;
}

.footer_item1 {
  padding: 60px 7%;
  border: 3px solid var(--primary-green,  #00972D);
  background-color: var(--primary-white, #FDFDFD);
  font-size: 1.5rem;
  line-height: 2.6rem;
}

.footer_item1 h5{
  font-size: 2.5rem;
  line-height: 1.4;
  margin-bottom: 30px;
}

.footer_item1 p {
  font-size: 1.7rem;
  line-height: 1.5;
}

.footer_item2 {
    margin-top: 30px;
}

.footer_item2 p {
    line-height: 1.5;
}

.copy {
  line-height: 2.7;
  margin-top: 30px;
  font-weight: 400;
  text-align: center;
  background-color: var(--primary-green);
  color: var(--primary-white);
  width: 100%;
}

@media screen and (min-width: 769px) {
  .article__footer {
    padding: 0 10%;
  }

  .footer_item1 {
    padding: 60px 0;
    margin: 150px auto 0;
    max-width: 850px;
  }

  .footer_item1 p{
    font-size: 2rem;
  }
  
  .footer_item2 {
    margin-top: 50px;
  }

  .copy {
    margin-top: 50px;
  }
}

