/*
Theme Name: ST Base Top
Theme URI: https://simpletastes.jp/st-base/
Author: Shozo Karato, AEDI Inc.
Author URI: https://www.aedi.jp/
Description: シンプルテイスト STベーストップ（ST Base Top）のテーマです。
Version: 2.4.3
*/

/* ここから */
/*  WordPressにログインし、ツールバーを表示させている時、ツールバーのCSSからサイトのデザインが崩れるのを防ぐ */
/* ツールバーをページの一番上に固定 */
#wpadminbar {
  position: fixed !important; /* ページの上に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* 最前面に表示 */
}

/* ヘッダーの位置を固定し、ツールバーの影響を受けないようにする */
body.admin-bar #header {
  position: fixed; /* ヘッダーを固定 */
  top: 32px; /* 管理バーの高さ分だけ下にずらす（通常32px） */
  left: 0;
  width: 100%;
  z-index: 998; /* 管理バーの下に配置 */
}

@media (max-width: 782px) {
  body.admin-bar #header {
    top: 46px; /* 小さい画面では管理バーが46pxになる */
  }
}

/* #page-title-wrapper の位置を固定し、ツールバーの影響を受けないようにする */
body.admin-bar #top-img #page-title-wrapper {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar #top-img #page-title-wrapper {
    top: 46px;
  }
}

/* モバイルナビが、ツールバーの影響を受けないようにする */
body.admin-bar #mobile-nav {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar #mobile-nav {
    top: 46px !important;
  }
}

/* スライダーの上に表示させるロゴ等の画像が.ツールバーの影響を受けないようにする */
body.admin-bar .slogan-image{
  transform: translateY(32px)!important;
}

@media (max-width: 782px) {
  body.admin-bar .slogan-image {
    transform: translateY(46px)!important;
  }
}

/* 管理バーが被る形にするためにbodyの余白をリセット */
body.admin-bar {
  margin-top: 0 !important; /* デフォルトの余白を無効化 */
}
/* WordPressにログインし、ツールバーを表示させている時、ツールバーのCSSからサイトのデザインが崩れるのを防ぐ */
/* ここまで */

html {
  scroll-padding-top: 60px;
}

@media (min-width: 1200px) {
  html {
    scroll-padding-top: 68px;
  }
}

html, body {
  overflow-x: hidden !important;
}

body.scroll-lock {
  overflow: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  color: #111;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: unset;
  }
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.5;
}

a:link, a:visited, a:hover, a:active, a:focus {
  text-decoration: underline;
}

a:link, a:visited {
  color: #111;
}

a:hover, a:active, a:focus {
  color: #000;
}

#main a img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#main a:hover img {
  opacity: 0.8;
}

/* 共通
--------------------------------------------------------------- */

#prev-next-articles.section {
  padding-top: 0;
}

.note {
  font-size: 13px;
  line-height: 1.5;
  /*  display: block;*/
}

@media (min-width: 992px) {
  .note {
    font-size: 14px;
    line-height: 2;
  }
}

ul.note {
  padding: 0;
}

ol.note {
  padding: 0;
}

ul.note li {
  list-style: none;
}

ul.note li::before {
  content: "※ ";
}

ol.note {
  counter-reset: custom-counter;
  /* カウンタのリセット */
}

ol.note li {
  list-style: none;
  /* デフォルトの番号を非表示 */
  counter-increment: custom-counter;
  /* カウンタをインクリメント */
}

ol.note li::before {
  content: "※"counter(custom-counter) ". ";
  /* カスタム番号付きのプレフィックスを追加 */
}

.fi {
  opacity: 0;
}

.fi2 {
  opacity: 0;
}

.fi3 {
  opacity: 0;
}

.fis {
  opacity: 0;
}

.breadcrumb-item a:link {
  color: #111;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.breadcrumb-item a:visited {
  color: #111;
  text-decoration: underline;
}

.breadcrumb-item a:hover {
  color: #000;
  text-decoration: underline;
}

.breadcrumb-item a:active {
  color: #000;
  text-decoration: underline;
}

.breadcrumb-item a:focus {
  color: #000;
  text-decoration: underline;
}

#meta-info {
  padding-top: 1.5rem;
}

#main {
  min-height: 100vh;
}

article {
  overflow-y: hidden;
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
}

.section {
  padding-top: clamp(2rem, 1.704rem + 1.48vw, 3rem);
  padding-right: .5rem;
  padding-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
  padding-left: .5rem;
}

.section:nth-of-type(2) {
  padding-top: 4rem !important;
  padding-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
}

.section:last-of-type {
  padding-bottom: clamp(2.5rem, 1.907rem + 2.96vw, 4.5rem);
}

.section:nth-of-type(2):last-of-type {
  padding-top: 4rem !important;
  padding-bottom: clamp(2.5rem, 1.907rem + 2.96vw, 4.5rem) !important;
}

/* WooCommerce */
.woocommerce-page .section:last-of-type {
  padding-top: clamp(2.5rem, 1.907rem + 2.96vw, 4.5rem);
  padding-right: .5rem;
  padding-bottom: clamp(2.5rem, 1.907rem + 2.96vw, 4.5rem);
  padding-left: .5rem;
}

/* WooCommerce */
.single-product .section:last-of-type {
  padding-top: 2rem;
  padding-right: .5rem;
  padding-bottom: clamp(2.5rem, 1.907rem + 2.96vw, 4.5rem);
  padding-left: .5rem;
}

@media (min-width: 576px) {
  .single-product .section:last-of-type {
    padding-top: 3rem;
  }
}

@media (min-width: 992px) {
  .single-product .section:last-of-type {
    padding-top: 4rem;
  }
}

@media (min-width: 1200px) {
  .single-product .section:last-of-type {
    padding-top: 5rem;
  }
}

.alt-section {
  padding-top: clamp(2rem, 1.704rem + 1.48vw, 3rem);
  padding-right: .5rem;
  padding-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
  padding-left: .5rem;
}

.alt-section+.section:nth-of-type(2) {
  padding-top: 0 !important;
  padding-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
}

.section-title {
  padding: 0 0 5rem;
  font-size: clamp(2rem, 1.778rem + 1.11vw, 2.75rem);
  font-weight: 700;
}

.subsection {
  padding-top: clamp(2rem, 1.704rem + 1.48vw, 3rem);
  padding-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
}

.subsection:first-of-type {
  padding-top: 0 !important;
  padding-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
}

.subsection:last-of-type {
  padding-top: clamp(2rem, 1.704rem + 1.48vw, 3rem);
  padding-bottom: 0;
}

.subsection-image a {
  display: block;
}

.subsection-image img {
  border-radius: 14px;
}

.subsection-title {
  font-weight: bold;
  margin-bottom: 2rem;
}

.subsection-description {
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .subsection-description {
    margin-top: 0;
  }
}

.hero-bgi {
  height: 75vh;
}

/* 画像の角丸 */
.b-r {
  border-radius: 12px;
  overflow: hidden;
}

/* WordPress 画像の角丸 */
:root :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-style-rounded img) {
  border-radius: 12px !important;
}

/* トップ画像
--------------------------------------------------------------- */
#top-img {
  background-color: #000;
  margin-top: 60px;
}

@media (min-width: 1200px) {
  #top-img {
    margin-top: 68px;
  }
}

#top-img-inside {
  background-color: #000;
}

#top-img img {
  width: 100%;
  height: 240px;
  min-height: 240px;
  overflow: hidden;
  object-fit: cover;
}

@media (min-width: 576px) {
  #top-img img {
    height: 360px;
    min-height: 360px;
  }
}

#top-img #page-title-wrapper {
  overflow: hidden;
  width: 100%;
  height: 240px;
  min-height: 240px;
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  top: 0;
  margin: 60px auto 0;
}

@media (min-width: 576px) {
  #top-img #page-title-wrapper {
    height: 360px;
    min-height: 360px;
  }
}

@media (min-width: 1200px) {
  #top-img #page-title-wrapper {
    margin: 68px auto 0;
  }
}

#top-img #page-title {
  font-size: clamp(1.75rem, 1.38rem + 1.85vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
  padding: 0.5vw 8vw;
  text-align: center;
  line-height: 1.5;
}

#top-img #page-title.no-text-shadow {
  text-shadow: none;
}

#top-noimg #page-title-wrapper {
  width: 100%;
  height: 240px;
  min-height: 240px;
  background-color: #fafafa;
  margin: 60px auto 0;
}

@media (min-width: 576px) {
  #top-noimg #page-title-wrapper {
    height: 360px;
    min-height: 360px;
  }
}

@media (min-width: 1200px) {
  #top-noimg #page-title-wrapper {
    margin: 68px auto 0;
  }
}


#top-noimg #page-title {
  font-size: clamp(1.75rem, 1.38rem + 1.85vw, 3rem);
  font-weight: 700;
  color: #111;
  text-shadow: none;
  padding: 0.5vw 8vw;
  text-align: center;
}


/* Breadcrumb
------------------------------------------ */
.breadcrumb-wrapper {
  margin-top: 1rem;
}

.breadcrumb {
  font-size: 14px;
}

@media (min-width: 676px) {
  .breadcrumb {
    font-size: 1rem;
  }
}

/* Header
---------------------------------------------------------------------------------------- */
#header {
  padding-right: clamp(1rem, 0.704rem + 1.48vw, 2rem);
  padding-left: clamp(1rem, 0.704rem + 1.48vw, 2rem);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 60px;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

@media (min-width: 1200px) {
  #header {
    height: 68px;
  }
}

#header .row>* {
  padding-left: 0;
  padding-right: 0;
}

#header a {
  text-decoration: none;
}

#header .site-title-wrapper a {
  text-decoration: none;
  color: #111;
}

#header .site-title-wrapper h1, #header .site-title-wrapper p {
  padding: 0;
  margin: 0;
}

#header img.logo {
  max-width: 125px;
  max-height: 46px;
  height: auto;
  width: auto;
  padding-top: 2px !important;
  padding-right: 12px;
}

#header .site-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  margin: 0;
}

@media (min-width: 375px) {
  #header .site-title {
    font-size: 1.1rem;
  }
}

@media (min-width: 576px) {
  #header .site-title {
    font-size: 1.3rem;
  }
}

#header .site-subtitle {
  font-size: 12px;
  line-height: 1;
  padding-bottom: 5px;
  margin: 0;
}

#global-nav .list-inline {
  margin: 0;
  font-size: clamp(0.875rem, -0.475rem + 1.8vw, 1.1rem);
  /*  font-size: clamp(0.938rem, -0.188rem + 1.5vw, 1.125rem);*/
  font-weight: 500;
}

#global-nav a {
  color: #111;
  /* SimpleTastes */
  height: 69px;
  /* WooCommerce導入時 */
  /* height: 68px; */
  display: flex;
  align-items: center;
  background-image: linear-gradient(#111, #111);
  background-size: 0 2px;
  background-position: right bottom;
  background-repeat: no-repeat;
  transition: background-size .25s cubic-bezier(0.215, 0.61, 0.355, 1);
  padding-left: 3px;
  padding-right: 3px;
}

@media (hover: hover) {
  #global-nav a:hover:where(:any-link, : enabled, summary):hover {
    background-position: left bottom;
    background-size: 100% 2px;
  }
}

#global-nav a.active {
  background-image: linear-gradient(#111, #111);
  background-position: left bottom;
  background-size: 100% 2px;
}

#nav-button {
  margin: .6rem 0 0 1.5rem;
}

@media (min-width: 576px) {
  #nav-button {
    margin: .6rem 0 0 .5;
  }
}

#nav-icon {
  width: 30px;
  height: 30px;
  position: relative;
  transform: rotate(0deg);
  transition: transform .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #111;
  border-radius: 10px;
  left: 0;
  transform: rotate(0deg);
  transition: transform .2s ease-in-out, height .2s ease-in-out, width .2s ease-in-out, position .2s ease-in-out, left .2s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
  top: 9px;
}

#nav-icon span:nth-child(4) {
  top: 18px;
}

#nav-icon.open-mobile-nav span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

#nav-icon.open-mobile-nav span:nth-child(2) {
  transform: rotate(45deg);
}

#nav-icon.open-mobile-nav span:nth-child(3) {
  transform: rotate(-45deg);
}

#nav-icon.open-mobile-nav span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.nav-icon {
  width: 21px;
}

/* WooCommerce導入時 */
/*
#global-nav li {
  transform: translateY(-1px);
}
*/

/* WooCommerce導入時 */
/*
#global-nav li.icon-list {
  transform: translateY(2px);
}
*/

#search-button {
  display: block;
  height: 68px;
  position: relative;
  top: 1px;
  margin-left: 12px;
}

#search-button-mobile {
  display: block;
  height: 60px;
  position: relative;
	padding-top: 2px;
  top: 0;
  /*	background-color: red;*/
}

#search-button-mobile img {
  position: relative;
  top: 18px;
}

a#search-button {
  color: #111;
  height: 68px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(#111, #111);
  background-size: 0 2px;
  background-position: right bottom;
  background-repeat: no-repeat;
  transition: background-size .25s cubic-bezier(0.215, 0.61, 0.355, 1);
  padding-left: 3px;
  padding-right: 3px;
}

@media (hover: hover) {
  a#search-button:hover:where(:any-link, : enabled, summary):hover {
    background-position: left bottom;
    background-size: 100% 2px;
  }
}

a#search-button.active {
  background-image: linear-gradient(#111, #111);
  background-position: left bottom;
  background-size: 100% 2px;
}

/* モーダル
--------------------------------------------------------------- */
.modal-content {
  padding: 0 1.25rem 0;
  border-radius: 12px;
}

.modal-header {
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.modal-header .btn-close {
  margin-right: -1.25rem;
  /*  transform: translateY(-1rem);*/
}

#search-modal .modal-title {
  text-transform: uppercase;
  color: #111 !important;
  font-size: 1.5rem !important;
  /*	transform: translateY(-.75rem);*/
}

#search-modal .form-control {
  border-top-left-radius: 90px;
  border-bottom-left-radius: 90px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 51px;
  padding-left: 18px
}

#search-modal #modal-search-button {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 90px;
  border-bottom-right-radius: 90px;
  width: 60px;
  margin: 0 0 .25rem 0;
  padding: 5px 5px 5px 0;
  background-color: #222;
  transition: background-color 0.3s ease-in-out;
}

#search-modal #modal-search-button:hover {
  background-color: #000;
}


/* Mobile nav
---------------------------------------------------------------------------------------- */
#mobile-nav {
  background-color: rgba(0, 0, 0, 0.94);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 8rem 0;
  text-align: left;
  overflow-y: auto;
  /* Enable scrolling within the mobile menu */
  visibility: hidden;
  -webkit-overflow-scrolling: touch;
  /* Enable momentum scrolling on iOS */
  display: flex;
  justify-content: center;
  align-items: start;
}

@media (min-width: 576px) {
  #mobile-nav {
    align-items: center !important;
  }
}

@media (orientation: landscape) and (min-width: 576px) {
  #mobile-nav {
    align-items: start !important;
  }
}


/* Lock body scroll */
body.scroll-lock {
  overflow: hidden;
}

#mobile-nav::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar in Chrome, Safari */
}

.mobile-nav-main a {
  background-image: linear-gradient(#fff, #fff);
  background-size: 0 3px;
  background-position: right bottom;
  background-repeat: no-repeat;
  text-decoration: none;
  color: #fff;
  padding-bottom: 5px;
  margin: 0;
  transition: background-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (hover: hover) {
  .mobile-nav-main a:where(:any-link, : enabled, summary):hover {
    background-position: left bottom;
    background-size: 100% 3px;
  }
}

#mobile-nav ul {
  list-style: none;
  padding-left: 1rem;
}

#mobile-nav ul ul {
  list-style: none;
  padding-left: 0;
}

.mobile-nav-main li {
  font-weight: 500;
  font-size: clamp(1.2rem, 0.909rem + 1.45vw, 2rem);
  line-height: 1.5;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

/* Home
---------------------------------------------------------------------------------------- */
#home-top-img {
  background-color: #000;
  margin-top: 60px;
  margin-bottom: clamp(2rem, 1.704rem + 1.48vw, 3rem);
}

@media (min-width: 1200px) {
  #home-top-img {
    margin-top: 68px;
  }
}

#home-top-img #page-title-wrapper {
  overflow: hidden;
  width: 100%;
  height: 78vh;
  position: absolute;
  z-index: 2;
  top: 0;
  margin: 27px auto 0;
}

@media (min-width: 1200px) {
  #home-top-img #page-title-wrapper {
    height: 88vh;
    margin: 27px auto 0;
  }
}

#home-top-img #page-title {
  font-size: clamp(2rem, 1.467rem + 2.67vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
  padding: 0.5vw 8vw;
  text-align: center;
  margin-top: 60px;
  line-height: 1.5;
}

@media (min-width: 1200px) {
  #home-top-img #page-title {
    margin-top: 68px;
  }
}

#home-top-img #page-title.no-text-shadow {
  text-shadow: none;
}

/*
.swiper {
  width: 100%;
  height: 78vh;
}

@media (min-width: 1200px) {
  .swiper {
    width: 100%;
    height: 88vh;
  }
}
*/

.swiper-slide {
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 77vh;
}

@media (min-width: 1200px) {
  .swiper-slide img {
    display: block;
    width: 100%;
    height: 88vh;
  }
}

#hero-slider-zoomout .swiper-slide img {
  transform: scale(1.2);
}

#hero-slider-zoomout .swiper-slide-active .img-wrapper, #hero-slider-zoomout .swiper-slide-duplicate-active .img-wrapper, #hero-slider-zoomout .swiper-slide-prev .img-wrapper {
  animation: zoomOut 10s linear 0s normal both;
  will-change: transform;
}

@keyframes zoomOut {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.9);
  }
}

#hero-slider-zoomin .swiper-slide img {
  transform: scale(1);
}

#hero-slider-zoomin .swiper-slide-active .img-wrapper, #hero-slider-zoomin .swiper-slide-duplicate-active .img-wrapper, #hero-slider-zoomin .swiper-slide-prev .img-wrapper {
  animation: zoomIn 10s linear 0s normal both;
  will-change: transform;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.slogan-image {
  max-width: 700px;
  max-height: 280px;
  width: 100%;
  height: auto;
  padding: 3rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .slogan-image {
    padding: 0;
  }
}

/* Home Contents
---------------------------------------------------------------------------------------- */
.contents-item {
  margin-bottom: 3rem;
}

.contents-item a {
  position: relative;
  /* Firefox */
  display: flex;
  justify-content: center;
  align-items: center;
}

.contents-item a:link .contents-item-title, .contents-item a:visited .contents-item-title, .contents-item a:hover .contents-item-title, .contents-item a:active .contents-item-title, .contents-item a:focus .contents-item-title {
  text-decoration: none;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
  color: #fff;
}

.contents-item-title.no-text-shadow {
  text-shadow: none !important;
}

.contents-item.no-thumbnail a:link .contents-item-title, .contents-item.no-thumbnail a:visited .contents-item-title, .contents-item.no-thumbnail a:hover .contents-item-title, .contents-item.no-thumbnail a:active .contents-item-title, .contents-item.no-thumbnail a:focus .contents-item-title {
  text-decoration: none;
  text-shadow: none;
}

.contents-item.no-thumbnail a:link .contents-item-title, .contents-item.no-thumbnail a:visited .contents-item-title, .contents-item.no-thumbnail a:hover .contents-item-title, .contents-item.no-thumbnail a:active .contents-item-title, .contents-item.no-thumbnail a:focus .contents-item-title {
  color: #111;
}

.contents-item-thumbnail img {
  overflow: hidden;
  aspect-ratio: 1.618 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.contents-item-thumbnail-wide img {
  overflow: hidden;
  aspect-ratio: 1.618 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .contents-item-thumbnail-wide img {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 992px) {
  .contents-item-thumbnail-wide img {
    aspect-ratio: 21 / 9;
  }
}

.contents-item-title {
  font-size: clamp(1.75rem, 1.602rem + 0.74vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  padding: 5px 15px;
  margin: auto;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
}

.alt-contents-item-title {
  font-size: clamp(1.1rem, 1.056rem + 0.22vw, 1.25rem);
  font-weight: 400;
  margin-top: 1rem;
}

.contents-item .alt-contents-item-title a {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.alt-contents-item-title+.contents-item-description {
  padding-top: .5rem;
  font-size: 1rem;
}

.contents-item-description {
  padding-top: 1rem;
  font-size: 1rem;
}

/* Blog
---------------------------------------------------------------------------------------- */
.blog-item {
  margin-bottom: 3rem;
}

.blog-item-thumbnail {
  margin-bottom: 1rem;
}

.blog-item-thumbnail a {
  display: block;
}

.blog-item-thumbnail img {
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1.618 / 1;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-item-title {
  font-size: clamp(1.1rem, 1.056rem + 0.22vw, 1.25rem);
  font-weight: 400;
}

#blog-nothumbnail .section-title {
  padding: 2rem 0 5rem;
}

@media (min-width: 992px) {
  #blog-nothumbnail .section-title {
    padding: 0;
  }
}

/* News
---------------------------------------------------------------------------------------- */
.news-item {
  margin-bottom: 3rem;
}

.news-item-thumbnail {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .news-item-thumbnail {
    margin-right: 2.5rem;
    margin-bottom: 0;
  }
}

.news-item-thumbnail a {
  display: block;
}

.news-item-thumbnail img {
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1.618 / 1;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .news-item-thumbnail img {
    width: clamp(21.875rem, 10.483rem + 23.73vw, 31.25rem);
  }
}

/* blogとnews共通 */
.description {
  margin-top: 1rem;
  font-size: 1rem;
}

.home .news-item-thumbnail {
  margin-right: 0;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .home .news-item-thumbnail {
    margin-right: 2.5rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 992px) {
  .home .news-item-thumbnail {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.home .news-item-thumbnail img {
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1.618 / 1;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) and (max-width: 991px) {
  .home .news-item-thumbnail img {
    margin-bottom: 0;
    width: clamp(21.875rem, 10.483rem + 23.73vw, 31.25rem);
  }
}

@media (min-width: 992px) {
  .home .news-item-thumbnail img {
    max-width: 100%;
  }
}

.news-item-title {
  font-size: clamp(1.1rem, 1.056rem + 0.22vw, 1.25rem);
  font-weight: 400;
}

#news-nothumbnail .section-title {
  padding: 2rem 0 5rem;
}

@media (min-width: 992px) {
  #news-nothumbnail .section-title {
    padding: 0;
  }
}

/* meta
---------------------------------------------------------------------------------------- */
.meta {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.single .meta {
  font-size: clamp(1rem, 0.963rem + 0.19vw, 1.125rem);
}

.meta .post-date {
  margin-right: 10px;
  line-height: 1.75;
}

.meta .post-cat {
  font-size: 12px;
  display: inline-block;
  text-decoration: none;
  transform: translateY(-1px);
}

.meta .post-tag {
  font-size: 13px;
  display: inline-block;
  transform: translateY(-1px);
}

.single .meta .post-cat {
  font-size: 13px;
}

.single .meta .post-tag {
  font-size: 14px;
}

.meta .post-cat a {
  display: inline-block;
  text-decoration: none;
  padding: 3px 10px;
  margin: 3px 0;
  min-width: 55px;
  text-align: center;
  margin-right: .3rem;
  background-color: #efefef;
  color: #000;
}

/* ブログ */
#blog .meta .post-cat a, #blog-nothumbnail .meta .post-cat a, .blog .meta .post-cat a {
  border-radius: 3px;
}

/* お知らせ */
#news .meta .post-cat a, #news-nothumbnail .meta .post-cat a, .news .meta .post-cat a {
  border-radius: 3px;
  /*  border-radius: 1px;*/
}

.meta .post-tag a {
  margin-right: .3rem;
}

.single-post-date {
  padding-right: 10px;
}

.sns-share-btns span {
  padding: 0 3px;
}

.sns-share-btns a {
  text-decoration: none;
}

/* About
---------------------------------------------------------------------------------------- */
/* 最初の.section-titleに適用されるスタイル */
#about-contents .first-section-title {
  padding: 0 0 5rem !important;
}

/* それ以外の.section-titleに適用されるスタイル */
#about-contents .section-title {
  padding: 5rem 0;
}

#greetings-image img {
  border-radius: 12px;
}

#history-image img {
  border-radius: 12px;
}

#profile-image img {
  border-radius: 12px;
}

.about-image {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.about-video {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.about-text {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.about-image-right-side {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.about-image-left-side {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.about-text-left-side {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

.about-text-right-side {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem
}

@media (min-width: 1200px) {
  .about-image-right-side {
    padding: 3rem 12px 3rem 1rem;
  }

  .about-image-left-side {
    padding: 3rem 1rem 3rem 12px;
  }

  .about-text-left-side {
    padding: 3rem 1rem 3rem 12px;
  }

  .about-text-right-side {
    padding: 3rem 12px 3rem 1rem;
  }
}

.responsive-video {
  max-width: 100%;
  height: auto;
}

#profile dl, #history dl {
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

#profile dl:first-of-type, #history dl:first-of-type {
  margin-top: 1rem;
}

#profile dl:last-of-type, #history dl:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
}

#profile dt, #history dt {
  padding: 1rem 0 1rem 1rem;
  margin: 0;
  width: 100%;
}

@media (min-width: 576px) {
  #profile dt, #history dt {
    width: 20%;
  }
}

@media (min-width: 992px) {
  #profile dt, #history dt {
    padding: 2rem 1rem 2rem 4.5rem;
  }
}

@media (min-width: 1200px) {
  #profile dt, #history dt {
    width: 25%;
  }
}

#profile dd, #history dd {
  padding: 0 1rem 1rem 1rem;
  width: 100%;
}

@media (min-width: 576px) {
  #profile dd, #history dd {
    padding: 1rem 1rem 1rem 1rem;
    width: 80%;
  }
}

@media (min-width: 992px) {
  #profile dd, #history dd {
    padding: 2rem 1rem 2rem 2rem;
  }
}

@media (min-width: 1200px) {
  #profile dd, #history dd {
    width: 75%;
  }
}


/* FAQ
---------------------------------------------------------------------------------------- */
/* bootstrap */
.accordion-button:focus {
  box-shadow: none !important;
}

.right-space {
  display: inline-block;
  margin-right: 1rem;
}

.accordion-item .accordion-button {
  font-weight: bold;
  font-size: 1.15rem;
  padding: 2rem 1rem;
  display: flex;
  align-items: center; /* アイコンとテキストを縦方向中央揃え */
}

.accordion-item .accordion-button .icon-question {
  display: inline-block;
  margin-right: 1rem; /* テキストとの間の余白 */
  width: 2.5rem; /* アイコンの幅 */
  height: 2.5rem; /* アイコンの高さ */
	min-width: 2.5rem; /* 幅を固定して比率を崩さない */
  min-height: 2.5rem; /* 高さを固定して比率を崩さない */
  background-color: #212529; /* 初期状態の青い背景色 */
  border-radius: 50%; /* 円形にする */
  background-image: url('./images/icon_q.svg'); /* Qアイコンを背景画像に設定 */
  background-size: 42%; /* 背景画像のサイズ */
  background-repeat: no-repeat; /* 背景画像の繰り返しを防止 */
  background-position: center; /* 背景画像を中央揃え */
  transition: background-color 0.3s ease; /* 背景色の変化をスムーズに */
	flex-shrink: 0; /* レスポンシブ時にサイズが縮まないようにする */
}

.accordion-item .accordion-button:not(.collapsed) {
  color: #000; /* 展開時のテキスト色 */
  background-color: #fafafa; /* 展開時の背景色 */
}

.accordion-item .accordion-button:not(.collapsed) .icon-question {
  background-color: #0068b2; /* 展開時のアイコン背景色 */
  background-image: url('./images/icon_q.svg'); /* 展開時の背景画像（再指定） */
  background-size: 42%; /* 背景画像のサイズ */
  background-repeat: no-repeat; /* 繰り返しを防止 */
  background-position: center; /* 中央揃え */
}

.accordion-item .accordion-button:focus {
  box-shadow: none; /* フォーカス時のデフォルトスタイルを解除 */
}

.accordion-body {
  padding: 2rem 1rem;
  position: relative; /* 親要素に相対配置を指定 */
}

.accordion-body .icon-answer {
  float: left; /* アイコンを左に配置 */
	margin-left: -3.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #e51d2d;
  border-radius: 50%;
  background-image: url('./images/icon_a.svg');
  background-size: 45%;
  background-repeat: no-repeat;
  background-position: center;

  /* アイコンを縦方向で中央揃え */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-body:after {
  content: "";
  display: table;
  clear: both; /* clearfixを適用 */
}

.accordion-body {
  margin-left: 3.5rem; /* アイコン分の余白を確保 */
}


/* Contact
---------------------------------------------------------------------------------------- */
.contact #intro-text {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.contact #main .site-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact #main .site-subtitle {
  font-size: 1.1rem;
}

/* Contact tel
----------------------------------------*/
/* Bootstrap */
.btn-close:focus {
  box-shadow: none;
}

/* Bootstrap */
.form-control:focus {
  box-shadow: none;
}

/* Bootstrap */
.form-select:focus {
  box-shadow: none;
}

/* Bootstrap */
.form-check-input:focus {
  box-shadow: none;
}

.col-form-label {
  margin-bottom: 0.35rem;
}

#contact-form {
  padding-bottom: 5rem;
}

@media (min-width: 1200px) {
  #contact-form-right {
    padding-left: 3rem;
  }
}

#contact-form .example {
  margin-top: 7px;
  color: #777;
  font-size: 14px;
  text-indent: 5px;
}

#contact-form .required {
  padding: 3px 8px 4px;
  margin: 0 10px 0 0;
  background: #ED1C24;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  position: relative;
  top: -2px;
  word-break: keep-all;
}

#contact-form .optional {
  padding: 4px 8px 4px;
  margin: 0 10px 0 0;
  background: #bababa;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  position: relative;
  top: -2px;
  word-break: keep-all;
}

#contact-form #submit-btn {
  padding: .5rem 3rem;
  margin-left: 5px;
}

#contact-form address p {
  font-size: 18px;
}

#contact-form .business-hour {
  font-size: 13px;
  margin-top: -8px;
  color: #555;
}

#agreement {
  margin: 13px 10px 0 -15px;
}

label#agreement-label {
  font-size: 16px;
  margin: 8px 0 0 0;
}

@media (min-width: 576px) {
  label#agreement-label {
    margin: 6px 0 0 0;
  }
}

#agreement-label span a {
  margin: 0 5px;
}

#contact-form .message {
  margin-bottom: 5rem;
}

@media (min-width: 992px) {
  #contact-form .message {
    margin-right: 2rem;
  }
}

#our-info-inside {
  position: -webkit-sticky;
  position: sticky;
}

#our-info .site-subtitle {
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: .5rem;
}

.our-info-img {
  margin-bottom: 5rem;
}

.our-info-img img {
  border-radius: 10px;
}

.our-info-headding {
  font-size: 1.1rem;
  margin-top: 2.5rem;
  padding-bottom: 0.2rem;
  font-weight: 500
}

#our-info .address {
  margin: 2.5rem 0 3rem;
}

#our-info ul {
  list-style: none;
  padding-left: 0;
}

#contact-form .note {
  transform: translateX(-15px);
}

.contact-greeting {
  font-size: clamp(2rem, 1.852rem + 0.74vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.wpcf7 span.wpcf7-not-valid-tip {
  color: #D90000;
  font-size: 1em;
  display: block;
}

.wpcf7 .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 8px 35px 8px 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  border-radius: 4px;
}

.wpcf7 .wpcf7-validation-errors {
  color: #555;
  background-color: #FFE100;
  border-style: none;
  text-shadow: none;
}

.wpcf7 .wpcf7-mail-sent-ok {
  color: #FFF;
  background-color: #5DAF31;
  border-style: none;
  text-shadow: none;
}

/* Bootstrap
----------------------------------------*/
#contact-form .form-select-lg {
  font-size: 1.1rem;
}

#contact-form .form-control-lg {
  font-size: 1.1rem;
}

.gmap {
  border: 3px solid #ebebeb;
}

/* Services
---------------------------------------------------------------------------------------- */
.service-item {
  margin-bottom: 3rem;
}

.service-item-thumbnail img {
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1.618 / 1;
  margin-bottom: 1rem;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (min-width: 992px) {
  .service-item-thumbnail img {
    margin-right: 2.75rem;
    margin-bottom: 0;
    width: clamp(21.875rem, 10.483rem + 23.73vw, 31.25rem);
  }
}

/* @media (min-width: 992px) {
  .service-item-thumbnail img {
    aspect-ratio: 1.618 / 1;
    margin-right: 2.75rem;
    margin-bottom: 0;
    width: clamp(21.875rem, -28.272rem + 80.88vw, 42.5rem);
  }
} */

.service-item-title {
  font-size: 1.5rem;
/*  margin-top: 1rem;*/
  margin-bottom: 1rem;
}

/* Direction
---------------------------------------------------------------------------------------- */
.direction-info {
  margin-bottom: 2rem;
}

.direction-info p {
  padding: 0;
  margin: 0;
}

.map-content {
  margin-bottom: 6rem;
}

.map-content:last-of-type {
  margin-bottom: 0;
}

.transportation-content {
  margin-bottom: 4rem;
}

.transpotation-content:last-of-type {
  margin-bottom: 0;
}

/* Pagenations
---------------------------------------------------------------------------------------- */
.post-navigation-thumbnail {
  padding: 1rem 0;
}

.post-navigation-title {
  font-size: 1rem;
}

.post-navigation-thumbnail img {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 420px;
}

/*  Pagenation Bootstrap
 * --------------------------------------- */
.pagination {
  text-align: center;
  display: block;
  clear: both;
}

.navigation {
  clear: both;
}

.navigation-wrpper {
  margin: 2rem 0 2rem;
  width: 100%;
}

.pagination .screen-reader-text, .post-navigation .screen-reader-text {
  display: none !important;
}

.pagination a {
  display: inline-block;
  padding: 5px 10px 4px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: solid 1px #ccc;
  border-radius: 5px;
  transition: background-color .3s linear;
}

.pagination a:hover {
  background-color: #eee;
}

.pagination span {
  padding: 5px 10px 4px;
  display: inline-block;
}

.pagination span.current {
  display: inline-block;
  padding: 5px 10px 4px;
  background-color: #eee;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: solid 1px #ccc;
  border-radius: 5px;
  color: #23527c;
}

.page-numbers {
  margin-bottom: 5px;
}

/* post-page-numbers */
.pagebreak-links {
  text-align: center;
  margin: 1.5rem 0;
}

/* Footer
---------------------------------------------------------------------------------------- */
#footer {
  background-color: #fafafa;
  padding-top: 4rem;
  padding-bottom: 1rem;
  /*  margin-top: 3rem;*/
  font-size: 1rem;
}

#footer a {
  color: #111;
  text-decoration: none;
}

#footer img.logo {
  max-width: 125px;
  max-height: 50px;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
}

#footer .site-title-wrapper {
  margin-bottom: 1rem;
}

#footer .site-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  margin: 0;
}

@media (min-width: 576px) {
  #footer .site-title {
    font-size: 1.3rem;
  }
}

#footer .site-subtitle {
  font-size: 12px;
  font-weight: normal;
  line-height: 1.25;
  padding-bottom: 6px;
  margin: 0;
}

#footer #phone {
  display: block;
}

@media (min-width: 768px) {
  #footer #phone {
    display: inline;
    margin-left: 1.25rem;
  }
}

#footer-nav {
  padding: 1rem 0;
  font-size: 1rem;
}

#footer #sns {
  margin: 0 0 2rem;
}

#footer #sns .list-inline-item {
  margin: 0 5px;
}

#footer-bottom {
  font-size: 14px;
}

#back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  opacity: 0;
}

#back-to-top-btn a {
  text-decoration: none;
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 50%;
  opacity: .9;
  cursor: pointer;
}

#back-to-top-btn a:hover {
  text-decoration: none;
  opacity: 1;
}

/* WordPress
---------------------------------------------------------------------------------------- */
.wp-block-separator {
  border-top: 1px solid !important;
}

.wp-block-quote {
  border-left-color: #ccc !important;
  border-left-width: 5px !important;
  border-left-style: solid !important;
  padding-left: 1.5rem !important;
}

.wp-block-table td, .wp-block-table th {
  border: 1px solid #ccc !important;
}

.wp-block-verse {
  font-size: clamp(1rem, 0.963rem + 0.19vw, 1.125rem) !important;
}