/*
There Name: tomato-friends　[テーマの名前]
Thema URL: http://tomato-friends.com
Description: tomato-friendsのテーマ[テーマの説明]
Author: tera [自分の名前]
Version: 1.0.0 [テーマのバージョン]
*/

@charset "UTF-8";

:root {
  --header-h: 130px;
  --main-color: #28A751;
  --background-color: #FFFDEE;
  --font-color: #333333;
  --button-orange: #EF5C49;
  --footer-color: #00815F;
}

.tb_l,
.tb_s,
.tb_sl,
.sp,
.tbs_sp {
  display: none;
}

.pc,
.pc_tb {
  display: inline;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 60px);
}

* {
  padding: 0;
  margin: 0;
  color: var(--font-color);
  font-family: "BIZ UDPGothic", sans-serif;
  font-style: normal;
  font-weight: 600;
}

html,
body {
  overflow-x: hidden;
}

body {
  background: var(--background-color);
}

img {
  object-fit: contain;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  opacity: 0.7;
}

p {
  font-size: 16px;
  letter-spacing: 2px;
}

li {
  list-style: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-h);
  padding: 0 30px;
  margin: 0;
  box-sizing: border-box;
}

.h_top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.h_top img {
  width: clamp(62px, 8vw, 107px);
  height: auto;
}

.h_top_title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h_top_title p {
  font-size: 12px;
  font-family: "BIZ UDGothic", sans-serif;
  font-style: normal;
  letter-spacing: 0.03em;
}

.h_top_title span {
  font-size: clamp(18px, 2vw, 32px);
  letter-spacing: 0.05em;
}

.h_menu {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0px 0px 15px 2px #BDAA9721;
}

.h_menu_box {
  display: flex;
  align-items: center;
  gap: 32px;
}

.h_menu_list {
  display: flex;
  padding: 0 0 2px 24px;
  gap: 32px;
}

.h_menu_list li {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.h_menu_btn {
	display: flex;
}

.h_menu_btn a {
  display: flex;
  align-items: center;
  background: var(--button-orange);
  height: 44px;
  padding: 0 45px 2px;
  border-radius: 60px;
  color: #FFFFFF;
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* ハンバーガーメニュー */
.nav-toggle { 
  display: none; 
} 

.nav-toggle-label {
  display: none;
}

.mobile_menu {
  display: none;
  order: 3;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background: #FFFFFF;
  transition: max-height .35s ease;
}

/* セクションタイトル */
.section_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section_title span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: #F97968;
}

.section_title h2 {
  font-size: 32px;
  letter-spacing: 2px;
}

.content_page {
  padding-bottom: 80px;
  border-bottom: 2px solid #F1E9DC;
}

.content_page.is-last {
  border-bottom: none;
}

.content_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;
}

.content_box {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* news */
.news_post_area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news_post {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post_d_c {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 24px;
  gap: 16px;
}

.post_d_c::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;        /* くの字の幅 */
  height: 8px;       /* くの字の高さ */
  border-bottom: 1px solid #333333; /* 下の線 */
  border-right: 1px solid #333333;  /* 右の線 */
  transform: translateY(-50%) rotate(-45deg);
}

.post_day {
  font-size: 15px;
  letter-spacing: 2px;
}

.post_c {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  border: 1px solid #33A959;
  padding: 5px 0;
  border-radius: 30px;
}

.post_c span {
  color: #33A959;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.post_title {
  font-size: 15px;
  letter-spacing: 2px;
}

/* 固定ページ */
.mv_page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
  overflow: hidden;
  margin-top: -16px;
}

.mv_page_bg {
  position: absolute;
  top: 0%;
  width: 100%;
  height: 100%; 
  object-fit: inherit; 
}

.mv_page_title {
  position: absolute;
  top: 160px;
  z-index: 10;
}

.heta {
  position: absolute;
  top: 30px;
  right: 0%;
  max-width: 335px;
  width: 25vw;
  height: auto;
}

.page_top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  gap: 27px;
}

.page_top_link {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  gap: 12px;
  background: #FFFFFF;
  border-radius: 30px;
  box-shadow: 0px 0px 15px 2px #BDAA9721;
}

.page_top_link p {
  font-size: 18px;
  letter-spacing: 2px;
}

.top_link_circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  width: 38px;
  height: 36px;
  border-radius: 34% 42% 44% 47% / 47% 45% 34% 43%;
}

.top_link_circle::before {
  content: "";
  position: absolute;
  top: 32%;
  left: 50%;
  width: 2px;
  height: 11px;
  background: #FFFFFF;
  transform: translateX(-50%);
}

.top_link_circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  transform: translate(-50%, -65%) rotate(45deg);
}

.top_link_circle.le_t::before {
  top: 50%;
  right: 32%;
  left: auto;
  width: 11px;
  height: 2px;
  transform: translateY(-50%);
}

.top_link_circle.le_t::after {
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%) rotate(135deg);
}

.content_tomato_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 575px;
  padding-bottom: 16px;
  border-bottom: 4px solid #FFE087;
}

.content_tomato_title h2 {
  font-size: 32px;
  letter-spacing: 2px;
}

.content_tt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  gap: 32px;
}

.content_us_bg_img {
  position: absolute;
  top: -35%;
  max-width: 1440px;
  min-width: 1270px;
  width: 95%;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.content_us_bg_img img {
  height: 200px;
  max-width: 100%;
  width: auto;
}

/* コンタクト */
.curve_top {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  margin-bottom: 0;
}

.curve_top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 600px;
  background: #D0F3C3;
  border-radius: 50%;
}

.contact_box {
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  max-width: 1120px;
  width: 100%;
  background: #EEFEE8;
  border: 1px solid #BCE7AC;
  border-radius: 20px;
  padding: 24px;
}

.contact_top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
}

.contact_top_title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact_top_title span {
  font-family: "Josefin Sans", sans-serif;
  color: #47B169;
  font-size: 22px;
  letter-spacing: 2px;
}

.contact_top_title h3 {
  font-size: 27px;
  letter-spacing: 2px;
}

.contact_top p {
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 2px;
}

.contact_tel {
  background: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 40px;
  border-radius: 10px;
}

.contact_tel p {
  color: #FFFFFF;
  font-size: 15px;
}

.tel_number {
  display: flex;
}

.tel_number img {
  width: 32px;
}

.tel_number a {
  font-family: "Josefin Sans", sans-serif;
  color: #FFF37D;
  font-size: 54px;
  white-space: nowrap;
}

.contact_tel_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--main-color);
  border: 1px solid #DDF3FE;
  border-radius: 60px;
  padding: 24px 0 25px;
  margin-top: 24px;
  width: 354px;
}

#contact_bottom {
  position: relative;
  z-index: 0;
  background: #D0F3C3;
  padding: 0 0 80px;
}

/* 投稿記事 */
.content_area_sg {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0px 0px 15px 2px #BDAA9721;
  margin-top: 80px;
}

.news_top {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.news_top_col {
  display: flex;
  flex-direction: column;
  padding-left: 32px;
  flex: 1;
  min-width: 0;
}

.news_title {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 32px;
}

.n_t_b {
  width: 100%;
  border: 2px solid #F1E8D9;
}

.news_title_top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single_day {
  font-size: 13px;
}

.news_img {
  cursor: pointer;
  height: 170px;
  overflow: hidden;
}

.news_img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover; /* 縦横比を保ったまま170pxの枠を埋める */
  display: block;
  border-radius: 11px;
}

.wp-block-paragraph {
  line-height: 24px;
  letter-spacing: 2px;
}

.back_btn {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

/* 拡大エリア */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  width: auto;   /* ← 重要：news_img imgのwidth:100%を打ち消す */
  height: auto;  /* ← 重要：news_img imgのheight:100%も打ち消す */
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.lightbox-close::after {
  content: "×";
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  z-index: 2;
}

.news_content {
  padding: 32px;
}

/*カテゴリー標示*/

.pagination .page-numbers.current {
  background: var(--main-color);
  color: #FFFFFF;
  box-shadow: 0px 0px 15px 2px #BDAA9721;
}

.page_top_link.is-active {
  background: var(--main-color);
}

.page_top_link.is-active p,
.page_top_link.is-active .top_link_circle {
  color: #FFFFFF;
}

.page_top_link.is-active .top_link_circle {
  background: #FFFFFF;
}

.page_top_link.is-active .top_link_circle::before {
  background: var(--main-color);
}

.page_top_link.is-active .top_link_circle::after {
  border-bottom-color: var(--main-color);
  border-right-color: var(--main-color);
}

/*ページネーション*/
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 40px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  text-decoration: none;
  background: #FFFFFF;
  color: var(--main-color);
  box-shadow: 0px 0px 15px 2px #BDAA9721;
}

/* フッター */
.footer {
  width: 100%;
  max-width: 100%;
  padding: 100px 0;
  background-color: var(--footer-color);
  background-image: url("img/footer-back.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.f_area {
  display: flex;
  justify-content: space-between;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 20px;
}

.f_company {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.f_company_top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.f_top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.f_top img {
  width: 107px;
  height: auto;
}

.f_top_title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.f_top_title p {
  font-family: "BIZ UDGothic", sans-serif;
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.f_top_title span {
  color: #FFFFFF;
  font-size: 30px;
  letter-spacing: 0.05em;
}

.copyright p {
  color: #FFFFFF;
  font-size: 10px;
  letter-spacing: 2px;
}

.f_spot {
  font-size: 14px;
  letter-spacing: 0.52px;
  color: #FFFFFF;
}

.f_menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 0;
  gap: 12px;
}

.f_menu_box {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  box-sizing: border-box;
  border-top: 3px solid #FFFFFF;
  width: 140px;
}

.f_menu_box:last-child {
  width: 190px;
}

.f_menu_title {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}

.f_menu_title a {
  font-size: 15px;
  letter-spacing: 1px;
  color: #FFFFFF;
  font-weight: 500;
}

.f_submenu {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 16px 0 0 5px;
  gap: 12px;
}

.f_submenu a {
  font-size: 13px;
  letter-spacing: 1px;
  color: #FFFFFF;
  font-weight: 400;
}

.f_submenu li::before {
  content: "-";
  color: #FFFFFF;
}

@media (max-width: 1270px) {

  .h_menu_box {
    gap: 24px;
  }

  .h_menu_list {
    gap: 24px;
    padding: 0 0 2px 16px; 
  }

  .h_menu_list li {
    font-size: 12px;
  }

  .h_menu_btn a {
    padding: 0 24px 2px;
    font-size: 14px;
  }



}

@media (max-width: 1024px)  {

  .pc,
  .tb_s,
  .sp,
  .tbs_sp {
    display: none;
  }

  .tb_l,
  .tb_sl,
  .pc_tb {
    display: inline;
  }

  /* PC用ナビはモバイルでは完全非表示 */
  .site_nav {
    display: none;
  }

  header,
  .header {
    flex-wrap: wrap;
  }

  .header:has(.nav-toggle:checked) {
    background: #FFFFFF;
  }

  /* ▼ ハンバーガーで開くパネル本体 */
  .mobile_menu {
    display: block;
    order: 3;
    flex: 1 0 100%;
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
    max-height: 0;
    overflow: hidden;
    background: #FFFFFF;
    transition: max-height .35s ease;
  }

  .nav-toggle:checked ~ .mobile_menu {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #FFFFFF;
    padding: 24px 24px 60px;
    box-shadow: 0px 0px 15px 2px #BDAA9721;
    border-radius: 0 0 24px 24px;
    gap: 32px;
  }

  .nav_inner_sp {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  .nav_inner_sp .h_menu {
    width: 100%;
    height: auto;
    display: block;
  }

  .nav_inner_sp > .h_menu > a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #333333;
  }

  /* アコーディオン（詳細/summary） */
  .m_accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #333333;
    font-weight: 700;
  }

  .m_accordion summary::-webkit-details-marker {
    display: none;
  }

  .m_accordion summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #333333;
    border-right: 2px solid #333333;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .m_accordion[open] summary::after {
    transform: rotate(-135deg);
  }

  .m_submenu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 0 12px 10px;
    border-left: 1px solid #333333;
  }

  .m_submenu li a {
    display: block;
    font-weight: 500;
  }

  .nav-toggle-label {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 2;
    background: #FFFFFF;
    gap: 5px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0px 0px 15px 2px #BDAA9721;
  }

  .nav-toggle-label span {
    display: block;
    height: 2px;
    width: 28px;
    background: #EF5C49;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
    transform-origin: center;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* mobile_menu内のf_area調整（フッターと同じスタイルを流用しつつ余白だけ調整） */
  .f_area--mobile {
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px 32px;
  }

  .contact {
    flex-direction: column;
  }

  .f_area {
    flex-direction: column;
    padding: 0 60px;
    gap: 40px;
  }

  /* モバイルメニューの内部 */
  .mm_menu { 
    display: flex;
    flex-direction: column;
  }

  .mm_menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mm_menu_box {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-bottom: 1.5px solid #33A95940;
  }

  /* サブメニューを持たない単独リンク */
  .mm_menu_title--link {
    display: block;
    padding: 18px 4px;
    font-size: 15px;
    font-weight: 700;
  }

  /* ▼ アコーディオン（詳細/summary） */
  .mm_accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
  }

  .mm_accordion summary::-webkit-details-marker {
    display: none;
  }

  .mm_accordion summary::marker {
    content: "";
    display: none;
  }

  .mm_accordion summary a {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    letter-spacing: 0.02em;
  }
  
  .mm_accordion_element summary::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-bottom: 2px solid #333333;
    border-right: 2px solid #333333;
    transform: rotate(-45deg);
    transition: transform 0.2s;
  }

  .mm_accordion_element[open] summary::after {
    transform: rotate(45deg);
  }

  .mm_submenu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 4px 18px 14px;
    margin-left: 4px;
  }

  .mm_submenu li a {
    font-size: 14px;
  }

  .mm_btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mm_btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    background: #EF5C49;
    padding: 24px 32px 25px;
    border-radius: 60px;
  }

  /*アコーディオンの動き*/
  .mm_accordion_element {
    overflow: hidden;
  }

  .mm_accordion_element .mm_submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
  }

  .mm_accordion_element .mm_submenu > * {
    overflow: hidden;
  }

  .mm_accordion_element[open] .mm_submenu {
    grid-template-rows: 1fr;
    padding-top: 4px;
    padding-bottom: 18px;
  }

  /*固定ページ*/
  .mv_page {
    height: 300px;
  }
	
  .mv_page_title {
	top: 120px
  }

  .heta {
    top: 20px;
  }

  .page_top {
    justify-content: flex-start;
  }

  .curve_top {
    height: 180px;
  }

  .content_us_bg_img {
    min-width: 0;
    top: -210px;
  }

  .content_us_bg_img img {
    height: 170px;
  }

}

@media (max-width: 880px)  {

  :root {
    --header-h: 80px;
  }

  .pc,
  .tb_l,
  .sp {
    display: none;
  } 

  .pc_tb,
  .tb_s,
  .tb_sl,
  .tbs_sp {
    display: inline;
  }

  .header {
    padding: 0 10px;
  }

  .content_area_sg {
    padding: 0;
    margin-top: 60px;
  }

  .news_post {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .post_day {
    font-size: 12px;
  }

  .post_c span {
    font-size: 11px;
  }

  .post_title {
    font-size: 13px;
    padding-left: 24px;
  }

  .news_top {
    flex-direction: column-reverse;
    gap: 0;
  }

  .news_top_col {
    width: 100%;
    padding: 0;
  }

  .news_title {
    padding: 20px;
    gap: 8px;
  }

  .news_img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px 16px 0 0;
  }
	
　.news_img a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    line-height: 0;
  }

  .news_img img {
	width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
	object-fit: cover !important;
	display: block !important;
    border-radius: 16px 16px 0 0;
  }

  .news_title h2 {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 1px;
  }

  .n_t_b {
    border: 1px solid #F1E8D9;
  }

  .section_title span {
    font-size: 15px;
  }

  .section_title h2 {
    font-size: 20px;
  }

  .news_content {
    padding: 24px 16px;
  }

  .wp-block-paragraph {
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 1px;
  }

  .content_area {
    gap: 40px;
  	padding: 0 16px;
  }

  .curve_top::before {
    width: 200%;
  }

  .contact_box {
    flex-direction: column;
  }

  .contact_top {
    padding: 0 0 16px;
  }

  .contact_top_title {
    align-items: center;
  }

  .contact_top p {
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 1px;
  }

  .tel_number a {
    font-size: 37px;
  }

  /*固定ページ*/
  .mv_page {
    height: 250px;
  }

  .mv_page_title {
    top: 100px;
  }

  .heta {
    top: 10px;
  }

  .top_link_circle {
    width: 23px;
    height: 21px;
  }

  .page_top {
    padding: 20px 10px;
    gap: 16px;
  }

  .page_top_link {
    height: 30px;
    padding: 0 10px;
    gap: 5px;
  }

  .page_top_link p {
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  .top_link_circle::after {
    width: 6px;
    height: 6px;
    transform: translate(-50%, -30%) rotate(45deg);
  }

  .top_link_circle.le_t::before {
    width: 8px;
  }

  .top_link_circle.le_t::after {
    transform: translate(-60%, -50%) rotate(135deg);
  }

  .content_tt {
    padding-top: 20px;
    max-width: 575px;
    width: 100%;
  }

  .content_tt p {
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 1px;
    text-align: center;
  }

  .content_tomato_title {
    padding-bottom: 8px;
    max-width: 575px;
    width: 100%;
  }

  .content_page {
    padding-bottom: 60px;
    border-bottom: none;
  }

  .content_tomato_title h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .content_tomato_title img {
    width: 30px;
  }

  .content_us_bg_img {
    top: -180px;
  }

  .content_us_bg_img img {
    height: 150px;
  }

  #contact_bottom {
    padding: 0 0 60px;
  }

  /*フッター*/
  .footer {
    padding: 50px 0;
    background-image: url("img/footer-back-sp.png");
  }

  .f_area {
    padding: 0 16px;
  }

  .f_menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .f_menu_box,
  .f_menu_box:last-child {
    width: 100%;
  }

  .copyright p {
    text-align: center;
    padding-top: 24px;
  }

}

@media (max-width: 700px)  {

  .heta {
    top: 30px;
  }
}

@media (max-width: 500px) {

  .pc,
  .pc_tb,
  .tb_l,
  .tb_s,
  .tb_sl {
    display: none;
  }

  .tbs_sp,
  .sp {
    display: inline;
  }

  .h_top_title p {
    font-size: 7px;
  }

  .content_area {
    gap: 20px;
  }

  .curve_top {
    height: 100px;
  }

  .curve_top::before {
    width: 240%;
  }

  /*コンタクトエリア*/
  .contact_box {
    padding: 40px 20px;
  }

  .contact_top_title h3 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .contact_top_title span {
    font-size: 15px;
  }

  .contact_tel {
    padding: 30px 20px;
  }

  .tel_number img {
    width: 22px;
  }

  .contact_tel p {
    font-size: 13px;
    letter-spacing: 0px;
  }

  .contact_tel_btn {
    font-size: 15px;
    letter-spacing: 0.01em;
    width: 100%;
  }

  /*固定ページ*/
  .mv_page {
    height: 200px;
    overflow: hidden; 
  }

  .mv_page_bg {
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .section_title {
    font-size: 20px;
    gap: 8px;
  }

  .page_top {
    gap: 8px;
  }

  .content_us_bg_img {
    top: -130px;
  }

  .content_us_bg_img img {
    height: 130px;
  }

  .heta {
    width: 120px;
  }

  /*フッターs*/
  .f_area {
    gap: 30px;
  }

  .f_company_top {
    gap: 16px;
  }

  .f_top {
    gap: 8px;
  }

  .f_top img {
    width: 75px;
  }

  .f_top_title p {
    font-size: 11px;
  }

  .f_menu {
    grid-template-columns: repeat(1, 1fr);
  }

}