/* --- フォントの指定 ------------------------------ */

/* ヒラギノ角ゴ：W3 を 400 に */
@font-face {
  font-family: "HiraGoFix";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Hiragino Sans W3"), local("Hiragino Kaku Gothic ProN W3");
}

/* ヒラギノ角ゴ：W6 を 700 に */
@font-face {
  font-family: "HiraGoFix";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Hiragino Sans W6"), local("Hiragino Kaku Gothic ProN W6");
}

/* フォントをカスタムプロパティ（変数）に */
:root {
  --font-base: "HiraGoFix", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo;
  --font-accent: "Hiragino Mincho ProN", "Hiragino Mincho", "Yu Mincho", "Noto Serif JP";
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

/* ブラウザが勝手にフォントを合成して表示しない */
html {
  font-synthesis: none;
  scroll-behavior: smooth;
}

/* --- 全体にかかる設定 ------------------------------ */
body {
  font-family: var(--font-base), var(--font-emoji), sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #000;
  color: #333;
}

/* 「本文へスキップ」でスクロールしてきた際の上部の余白（固定メニューなどがある場合） */
main {
  scroll-margin-top: 100px;
}

/* 要素の上下に余白を付ける */
p,
hr,
ul,
ol,
dl,
table {
  margin-block-end: 3rem;
}

/* 見出しの上下に余白を付ける */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 2rem;
}

/* リスト項目のインデント */
ul,
ol {
  padding-inline-start: 2rem;
}

/* 定義 */
dt {
  font-weight: 700;
}

dd {
  margin-inline-start: 2rem;
}

/* 表 */
table {
  border-bottom: 1px solid #ccc;
  width: 100%;
}
table caption {
  font-weight: 600;
  text-align: left;
  padding-bottom: 0.5rem;
}

th {
  text-align: left;

  font-size: 0.9em;
}
th, td {
  vertical-align: top;
  padding: 10px 15px;
  border-top: 1px solid #ccc;
  word-break: break-all;
}

/* 強調 */
strong {
  font-weight: 700;
}

a:where(:any-link) {
  text-decoration: none;
  color: #7d5334;
}
a:where(:hover,:active) {
  color: #000;
}

/* --- コンテナ --- */
/* sp */
.container {
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  max-width: 1024px;
}

/* --- 見出し --- */

h2 {
  font-size: 2rem;
  line-height: 1.4;
  margin: 1rem 0 2rem 0;
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}
h2 small {
  font-size: 0.7em;
}
h3 {
  font-size: 1.3rem;
  margin: 2rem 0 2rem 0;
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(to right, #8c5c35, #222);
  color: #fff;
  padding: 0.6rem 1rem 0.8rem 1.2rem;
}

h4 {
  font-size: 1.2rem;
  margin: 2rem 0;
  color: #333;
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
}

.syoukai .catch {
  font-size: 1.4rem;
  margin: 3rem 0;
  color: #676e32;
	font-family: var(--font-accent);
  text-align: center;
  font-weight: bold;
}

/* --- メインコンテンツ ------------------------------ */

.main-visual-container {
  display: flex;
}

.main-visual-container .item {
  flex: 1;
  text-align: center;
  color: #eee;
  background: linear-gradient(35deg, #000 30%, #333 70%);
}

.main-visual-container .noukotsudo-item {
  background-image: url(images/noukotsudo.webp);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  transition: background-size 0.3s ease;
}
.main-visual-container .ihaido-item {
  background-image: url(images/ihaido.webp);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  transition: background-size 0.3s ease;
}

.main-visual-container .item .tit {
  padding: 5vw 0 1vw 0;
  font-size: 8vw;
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2rem;
  color: #fff;
  line-height: 1.2;
}
.main-visual-container .item small {
  font-size: 2.4vw;
  letter-spacing: 0;
}
  
.main-visual-container .item a {
  display: block;
  background-color: rgba(0, 0, 0, 0.3);
  color: #eee;
}

.main-visual-container .item .catch {
  font-size: 2.2vw;
  font-family: var(--font-accent);
}

.main-visual-container p {
  margin: 2vw 3vw 2vw 3vw;
  font-size: 1.8vw;
}

.noukotsudo-container,
.ihaido-container {
  text-align: center;
}

.ihaido-container img {
  margin-bottom: 2rem;
}

.noukotsudo-container img {
  margin-bottom: 1rem;
}

.ryoukin caption {
  font-size: 1.1rem;
}

.ryoukin tr td {
  border: 1px solid #aaa;
}

.ryoukin .ryoukin01 tr:first-child td,
.ryoukin .ryoukin01 tr:nth-child(2) td:first-child {
  background-color: #dedfee;
}

.ryoukin .ryoukin02 tr:first-child td,
.ryoukin .ryoukin02 tr:nth-child(2) td:first-child {
  background-color: #d4deb4;
}

.ryoukin .ryoukin03 tr:first-child td,
.ryoukin .ryoukin03 tr:nth-child(2) td:first-child {
  background-color: #eed5c5;
}

.syoukai {
  background-color: #fff;
  background-image: url(images/content_bg_l.webp),
  url(images/content_bg_r.webp);
  background-size: 50%;
  background-position: left top,
  right top;
  background-repeat: no-repeat;
  padding: 1rem;
  margin-top: 2rem;
}

.reisenji-container {
  margin-bottom: 2rem;
  background-color: #eee;
  padding: 1rem;
}

.reisenji-container p {
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.reisenji-container h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.googlemap {
  position: relative;
  width: 100%;
  padding-top: 45%;
  height: 0;
}

.googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  background-color: #333;
  padding: 1rem 0 2rem 0;
  margin-top: 3rem;
}

address {
  text-align: center;
  margin: 1rem;
}

address img {
  width: 200px;
  margin: 0 auto;
}

.copyright {
  margin: 0;
  color: #999;
  text-align: center;
  font-size: 0.8rem;
}

/* --- ボタン共通 ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  min-height: 48px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    color 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

/* クリックされたときのアニメーションの解除 */
.btn:active {
  transition: none;
}

/* キーボード操作用 */
.btn:focus-visible {
  outline: 3px solid #36f;
  outline-offset: 3px;
}

/* --- もっと詳しくボタン ------------------------------ */

.more-btn {
  position: relative;

  color: #fff;
  background-color: #8c5c35;
  border-color: #8c5c35;

  /* 矢印が外側にはみ出しても表示 */
  overflow: visible;
  margin-top: 1vw;
}

/* 下向きの矢印 */
.more-btn::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -6px;

  width: 12px;
  height: 12px;

  background-color: #8c5c35;

  border-right: 1px solid #8c5c35;
  border-bottom: 1px solid #8c5c35;

  transform: translateX(-50%) rotate(45deg);

  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    bottom 0.3s ease,
    width 0.3s ease,
    height 0.3s ease;
}


/* --- hover ------------------------------ */

.main-visual-container .item:hover .more-btn {
  color: #fff;
  background-color: #6e421f;
  border-color: #6e421f;
}

.main-visual-container .item:hover .more-btn::after {
  background-color: #6e421f;
  border-color: #6e421f;

  /* 矢印を伸ばす */
  bottom: -8px;
  width: 16px;
  height: 16px;
}


/* --- active ------------------------------ */

.more-btn:active {
  background-color: #6e421f;
  border-color: #6e421f;
}

.more-btn:active::after {
  background-color: #6e421f;
  border-color: #6e421f;
}

/* --- 表示・非表示 ------------------------------ */

  .disp_pc {
    display: none;
  }

@media (min-width: 768px) {
  .disp_sp {
    display: none;
  }
  .disp_pc {
    display: inline;
  }
}


/* --- メディアクエリ設定用 ------------------------------ */
/* tb */
@media (min-width: 768px) {

  /* --- 見出し --- */
  
  h2 {
    font-size: 3.4rem;
    margin: 1rem 0 4rem 0;
  }
  h2 small {
    font-size: 0.5em;
  }
  h3 {
    font-size: 1.6rem;
    margin: 2rem 0 2rem 0;
    padding: 0.6rem 1rem 0.8rem 1.2rem;
  }
  
  h4 {
    font-size: 1.3rem;
    margin: 2rem 0;
  }
  
  .main-visual-container .item .catch {
    font-size: 1.6vw;
  }
  
  .main-visual-container .item a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transition:0.5s;
  }
  
  .main-visual-container .item .tit {
    padding: 3vw 0 3rem 0;
    font-size: 6.2vw;
    letter-spacing: 1rem;
    line-height: 1.2;
    color: #fff;
  }

  .main-visual-container .item .tit small {
    font-size: 2vw;
    letter-spacing: 0;
  }
  
  .main-visual-container p {
    margin: 0 1rem 2rem 1rem;
    font-size: 1rem;
  }
  
  .ihaido-container,
  .noukotsudo-container {
    display: flex;
    gap: 30px;
    margin-bottom: 4rem;
  }
  
  .noukotsudo-container .item {
    flex: 1;
    text-align: center;
  }
  
  .noukotsudo-container img {
    margin-bottom: 1rem;
  }
  
  .syoukai {
    padding: 2rem;
    margin-top: 5rem;
  }
  
  .reisenji-container {
    display: flex;
    gap: 30px;
    margin-bottom: 2rem;
    padding: 2rem 2rem 2rem 2rem;
  }
  
  .reisenji-container p {
    font-size: 0.94rem;
    margin-bottom: 0;
  }
  
  .reisenji-container h4 {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  
  .reisenji-container .item {
    width: 60%;
  }
  .reisenji-container .photo {
    width: 40%;
  }
  
  .btn {
    padding: 18px 25px;
    font-size: 1rem;
  }
}

/* pc */
@media (min-width: 1025px) {
  .container {}

  a[href^="tel"] {
    pointer-events: none;
    color: #333;
  }
}

/* pc-l */
@media (min-width: 1440px) {
  .container {}
}
