@charset "utf-8";

/* =======================================
   top.css
   TOPページ専用スタイル
   - ヘッダー下お知らせバー（.new-top）
   - ごあいさつ（.top_greeting）
   - トップサービスメニュー（.top_service）
   - 採用バナー（.recruit-bnr）
   - お知らせ＆インスタ（.news-insta / .insta）
   ======================================= */


/* ---------------------------------------
   ヘッダーにある１行のお知らせ（new-top）
   --------------------------------------- */

.new-top * {
  margin: 0;
  padding: 0;
}

/* ブロック全体 */
.new-top {
  position: relative;
  width: 1208px;
  display: flex;
  align-items: center;
  margin: 30px auto 0;
  padding: 1rem;
  background: #fff;       /* 背景色 */
  border-radius: 5px;     /* 角を丸く */
  z-index: 8;
}

/* マウスオン時に透明度を80%に */
.new-top a:hover {
  opacity: 0.8;
}

/* 「お知らせ」の見出し */
.new-top h2 {
  font-size: 1rem;
  font-weight: normal;
  background: #DDA848;  /* 背景色 */
  color: #fff;          /* 文字色 */
  border-radius: 3px;
  margin-right: 1rem;
  padding: 0 1rem;
}

/* テキストのブロック */
.new-top .text {
  flex: 1;
  /* 以下4行は、末尾を…として１行にまとめる為のスタイル */
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右側のキャラクター画像など */
.new-top img {
  position: absolute;
  bottom: 0;
  right: 30px;
  z-index: 10;
  width: 100px;
  height: auto;
}


/* ---------------------------------------
   TOP ごあいさつセクション（.top_greeting）
   --------------------------------------- */

.top_greeting {
  margin-top: 142px;
}

.top_greeting h3 {
  margin-top: 52px;
  margin-bottom: 60px;
}

.top_greeting p {
  margin-bottom: 2.519375rem;
}

.top_greeting .top_greeting-img {
  position: relative;
}

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

.top_greeting .top_greeting-img .right-leaf {
  position: absolute;
  right: -155px;
  top: 602px;
}

/* about 部分のグリッド */
.top_greeting .about {
  margin-top: 60px;
  grid-template-columns: 384px 591px;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "h1-area text-area"
    "h2-area text-area";
}

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

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

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


/* ---------------------------------------
   トップサービスメニュー（.top_service）
   --------------------------------------- */

.top_service {
  position: relative;
  margin-top: 14.1875rem;
  background-color: #E7D4A5;
  width: 100%;
  border-radius: 2%;
}

.top_service h2 {
  margin-bottom: 4.168125rem;
}

/* 見出し部分グリッド */
.top_service .grid {
  width: 975px;
  margin: 0 auto 34px;
  padding-top: 107px;
  grid-template-columns: 384px 591px;
  grid-template-rows: 1fr 92px;
  grid-template-areas:
    "h1-area brank-area"
    "h2-area text-area";
}

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

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

.top_service .grid p {
  grid-area: text-area;
}

/* サービス一覧カード */
.top_service-menu {
  position: relative;
  width: 975px;
  margin: 0 auto;
  padding-bottom: 118px;
  align-items: center;
  flex-wrap: wrap;
  gap: 37px;
}

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

.top_service-menu .service .service-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, .6);
}

.top_service-menu .service a {
  margin-top: 14px;
}

.top_service-menu .service a img {
  margin-left: 1vw;
}

/* 左下の葉っぱ */
.top_service .left-leaf {
  position: absolute;
  bottom: 61px;
  left: -155px;
}


/* ---------------------------------------
   採用情報バナー（.recruit-bnr）
   --------------------------------------- */

.recruit-bnr {
  position: relative;
  margin-top: 9.375rem;
  margin-bottom: 100px;
}

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

.recruit-bnr a {
  margin-top: 2.125rem;
}

.recruit_bnr-img {
  width: 975px;
}

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

/* recruit 内のグリッド配置 */
.recruit-bnr .grid {
  grid-template-columns: 384px 591px;
  grid-template-rows: 112px 92px 49px;
  grid-template-areas:
    "h1-area brank-area"
    "h2-area text-area"
    "link-area text-area";
  margin-top: 42.89px;
  grid-row-gap: 6px;
}

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

.recruit-bnr .grid h2 img {
  width: 271.62px;
}

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

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

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

/* 右の葉っぱ */
.recruit-bnr .right-leaf {
  position: absolute;
  bottom: 213px;
  right: -93px;
}


/* ---------------------------------------
   お知らせ ＆ Instagram（.news-insta）
   --------------------------------------- */

.news-insta {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 11.581875rem;
  background-color: #E7D4A5;
  padding: 8.375rem 0;
  border-radius: 34px;
  z-index: 2;
}

.news-insta h3 {
  font-size: 2.1875rem;
  font-family: "kinuta-maruminold-stdn", serif;
  font-weight: 400;
  font-style: normal;
}

/* 内側のラッパー */
.news-insta .news-insta_wrap {
  position: relative;
  width: 975px;
  margin: 0 auto;
  height: auto;
  justify-content: space-between;
}

/* お知らせ一覧 dl */
.news-insta .news-insta_wrap dl {
  width: 450px;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 2.25rem 1.4375rem;
  margin-bottom: 2.375rem;
}

/* Instagram 埋め込み */
.insta {
  width: 350px;
}

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

/* 背景の黄色い葉っぱ */
.news-insta_wrap .yellow-leaf {
  position: absolute;
  bottom: -98px;
  left: -142px;
  z-index: 1;
}


/* =======================================
   スマホ対応（max-width:600px）
   ======================================= */

@media (max-width: 600px) {

  /* new-top（お知らせバー） */
  .new-top {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .new-top .text {
    font-size: 0.9rem;
  }

  .new-top img {
    right: 5px;
    width: 50px;
  }

  /* ごあいさつ */
  .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: 0;
    margin-top: 10px;
  }

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

  .top_greeting .about h3 {
    margin: 0;
    margin-top: 10px;
    grid-area: h2-area;
    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_service .left-leaf {
    position: absolute;
    width: 13vw;
    bottom: 0;
    left: -10vw;
  }

  /* service セクション（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 {
    margin: 0;
    grid-area: h2-area;
    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;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10vw;
  }

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

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

  /* recruit バナー */
  .recruit-bnr {
    margin: 5vw auto 0;
  }

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

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

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

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

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

  .recruit-bnr .grid {
    width: 90vw;
    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";
    margin: 5vw auto;
    grid-row-gap: 2vw;
    align-items: center;
    padding: 20vw 0;
  }

  .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;
  }

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

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

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

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

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

  /* お知らせ＆インスタ */
  .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;
    font-style: normal;
  }

  .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;
  }
}
