@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css?ver=6.6.1');

.header *,
.humberger-menu *,
.footer-wrapper *,
.footer *,
.copyright *,
.navigation * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.header,
.humberger-menu,
.footer-wrapper,
.footer,
.copyright,
.navigation {
  font-family: var(--family-noto);
  font-size: unset;
  font-weight: unset;
  line-height: normal;
  box-sizing: border-box;
}
.navigation[aria-modal]::before {
  display: none;
}

:where(img) {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

:where(ul, ol) {
  list-style: none;
}

:root {
  --main-width: 1200px;
  --navigation-width: 850px;
  --content-spacing: clamp(1.25rem, 24vw, max(calc(50vw - var(--main-width) / 2), 12px));
  --navigation-spacing: clamp(1.25rem, 24vw, max(calc(50vw - var(--navigation-width) / 2), 12px));
  --new-color: #dfc243;
  --gradation-color: linear-gradient(to bottom, #bbe5fb 30%, #87cafb 100%);
  --required-color: #d83a3a;
  --bg-color: #f5f2ed;
  --bg-gray-color: #bbb;
  --text-sub-color: #8c8c8c;
  --text-gray-color: #999;
  --family-noto: 'Noto Sans JP', sans-serif;
  --family-mplus: 'M PLUS Rounded 1c', sans-serif;
  --family-bebas: 'Bebas Neue', cursive, sans-serif;
  --weight-bold: 700;
  --weight-regular: 400;
  --line-height-sm: 1;
  --line-height-md: 1.5;
  --line-height-lg: 1.8;
  --line-height-xl: 2;
  --text-xxs: 0.625rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-xxl: 1.875rem;
  --text-xxxl: 2.25rem;
  --text-4xl: 2.75rem;
  --text-price: 1.25rem;
  --p-sm: 0.25rem;
  --p-md: 0.625rem;
  --p-lg: 1.25rem;
  --p-xl: 2rem;
  --p-xxl: 2.5rem;
  --p-xxxl: 3.5rem;
  --gap-sm: 0.25rem;
  --gap-md: 0.625rem;
  --gap-lg: 1.25rem;
  --gap-xl: 2rem;
  --gap-xxl: 2.5rem;
  --gap-xxxl: 3.5rem;
  --gap-xxxxl: 4.5rem;
  --z-index-overlay: 200;
  --z-index-section: 10;
  --swiper-pagination-color: #888;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-horizontal-gap: 8px;

  --base-color: #f2f2f2;
  --contents-bg-color: #fff;
  --text-contrast-color: #fff;
  --main-color: #147849;
  --sub-color: #5b433a;
  --text-color: #333;
  --text-point-color: #147849;
  --price-color: #ec2931;
  --link-color: #147849;
  --header-color: #fff;
  --footer-color: #2d2d2d;
  --navigation-bg-color: #000;
  --navigation-text-color: #fff;
  --navigation-border-color: #555;
  --breadcrumb-bg-color: #ffffff;
  --breadcrumb-text-color: #333;
  --breadcrumb-link-color: #333333;
  --breadcrumb-sep-color: #333333;
  --border-color: #ccc;
  --deco1-color: #2d2d2d;
  --deco2-color: #34aed4;
  --deco3-color: #fff;
  --deco4-color: #fff;
  --deco5-color: #fff;
  --family-poppins: 'Poppins', sans-serif;
}

::-webkit-scrollbar {
  width: 8px;
  height: 4px;
  background: var(--sub-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) var(--sub-color);
  }
}

body {
  background-color: #f8f6f3;
}

html {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  scroll-padding-top: 70px;
}

/*-------------------------
  header 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.header {
  width: 100%;
  height: 60px;
  padding: var(--p-md) var(--content-spacing);
  z-index: 100;
  background-color: rgb(from var(--header-color) r g b/0.8);
  border-bottom: 3px solid var(--main-color);
  display: flex;
  align-items: center;
}
.header .inner {
  display: flex;
  justify-content: space-between;
}
.header .inner .link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  text-decoration: none;
  color: var(--text-color);
  line-height: 1.6;
}
.header .inner .link:hover {
  color: var(--main-color);
}
.header .inner .link.logo {
  max-height: 60px;
  max-width: 200px;
  padding: 0;
}
.header .list {
  display: none;
}
.header .information {
  display: none;
}
@media (min-width: 890px) {
  .header {
    display: block;
    position: inherit;
    height: auto;
    padding-bottom: 0 !important;
  }
  .header .inner {
    align-items: center;
  }
  .header .inner .link {
    font-size: var(--text-xl);
  }
  .header .information {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: var(--p-sm);
    padding-right: var(--p-xxxl);
  }
  .header .information .block {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
  }
  .header .information .block-tel {
    gap: var(--gap-md);
  }
  .header .information .text {
    font-size: var(--text-sm);
  }
  .header .information .tel {
    color: var(--text-color);
    font-size: var(--text-xl);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
  }
  .header .information .tel::before {
    font: var(--fa-font-solid);
    content: '\f095';
    display: inline-block;
    font-size: var(--text-lg);
    color: var(--text-color);
    padding-top: var(--p-sm);
  }
  .header .information .tel:hover {
    color: var(--main-color);
  }
  .header .information .tel:hover:before {
    color: var(--main-color);
  }
  .header .information .block-text {
    font-size: var(--text-xs);
  }
  :is(.header .information) .block-text + .block-text-title {
    margin-left: var(--gap-md);
  }
  .header .sep {
    display: block;
    width: 1px;
    height: 30px;
    background-color: var(--text-color);
    flex-shrink: 0;
  }
  .header .list {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-block: var(--p-md);
  }
  .header .list .item {
    width: 100%;
    height: 60px;
  }
  .header .list .item:last-child .link {
    border-right: 1px solid var(--text-color);
  }
  .header .list .item.toggle:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px 8px 0 0;
    transition: 0.2s;
    cursor: default;
  }
  .header .list .item.toggle:hover .text {
    color: var(--main-color);
    font-weight: var(--weight-bold);
  }
  .header .list .item.group {
    grid-column: span 3;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-md);
  }
  .header .list .item .text {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--text-sm);
    padding-block: var(--p-lg);
  }
  .header .list .item .menu {
    position: absolute;
    top: calc(100% - var(--p-md));
    left: 0;
    display: grid;
    box-sizing: border-box;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 var(--p-xxl);
    grid-template-columns: 150px 1fr;
    border-radius: 8px;
    opacity: 0;
    z-index: 11;
    transition: 0.5s;
  }
  .header .list .item .menu .heading {
    display: none;
    font-size: var(--text-lg);
    color: var(--text-color);
    font-weight: var(--weight-bold);
  }
  .header .list .item .menu .inner {
    display: none;
    align-items: flex-start;
    grid-template-columns: repeat(3, 1fr);
    row-gap: var(--gap-lg);
    padding-block: 0;
  }
  .header .list .item .menu .inner .block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--p-lg);
    width: 100%;
  }
  :is(.header .list .item .menu .inner .block) + .tag {
    margin-top: var(--p-xl);
  }
  .header .list .item:hover .menu {
    height: auto;
    padding-block: var(--p-xxl);
    opacity: 1;
    transition: 0.5s;
  }
  .header .list .item:hover .menu .heading {
    display: block;
  }
  .header .list .item:hover .menu .inner {
    display: grid;
  }
  .header .tag {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    color: var(--text-contrast-color);
    background-color: var(--main-color);
    border-radius: 50px;
    padding: 4px var(--p-md);
    margin-bottom: var(--p-md);
  }
  .header .link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--text-sm);
    padding-block: var(--p-lg);
  }
  .header .link:hover {
    color: var(--main-color);
    font-weight: var(--weight-bold);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
  }
  .header .block-link {
    display: block;
    text-align: left;
    position: relative;
    text-decoration: none;
    font-size: var(--text-lg);
    color: var(--text-color);
    padding: var(--p-lg) var(--p-md);
    border-bottom: 1px solid var(--border-color);
    font-weight: var(--weight-bold);
    transition: 0.2s;
  }
  .header .block-link::after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: var(--p-md);
    margin: auto;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    transform: rotate(45deg);
  }
  .header .block-link:hover {
    color: var(--text-contrast-color);
    background-color: var(--main-color);
    transition: 0.2s;
  }
  .header .block-link:hover::after {
    border-color: var(--text-contrast-color);
  }
}
/*-------------------------
  header 子テーマ
  formatline global.css
-------------------------*/

:root {
  --content-spacing-lg: clamp(1.25rem, 24vw, max(calc(50vw - 1312px / 2), 12px));
}

@media (min-width: 768px) {
  .only-sp {
    display: none;
  }
}

/* header */
.header {
  background-color: #fff;
  border-bottom: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  width: 100%;
  border-radius: 0;
  top: 0;
  margin-inline: 0;
  height: auto;
  padding-left: var(--content-spacing-lg);
  padding-right: 60px;
  min-height: 88px;
  padding-block: 22px !important;
  padding-inline: var(--content-spacing-lg);
}

.header .inner {
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
}

@media (min-width: 1320px) {
  .header .inner {
    gap: 30px;
  }
}

/* Logo */
.header .inner .link.logo {
  margin-right: auto;
  max-width: 180px;
  transition: all 0.3s;
}

.header .inner .link.logo:hover {
  opacity: 0.7;
}

.header .inner .link.logo {
  max-width: 320px;
}

.header .inner .link.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header .sep {
  display: none;
}

/* Navigation (物件検索, アクセス, 会社概要) */
.header .list {
  display: flex;
  gap: 8px;
  padding: 0;
  border: none;
  margin: 5px 0 0 0;
}

@media (min-width: 1280px) {
  .header .list {
    gap: 15px;
  }
}

@media (max-width: 1170px) {
  .header .list {
    display: none;
  }
}

.header .list .item {
  width: auto;
  height: auto;
  border: none !important;
}

.header .list .item .link,
.header .list .item .text {
  display: block;
  padding: 11px 18px;
  border: 1px solid #707070;
  border-radius: 50px;
  color: #454545;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
  background: #fff;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .header .list .item .link,
  .header .list .item .text {
    padding: 11px 34px;
  }
}

.header .list .item .link:hover {
  background-color: #147849;
  border-color: #147849;
  color: #fff;
  opacity: 1;
}

.header .list .item:hover .menu {
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Information (Tel & Hours) */
.header .information {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  padding: 0;
}

.header .information .block-tel {
  margin-bottom: 0;
  line-height: 1;
}

.header .information .tel {
  font-family: 'Arial', sans-serif;
  /* 数字のフォント調整 */
  font-size: 36px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.3s;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
}

.header .information .tel:hover {
  opacity: 0.7;
}

.header .information .tel::before {
  content: none;
}

/* 電話番号下の営業時間・定休日 */
.header .information .block {
  display: flex;
  gap: 2px;
  font-size: 11px;
  color: #333;
  white-space: nowrap;
  font-size: var(--text-xs);
}

.header .information .block-text-title {
  margin-left: 0 !important;
}

/* Contact Button */
.header .button-link.contact-link {
  display: none;
}

@media (min-width: 380px) {
  .header .button-link.contact-link {
    background-color: #b20007;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    margin: 0;
    width: auto;
    font-weight: 500;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    max-width: 200px;
    font-size: 20px;
    padding: 14px 30px;
    gap: 10px;
    border-radius: 8px;
  }
}

.header .button-link.contact-link:hover {
  opacity: 0.7;
}

.header .button-link.contact-link .contactIcon {
  fill: #fff;
  flex-shrink: 0;
  width: 22px;
  height: 17px;
}

/*-------------------------
  footer 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: var(--p-xxl);
  align-items: center;
  background-color: var(--footer-color);
}
.footer .information {
  padding-inline: var(--content-spacing);
  padding-bottom: var(--p-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .information .link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--text-color);
  text-align: left;
  text-decoration: none;
  margin-bottom: var(--p-md);
}
.footer .information .link:hover {
  color: var(--main-color);
}
.footer .information .address {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  font-size: var(--text-sm);
}
.footer .information .tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: -moz-fit-content;
  width: fit-content;
  gap: var(--p-sm);
  font-size: var(--text-xl);
  line-height: var(--line-height-md);
  text-decoration: none;
  position: relative;
  color: var(--text-color);
}
.footer .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  padding-top: var(--p-md);
  font-size: var(--text-lg);
}
.footer .information .tel:hover {
  color: var(--main-color);
}
.footer .information .tel:hover::before {
  color: var(--main-color);
}
.footer .information .text {
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
}
.footer .list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #e6e6da;
}
.footer .list .item {
  border-bottom: 1px solid #e6e6da;
}
.footer .list .item:nth-child(odd) {
  border-right: 1px solid #e6e6da;
}
.footer .list .item .link {
  width: 100%;
  padding-block: var(--p-md);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--text-color);
  text-decoration: none;
  display: block;
}
.footer .list .item .link:hover {
  color: var(--main-color);
  font-weight: var(--weight-bold);
}
.footer .copyright {
  grid-column: span 2;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-gray-color);
  padding-block: var(--p-md);
}
.footer .copyright .link {
  text-decoration: none;
  color: var(--text-gray-color);
}
@media (min-width: 768px) {
  .footer {
    display: grid;
    align-items: flex-start;
    grid-template-columns: max-content 1fr;
    padding: var(--p-xl) var(--content-spacing) 0 var(--content-spacing);
  }
  .footer .information {
    padding-left: 0;
    padding-right: 0;
    display: block;
  }
  .footer .information .link {
    width: auto;
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
  }
  .footer .information .logo {
    width: 474px;
    height: 48px;
  }
  .footer .information .text {
    flex-direction: row;
    gap: 0 15px;
  }
  .footer .list {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 var(--gap-lg);
    margin-top: 6px;
    border-top: none;
  }
  .footer .list .item {
    border: none;
  }
  .footer .list .item:nth-child(odd) {
    border: none;
  }
}

/*-------------------------
  footer copyright 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.footer .copyright {
  grid-column: span 2;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-gray-color);
  padding-block: var(--p-md);
}
.footer .copyright .link {
  text-decoration: none;
  color: var(--text-gray-color);
}

/*-------------------------
  footer 子テーマ
  formatline global.css
-------------------------*/

.footer {
  background: url(../img/bg_yama.png) center bottom / cover no-repeat, rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
  padding-block: 0 40px !important;

  /* Grid Layout */
  display: grid !important;
  gap: 40px;
  color: #333;
  justify-items: center;
  padding-block: 60px 40px !important;
  align-items: start;
  padding-inline: var(--content-spacing-lg);
  grid-template-areas:
    'information information'
    'menu contact'
    'bottom bottom';
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  background: url(../img/bg_yama.png) center bottom / 123.944% 100% no-repeat, rgba(255, 255, 255, 0.8);
}

@media (min-width: 1060px) {
  .footer {
    grid-template-areas:
      'information menu contact'
      'bottom bottom bottom';
  }
}

/* Information (Left) */
.footer .information {
  padding: 0 !important;
  grid-area: information;
  align-items: flex-start;
  width: max-content;
}

.footer .information .link {
  display: grid;
  max-width: 320px;
}

.footer .information .logo-text {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  margin-left: 60px;
}

.footer .information .address {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 16px;
  margin-top: 24px;
  justify-content: flex-start;
}

/* Menu (Center) */
.footer .menu {
  display: flex;
  justify-content: center;
  gap: 60px;
  grid-area: menu;
  justify-self: end;
}

@media (min-width: 1060px) {
  .footer .menu {
    justify-self: unset;
  }
}

.footer .menu .block {
  text-align: left;
}

.footer .menu .sublist-head {
  display: none;
}

.footer .menu .sublist-title {
  display: block;
  font-weight: bold;
  margin-bottom: 22px;
  font-size: 17px;
}

.footer .menu .sublist {
  padding: 0;
  margin: 0;
}

.footer .menu .sublist .item-li {
  list-style: none;
  margin-bottom: 15px;
}

.footer .menu .sublist .link {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.footer .menu .sublist .link:hover {
  opacity: 1;
  color: var(--main-color);
  font-weight: bold;
}

/* Contact (Right) */
.footer .contact {
  display: flex;
  flex-direction: column;
  grid-area: contact;
  max-width: 320px;
  justify-self: start;
  align-items: flex-end;
}

@media (min-width: 1060px) {
  .footer .contact {
    justify-self: unset;
  }
}

.footer .contact .block-tel {
  order: 1;
}

.footer .contact .tel {
  font-family: 'Arial', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  gap: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1.5px;
}

.footer .contact .telIcon {
  width: 30px;
  height: auto;
  fill: #333;
  margin: 0;
}

.footer .contact .tel::before {
  content: none !important;
  /* 親テーマのアイコンを削除 */
}

.footer .contact .block-info {
  order: 2;
}

.footer .contact .block-text {
  font-size: var(--text-xs);
}

.footer .contact .button-link.contact-link {
  background-color: #b20007;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  width: 100%;
  max-width: 320px;
  border: none;
  margin-top: 20px;
  order: 3;
}

/* Bottom */
.footer .bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
  font-size: 12px;
  grid-area: bottom;
  justify-content: flex-start;
}

.footer .bottom .link {
  text-decoration: none;
  color: #333;
}

.footer .bottom .link:hover {
  opacity: 1;
  color: var(--main-color);
  font-weight: bold;
}

.footer a {
  transition: all 0.3s;
}

.footer a:hover {
  opacity: 0.7;
}
