/* CSS Document @h.takahashi */

/*--------------------------------------------------
  汎用クラス
---------------------------------------------------*/
html {
  scroll-behavior: smooth;
  /* スムーススクロールを有効化 */
}

.image_opacity img:hover {
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  opacity: 0.8;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #0066cb;
}

.pc {
  display: initial !important;
}

.sp {
  display: none !important;
}

@media only screen and (max-width:768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: initial !important;
  }
}

.common_text_center {
  text-align: center;
}

@media only screen and (max-width:768px) {
  .common_text_center {
    text-align: left;
  }
}

.anchor {
  padding-top: 76px;
  margin-top: -76px;
  display: block;
}


/*--------------------------------------
  ボディーレイアウト
---------------------------------------*/
body {
  font-family: "Noto Sans JP", 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 160%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  line-height: 180%;
}

.main_bg {
  background-image: url(../image/main_bg.png);
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
}

@media only screen and (max-width:768px) {
  .main_bg {
    background-image: url(../image/main_bg_sp.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: auto;
    padding: 50px 0;
  }
}


/*--------------------------------------
  ヘッダーレイアウト
---------------------------------------*/
.header-box {
  height: 87px;
  background-color: #ffffff;
}

@media only screen and (max-width:768px) {
  .header-box {
    height: 76px;
  }

  header {
    height: 76px;
  }
}

header {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 87px;
  z-index: 100;
}

.header_menu_btn {
  /* 6つの領域を文字数に関係なく完璧に1/6ずつ（等幅）にする */
  flex: 1 1 0;
  padding: 10px 10px;
  border-right: 1px solid #999999;
  color: #0075c1;
  background-color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.header_menu_btn:first-child {
  border-left: 1px solid #999999;
}

.header_menu_btn:hover {
  color: #0079ca;
  background-color: #c0e8ed;
}

.header_menu_btn_sp {
  display: block;
  padding: 15px 10px 15px 15px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  color: #0075c1;
  background-color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  margin: 5px 5px;
}

.header_menu_btn_sp:hover {
  color: #ffffff;
  background-color: #0075c1;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: relative;
  /*ボタン内側の基点となるためrelativeを指定*/
  background: #555555;
  cursor: pointer;
  width: 50px;
  height: 55px;
  border-radius: 5px;
  left: calc(100% - 50px);
  font-family: "Noto Sans JP", 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 160%;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #ffffff;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 13px;
}

.openbtn span:nth-of-type(2) {
  top: 19px;
}

.openbtn span:nth-of-type(3) {
  top: 25px;
}

.openbtn span:nth-of-type(3)::after {
  content: "Menu";
  /*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top: 5px;
  left: -2px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.openbtn.active_bastu span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active_bastu span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active_bastu span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.openbtn.active_bastu span:nth-of-type(3)::after {
  content: "Close";
  /*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top: 3px;
  left: 8px;
}


/*--------------------------------------
  ボタンデザイン（青三角）
--------------------------------------*/
.gradient-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  /* padding を指定しても幅100%を超えないようにする */
  padding: 1.2rem 1rem;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(180deg, #0066cc 0%, #00a0b0 100%);
  position: relative;
  overflow: hidden;
  margin-top: 1.2rem;
}

/* --- 左上の三角形アクセント（疑似要素） --- */
.gradient-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #21b2da;
  /* アクセントのサイズ */
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 1;
  /* 背景とテキストの間に配置 */
}

/* --- 文字をアクセントより前面に出す --- */
.gradient-btn * {
  position: relative;
  z-index: 2;
}

/*--------------------------------------
  ボタンデザイン（google map オレンジボタン）
--------------------------------------*/
.google_orange_btn {
  display: inline-block;
  background-color: #f37623;
  border: 2px solid #f37623;
  padding: 10px 22px 11px 22px;
  border-radius: 5px;
  transition: all 0.3s;
}

.google_orange_btn:hover {
  background-color: #ff8d42;
  border: 2px solid #f37623;
}

/*--------------------------------------
  アイコンボタン
--------------------------------------*/
.btn_link_white {
  position: relative;
  margin-top: 2rem;
  padding: 20px 80px 20px 30px;
  text-decoration: none;
  color: #FFF;
  background: linear-gradient(180deg, #f6a9aa 0%, #ed5b5c 40%, #ed5b5c 80%, #f49a9b 100%);
  border-radius: 7px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
  text-align: center;
}

.btn_link_white::after {
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  top: 50%;
  right: 20px;
  margin: -11px 0 0 0;
  background-image: url(../image/icon_white_link.svg);
  background-repeat: no-repeat;
  background-size: 25px 25px;
}

.btn_link_white:hover {
  opacity: 0.9;
}

/* --- チラシボタン --- */
.btn_dl_red {
  position: relative;
  margin-top: 2rem;
  padding: 15px 80px 15px 30px;
  text-decoration: none;
  color: #ee0000;
  background: #ffffba;
  border: 1px solid #ee0000;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s;
}

.btn_dl_red::after {
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  top: 50%;
  right: 20px;
  margin: -11px 0 0 0;
  background-image: url(../image/icon_red_dl.svg);
  background-repeat: no-repeat;
  background-size: 25px 25px;
}

.btn_dl_red:hover {
  background: #ffffe0;
  border: 1px solid #990000;
}


/* --- 共通のボタン基本スタイル --- */
.btn_link_common,
.btn_dl_common {
  position: relative;
  margin-top: 0.5rem;
  padding: 15px 60px 15px 15px;
  text-decoration: none;
  color: #555555;
  background: #ffffff;
  border: 1px solid #555555;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s;
}

/* --- 共通の矢印アイコン共通設定 --- */
.btn_link_common::after,
.btn_dl_common::after {
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  top: 50%;
  right: 20px;
  margin: -11px 0 0 0;
  background-repeat: no-repeat;
  background-size: 25px 25px;
}

/* --- 共通のホバー時スタイル --- */
.btn_link_common:hover,
.btn_dl_common:hover {
  color: #ffffff;
  background: #21b2da;
  border: 1px solid #21b2da;
}

/* --- 各ボタン固有のアイコン画像指定 --- */
/* 通常時 */
.btn_link_common::after {
  background-image: url(../image/icon_gray_link.svg);
}

.btn_dl_common::after {
  background-image: url(../image/icon_gray_dl.svg);
}

/* ホバー時 */
.btn_link_common:hover::after {
  background-image: url(../image/icon_white_link.svg);
}

.btn_dl_common:hover::after {
  background-image: url(../image/icon_white_dl.svg);
}


/*--------------------------------------
  Xロゴ
---------------------------------------*/
.x_logo {
  /* ロゴと文字をインラインで横並びにする */
  display: inline-flex;
  /* 上下中央揃え */
  align-items: center;
  /* ロゴと文字の間隔 */
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.5s;
}

.x_logo::before {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url(../image/x_logo.svg);
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.btn_link_common:hover .x_logo::before {
  background-image: url(../image/x_logo_white.svg);
}


/*--------------------------------------
  吹き出しデザイン（グレー）
---------------------------------------*/
.tooltip-box {
  background-color: #909090;
  color: white;
  padding: 15px 10px 15px 10px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  position: relative;
  /* 疑似要素（三角形）の基準点にする */
}

/* --- 下部の三角形（疑似要素） --- */
.tooltip-box::after {
  /* 疑似要素必須 */
  content: '';
  /* 親要素を基準にする */
  position: absolute;
  /* 長方形の下辺から15px下に（三角形の高さ分） */
  bottom: -15px;
  /* 親要素の中央へ */
  left: 50%;
  /* 自身の幅の半分戻して完全に中央に */
  transform: translateX(-50%);

  /* --- CSSで三角形を作るテクニック --- */
  width: 0;
  height: 0;
  /* 左側を透明に */
  border-left: 15px solid transparent;
  /* 右側を透明に */
  border-right: 15px solid transparent;
  /* 上側を親要素と同じグレーに */
  border-top: 15px solid #909090;
}


/*--------------------------------------
  吹き出しデザイン（ブルー）
---------------------------------------*/
.tooltip_blue-box {
  background-color: #00a0b0;
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  position: relative;
  /* 疑似要素（三角形）の基準点にする */
}

/* --- 下部の三角形（疑似要素） --- */
.tooltip_blue-box::after {
  /* 疑似要素必須 */
  content: '';
  /* 親要素を基準にする */
  position: absolute;
  /* 長方形の下辺から15px下に（三角形の高さ分） */
  bottom: -15px;
  /* 親要素の中央へ */
  left: 50%;
  /* 自身の幅の半分戻して完全に中央に */
  transform: translateX(-50%);

  /* --- CSSで三角形を作るテクニック --- */
  width: 0;
  height: 0;
  /* 左側を透明に */
  border-left: 15px solid transparent;
  /* 右側を透明に */
  border-right: 15px solid transparent;
  /* 上側を親要素と同じグレーに */
  border-top: 15px solid #00a0b0;
}


/*--------------------------------------
  吹き出しデザイン（ブルーストライプ）
---------------------------------------*/
.patterned-bubble-header {
  position: relative;
  width: 100%;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: center;
  /* --- 複数の背景グラデーション --- */
  background:
    /* 1層目（手前）：斜めストライプのグラデーション */
    /* 45度で、白の透明度を極端に低くしたストライプを重ねる */
    repeating-linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0,
      /* 隙間の幅 */
      rgba(255, 255, 255, 0) 5px,
      rgba(255, 255, 255, 0.1) 5px,
      /* 隙間 + 線の太さ */
      rgba(255, 255, 255, 0.1) 10px),
    /* 2層目（奥）：ベースの青から水色の滑らかなグラデーション */
    /* 画像に合わせて、青(#0066cc系)から水色(#17a2b8系)へのグラデーション */
    linear-gradient(180deg, #0066cc 0%, #00a0b0 100%);
}

/* --- 下中央のツノ（三角形）を作る --- */
.patterned-bubble-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  /* --- ボーダーで三角形を作る --- */
  /* 三角形の高さ15px、底辺の幅30px (15px + 15px) */
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #00a0b0;
}


/*--------------------------------------------------
  最新のお知らせ一覧テーブル
---------------------------------------------------*/
.info_table {
  margin: 15px 0px 30px 0px;
  width: 100%;
  border-top: 1px solid #505050;
  border-left: none;
}

.info_table tr:hover td,
.info_table tr:hover th {
  background-color: #f2fcfd;
}

.info_table th {
  white-space: nowrap;
  padding: 10px 7px 10px 7px;
  border-bottom: 1px solid #505050;
  width: 1%;
  font-weight: normal;
  background-color: #ffffff;
  vertical-align: top;
  transition: 0.3s;
}

.info_table td {
  padding: 8px 7px 5px 7px;
  border-bottom: 1px solid #505050;
  border-right: none;
  background-color: #ffffff;
  transition: 0.3s;
}

.info_table a {
  display: block;
}


/*--------------------------------------
  フッダーレイアウト
---------------------------------------*/
.footer_area1 {
  background-color: #c0e8ed;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 3em;
}

.footer_area2 {
  background-color: #0075c1;
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer_area2 .footertext {
  text-align: center;
  color: #ffffff;
}


/*--------------------------------------
  タブデザイン H.takahashi
---------------------------------------*/
/* コンテナ全体のスタイル */
.tab-container {
  width: 100%;
  margin: 1.8rem auto 0px auto;
}

/* ボタン並列配置 */
.tab-buttons {
  display: flex;
  align-items: flex-end;
  /* 下揃えにする場合 */
  border-bottom: 1px solid #00a0b0;
}

/* リンクを右端に寄せる指定 */
.map-tab-link {
  margin-left: auto;
  /* 左側に自動余白を作って右端に寄せる */
  color: #ffffff;
  text-decoration: none;
}


/* タブボタンの基本設定 */
.tab-button,
.tab-button_google {
  padding: 10px 35px 8px 30px;
  border: none;
  background-color: #f1f1f1;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  border-radius: 5px 20px 0px 0px;
  border-top: 1px solid #00a0b0;
  border-left: 1px solid #00a0b0;
  border-right: 1px solid #00a0b0;
}

.tab-button:hover,
.tab-button_google:hover {
  background-color: #ddd;
}

/* 選択中のタブボタン */
.tab-button.active {
  background-color: #00a0b0;
  color: white;
  font-weight: bold;
}

/* コンテンツ非表示 */
.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #00a0b0;
  border-top: none;
}

/* 選択中のコンテンツ表示 */
.tab-content.active {
  display: block;
}


/*--------------------------------------
  トップリンク H.takahashi
---------------------------------------*/
#pageTop {
  position: fixed;
  bottom: 15px;
  right: 25px;
}

#pageTop a {
  display: block;
  z-index: 999;
  padding: 10px 5px 0px 5px;
  border-radius: 30px;
  width: 60px;
  height: 60px;
  background-color: #555555;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.8;
}

@media print {
  #pageTop {
    position: fixed;
    bottom: 0px;
    right: 0px;
  }

  #pageTop a {
    padding: 0px 0px 0px 0px;
  }
}