@charset "utf-8";
/* CSS Document */

/* sub.css — 下層ページ専用カスタムスタイル */
.privacy-page-content {
  background-color: #fff;
  color: #333;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 10;
  position: relative;
}

@media screen and (max-width: 768px) {
  .privacy-page-content {
    margin: 1rem 1rem;
  }
}

.privacy-page-content h1,
.privacy-page-content h2 {
  font-weight: bold;
  margin-top: 1.5em;
}

.privacy-page-content ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.page-title {
  font-size: 20px;
  font-weight: bold;
  color: #007b43; /* 常盤色 */
  text-align: center;
  position: relative;
  margin: 0 auto 1.5em;
  display: block; /* ← ここが重要！ */
  width: fit-content; /* ← 横幅を中身に合わせて */
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: #007b43;
  border-radius: 2px;
}

/* パンくずナビ ----------------------*/
.breadcrumb {
  font-size: 12px;
  color: #fff;
  margin-bottom: 1em;
  padding: 0.5em 1em;
  background: transparent;
  z-index: 10;
  position: relative;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  margin-right: 0.5em;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 0.5em;
  color: #ccc;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #fff;
  text-decoration: underline;
}


/*-------------- ▼▼▼▼ ニュース --------------*/
.news-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5em;
  justify-content: flex-start;
}

.tab-button {
  background-color: #f0f0f0; /* 薄いグレー */
  color: #333; /* 濃いグレー文字 */
  padding: 0.5em 1.4em;
  border-radius: 9999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background-color: #e0e0e0;
  border-color: #999;
}


.news-section {
  background: none;
  padding: 0 0 2em;
  border: none;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0;
  box-shadow: none;
}

.news-section h2 {
  font-size: 16px;
  font-weight: bold;
  color: #007b43;
  padding-bottom: 0.4em;
  margin-bottom: 1em;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  padding: 0.6em 0; 
  border-bottom: 1px dashed #ddd;
}

.news-list li::before {
  content: none !important;
}


.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.news-item .date {
  font-size: 12px;
  color: #888;
  margin-right: 0.6em;
  white-space: nowrap;
}

.news-item .text {
  font-size: 15px;
  line-height: 1.5; 
  color: #222;
  margin: 0;
}

.news-more-button-wrap {
  text-align: right;
  margin-top: 1em;
}

.news-more-text {
  font-size: 14px;
  color: #007b43;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  transition: color 0.3s;
}

.news-more-text:hover {
  color: #004e2f;
}

.news-hidden {
  display: none;
}
.news-hidden.show {
  display: block;
}

/*-------------- ▼▼▼▼ プライバシーポリシー --------------*/
.privacy-page-content {
  padding: 20px;
  background-color: #fff;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

.privacy-page-content .page-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
}

.privacy-page-content h2 {
  font-size: 16px;
  margin-top: 1.5em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
}

.privacy-page-content ul {
  padding-left: 1.2em;
  margin-top: 0.5em;
}

.privacy-page-content p {
  margin-bottom: 1em;
}


/*-------------- ▼▼▼▼ サイトマップ --------------*/

.privacy-page-content ul .sublink {
  font-size: 13px;
  margin-left: 1em;
  line-height: 1.6;
}

/* サイトマップ - リスト非表示にしてカスタム記号へ */
.privacy-page-content ul {
  list-style: none;
  padding-left: 0;
}

.privacy-page-content ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.4em;
}

/* カスタムマーク（▶）を濃いグレーで表示 */
.privacy-page-content .sitemap-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #333;  /* 濃いグレー */
  font-size: 12px;
  top: 0.1em;
}

/* 下層リンク記号を小さく・色も同様に */
.privacy-page-content ul li .sublink::before {
  content: "▷";
  font-size: 10px;
  color: #333;
  top: 0.1em;
}

/* リンク色：黒寄り、かつ hover で控えめに変化 */
.privacy-page-content a {
  color: #222; /* 黒に近いグレー */
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-page-content a:hover {
  text-decoration: underline;
  color: #000; /* hover時は黒に近づける */
}





/*-------------- ▼▼▼▼ icon下部固定と画面表示調整 --------------*/

.bottom-icon-box {
  position: fixed;
  left: 0%;
right: 0%;
  width: 94%;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  box-sizing: border-box; /* ← padding込みでwidth計算 */
}

@media (min-height: 641px) {

  .phone-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 90px; /* 下部アイコンの高さ分余白 */
  }

  .bottom-icon-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 96%;
    margin: 0 auto;
    z-index: 1000;
  }
}

/* ▼ 高さが狭いとき（通常スクロール＋固定なし） */
@media (max-height: 640px) {
  .page-wrapper,
  .phone-frame {
    height: auto !important;
    overflow-y: auto !important;
    display: block !important;
  }

  .bottom-icon-box {
    position: static !important;
    margin: 16px 12px;
  }

  .phone-scroll-area {
    padding-bottom: 0 !important;
  }
}




@media screen and (min-width: 1025px) {
  html, body {
    height: auto !important;
    overflow-y: auto !important;
  }

  .page-wrapper {
    height: auto !important;
    min-height: 100vh;
    display: block !important;
    overflow: visible !important;
  }

  .phone-frame {
    height: auto !important;
overflow: hidden; 
  }

  .phone-scroll-area {
    overflow: visible !important;
	padding-bottom: 0px; /* 下部アイコンの高さ分余白 */
  }

  .bottom-icon-box {
    position: static !important;
    margin: 24px auto;
    max-width: 375px;
  }
}
