@charset "utf-8";

/* =======================================
   responsive.css
   サイト全体のスマホ用スタイルまとめ
   - PC/SP 切り替え
   - ハンバーガーメニュー＆グローバルナビ
   - 共通タイポグラフィ（h2, p）
   - セクション幅 / ヘッダー / ヒーロー
   - TOP：ごあいさつ / サービス / 採用 / お知らせ＆インスタ
   - お問い合わせ
   - フッター
   ======================================= */

@media (max-width: 600px) {

  /* ---------------------------------------
     PC/SP 表示切り替え
     --------------------------------------- */
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* ---------------------------------------
     ハンバーガーメニュー＆グローバルナビ
     --------------------------------------- */

  .hamburger {
    display: block;
    position: relative;
    margin-left: auto;
    width: 60px;
    height: 60px;
    border: none;
    background-color: transparent;
    z-index: 10;
  }

  .hamburger__line {
    display: block;
    position: absolute;
    top: 6.133333333333333vw;
    left: 50%;
    width: 24px;
    height: 2px;
    transform: translateX(-50%);
    background-color: #6D7B52;
    transition: 0.4s;
  }

  .hamburger__line::before,
  .hamburger__line::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #6D7B52;
    transition: inherit;
  }

  .hamburger__line::before {
    top: -1.6vw;
  }

  .hamburger__line::after {
    top: 1.6vw;
  }

  .hamburger__text {
    position: absolute;
    bottom: -2vw;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
  }

  /* 開いた時の状態 */
  .hamburger.-active .hamburger__line {
    background-color: transparent;
  }

  .hamburger.-active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .hamburger.-active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hamburger.-active .hamburger__text::before {
    content: "閉じる";
  }

  /* ヘッダー／ナビエリア */
  .header {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 14vw;
    z-index: 10;
    background-color: #F7F7ED;
  }

  header nav ul{
    flex-direction: column;
  }

  .head-logo {
    margin-left: 3vw;
  }

  .header__nav-area {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 9;
    height: 100vh;
    width: 100vw;
    padding-top: 60px;
    background-color: #F8F8E6;
    visibility: hidden;
    transition: 0.4s;
  }

  .header__nav-area.-active {
    left: 0;
    visibility: visible;
  }

  .global-navigation {
    position: relative;
    padding: 40px 25px 120px;
  }

  .global-navigation .tel-sp {
    position: absolute;
    top: -16vw;
    left: 0;
    width: 18vw;
  }

  .global-navigation .tel-sp img {
    width: 100%;
  }

  .global-navigation__list > li {
    padding-bottom: 20px;
    border-bottom: 2px solid #e7e9ee;
  }

  .global-navigation__list > li + li {
    margin-top: 20px;
  }

  .global-navigation__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 900;
    color: #00A63C;
    transition: color 0.4s;
  }

  .global-navigation__link.-accordion {
    position: relative;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    appearance: none;
  }

  .global-navigation__link.-accordion::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    height: 12px;
    background-color: #00A63C;
    transform: translateY(-50%);
    transition: transform 0.4s;
  }

  .global-navigation__link.-accordion::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 2px;
    background-color: #00A63C;
    transform: translateY(-50%);
  }

  .global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  .accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
  }

  .accordion.-active {
    height: auto;
    padding-top: 30px;
    visibility: visible;
  }

  .accordion__list li {
    font-size: 0.75rem;
  }

  .accordion__list li + li {
    margin-top: 21px;
  }

  .accordion__link {
    color: #6D7B52;
  }

  .mail-tel {
    display: flex;
    justify-content: center;
    width: 100%;
    column-gap: 3vw;
  }

  /* ---------------------------------------
     共通タイポグラフィ・セクション幅
     --------------------------------------- */

  h2 {
    font-size: 5.8666vw;
    font-family: "kinuta-maruminold-stdn", serif;
    font-weight: 400;
    text-align: center;
  }

  h2 img{
    margin: 0 auto;
  }

  h3{
    line-height: 1.2;
  }

  p {
    display: block;
    width: 90vw;
    margin: 0 auto;
    height: auto;
    font-size: 3.7333333333vw;
  }

  section {
    width: 100%;
  }

  /* ヘッダー・ロゴ（タグの header 用） */
  header {
    width: 90vw;
    height: 8vw;
    margin: 0 auto;
  }

  .head-logo img {
    width: 45%;
  }

  /* ---------------------------------------
     ヒーローエリア（TOP MV）
     --------------------------------------- */

  .hero-area {
    position: relative;
    width: 96vw;
    height: 89vw;
    margin: 14vw auto 0;
    border-radius: 5px;
    overflow: hidden;
  }

  .hero-area .mv-ttl {
    position: absolute;
    top: 54vw;
    left: 0;
    z-index: 5;
    width: 60vw;
  }

  .hero-area .mv-ttl img {
    width: 100%;
    height: auto;
  }

  .heroarea-wrap {
    position: relative;
    width: 96vw;
    height: 89vw;
    margin: 14vw auto 0;
  }

  .heroarea-wrap .mv-ttl {
    position: absolute;
    top: 54vw;
    left: 0;
    z-index: 5;
    width: 60vw;
  }

  .heroarea-wrap .mv-ttl img {
    width: 100%;
    height: auto;
  }

  /* ---------------------------------------
     TOP：ごあいさつ
     --------------------------------------- */

  .top_greeting {
    margin-top: 5vw;
  }

  .top_greeting h3 {
    width: 100%;
    margin: 3vw 0;
  }

  .top_greeting img {
    width: 100%;
  }

  .top_greeting .about {
    margin: 0 auto;
    grid-template-columns: 300px;
    grid-template-rows: 23vw 16vw 1fr;
    grid-template-areas:
      "h1-area"
      "h2-area"
      "text-area";
    place-content: center;
    place-items: center;
  }

  .top_greeting .about h2 {
    grid-area: h1-area;
    margin: 10px 0 0;
  }

  .top_greeting .about h2 img {
    width: 30vw;
  }

  .top_greeting .about h3 {
    grid-area: h2-area;
    margin-top: 10px;
    font-size: 1.375rem;
  }

  .top_greeting .about p {
    grid-area: text-area;
    width: 100%;
  }

  .top_greeting a.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 14px;
    left: 28vw;
  }

  .top_greeting .top_greeting-img .right-leaf {
    position: absolute;
    right: 0;
    top: 180vw;
    width: 20vw;
    z-index: 10;
  }

  /* ---------------------------------------
     TOP：サービスセクション
     --------------------------------------- */

  .top_service {
    margin-top: 5vw;
    border-radius: 5px;
  }

  .top_service h2 {
    width: 40vw;
    margin: 0 auto;
  }

  .top_service h2 img {
    width: 100%;
  }

  .top_service h3 {
    width: 90vw;
    margin: 3vw auto;
  }

  .top_service img {
    width: 100%;
  }

  .top_service .grid {
    width: 80vw;
    margin: 0 auto;
    padding-top: 12vw;
    grid-template-columns: 80vw;
    grid-template-rows: 23vw 16vw 1fr;
    grid-template-areas:
      "h1-area"
      "h2-area"
      "text-area";
  }

  .top_service .grid h2 {
    grid-area: h1-area;
  }

  .top_service .grid h3 {
    grid-area: h2-area;
    margin: 0;
    width: 100%;
    font-size: 1.375rem;
  }

  .top_service .grid p {
    grid-area: text-area;
    width: 100%;
  }

  a.page-link img {
    width: 7vw;
  }

  .top_service-menu {
    width: 80vw;
    margin: 0 auto;
    padding-bottom: 10vw;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .top_service-menu .service {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .top_service-menu .service a {
    font-size: 14px;
  }

  .top_service .left-leaf {
    position: absolute;
    bottom: 0;
    left: -10vw;
    width: 13vw;
  }

  /* ---------------------------------------
     TOP：採用バナー（recruit-bnr）
     --------------------------------------- */

  .recruit-bnr {
    position: relative;
    margin: 5vw auto 0;
  }

  .recruit-bnr h2 {
    width: 90vw;
    margin: 3vw auto;
  }

  .recruit-bnr img {
    width: 100%;
  }

  .recruit_bnr-img {
    width: 90vw;
    margin: 0 auto;
  }

  .recruit_bnr-img img {
    width: 100%;
  }

  .recruit-bnr h3 {
    margin: 2.4375rem auto 3.625rem;
    font-size: 1.375rem;
  }

  .recruit-bnr .grid {
    width: 90vw;
    margin: 5vw auto;
    padding: 20vw 0;
    grid-template-columns: 90vw;
    grid-template-rows: 19vw 41vw 12vw 1fr 10vw;
    grid-template-areas:
      "h1-area"
      "img-area"
      "h2-area"
      "text-area"
      "link-area";
    grid-row-gap: 2vw;
    align-items: center;
  }

  .recruit-bnr .grid h2 {
    grid-area: h1-area;
    margin: 0 auto;
  }

  .recruit-bnr .grid .recruit_bnr-img {
    grid-area: img-area;
  }

  .recruit-bnr .grid h2 img {
    width: 40vw;
    margin: 0 auto;
  }

  .recruit-bnr .grid h3 {
    grid-area: h2-area;
    margin: 0;
  }

  .recruit-bnr .grid p {
    grid-area: text-area;
  }

  .recruit-bnr .grid a {
    grid-area: link-area;
    margin: 0 auto;
  }

  .recruit-bnr .right-leaf {
    position: absolute;
    right: 0;
    bottom: 8vw;
  }

  .recruit-bnr .right-leaf img {
    width: 20vw;
  }

  /* ---------------------------------------
     TOP：お知らせ＆インスタ（news-insta）
     --------------------------------------- */

  .news-insta {
    margin-top: 10vw;
    padding: 10vw 0;
    border-radius: 5px;
  }

  .news-insta h3 {
    font-size: 5.8666vw;
    font-family: "kinuta-maruminold-stdn", serif;
    font-weight: 400;
  }

  .news-insta .news-insta_wrap {
    width: 90vw;
    margin: 0 auto;
    height: auto;
    flex-direction: column;
    justify-content: space-between;
  }

  .news-insta .news-insta_wrap .yellow-leaf {
    width: 20vw;
    bottom: -54vw;
    left: -10vw;
    z-index: -1;
  }

  .news-insta .news-insta_wrap dl {
    width: 90vw;
    height: auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 2.25rem 1.4375rem;
    margin-bottom: 2.375rem;
  }

  .insta {
    width: 90vw;
  }

  .insta iframe {
    border: none;
    overflow: hidden;
    border-radius: 10px;
  }

  /* ---------------------------------------
     お問い合わせフォーム（contact）
     --------------------------------------- */

  .contact h2 {
    padding-top: 10vw;
    width: 90vw;
    margin: 0 auto;
    text-align: center;
  }

  .contact h2 img {
    width: 50vw;
  }

  .contact h3 {
    width: 90vw;
    margin: 20vw auto 0;
  }

  .contact p {
    width: 90vw;
    margin: 0 auto;
  }

  .contact form {
    width: 90vw;
    margin: 0 auto;
    margin-top: 100px;
  }

  .contact .form-group {
    margin-top: 39px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact .contact-radio {
    width: 90vw;
    font-size: 4vw;
    font-weight: 500;
    flex-wrap: wrap;
    row-gap: 4vw;
    flex-direction: column;
    justify-content: space-between;
  }

  .contact label.col-form-label {
    width: 90vw;
    margin-bottom: 3vw;
    font-size: 5vw;
  }

  .contact input.form-control {
    width: 90vw;
    padding: 15px;
    font-size: 15px;
    border: none;
    border-radius: 10px;
  }

  .contact textarea {
    width: 90vw;
    border: none;
  }

  .contact .badge-danger {
    background-color: tomato;
    color: #fff;
    padding: 3px 5px;
    border-radius: 10px;
    font-size: 15px;
  }

  /* ボタン系はPCと同じ見た目でOK */


}
