@charset "UTF-8";

html { scroll-behavior: smooth;}

:root {
  --accent_color: #d43327;
  --accent_hover_color: #c22216;
  --link_color: #1d66d1;
  --link_hover_color: #0e52b7;
  --base_color: #f5efe1;
}

/*-------------------------
  全体にかかる設定
-------------------------*/

/* 基本設定 */
html {
  font-size: 16px;
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
}

.wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* コンテナの左右の余白 */
.container {
  padding: 0 15px;
}

img {
  width: 100%;
}

h1 {
  font-size: min(5.8vw, 2.4rem);
  text-align: center;
  margin: 0 0 4rem 0;
  padding: 4rem 0;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background-image: linear-gradient(90deg, #96cdcf, #dce6c4);
}

@media (max-width: 768px) {

h1 {
  padding: 3rem 0;
}

}


h2 {
  font-size: min(4.8vw, 1.8rem);
  margin: 3rem 0;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  border-left: 10px solid var(--accent_color);
  padding: 0.2rem 0 0.2rem 1rem;
}

h3 {
  font-size: min(4vw, 1.6rem);
  font-weight: bold;
  margin: 3rem 0;
  color: #fff;
  color: #339933;
  border-bottom: 3px dotted #ccc;
  padding-bottom: 1rem;
}

table {
  margin: 0 0 1.5rem 0;
  width: 100%;
  border: 1px solid #c2c0bd;
}

th,
td {
  text-align: left;
  padding: 15px;
  vertical-align: top;
  border: 1px solid #bbb6af;
}

th {
  text-align: center;
  padding: 15px 5px;
  color: #333;
  background-color: var(--base_color);
  vertical-align: middle;
}

td {
  padding-left: 15px;
  vertical-align: middle;
}

/* スクロールする表 */
.container:has(.scroll_table) {
  width: 96vw;
}

@media (max-width: 749px) {
.scroll_table {
  overflow-x: scroll;
}

}


/* 表示・非表示 */
.disp_pc {
  display: none;
}


/*-------------------------
  ヘッダー
-------------------------*/
header {
  background-color: #fff;
  padding: 1rem;
}

.site_title {
  max-width: 180px;
}
  /* ハンバーガーボタン（右固定） */
/* ハンバーガーボタン（右固定・サイズアップ） */
.menu_btn {
  width: 40px;     /* ← 30px → 40px に拡大 */
  height: 28px;    /* ← 高さもアップ */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
}

/* 線を太く・長く */
.bar {
  height: 4px;     /* ← 3px → 4px に太く */
  background: #333;
  transition: 0.3s ease;
}

/* 変形位置調整（線が太くなった分のみ調整） */
.menu_btn.active .top {
  transform: translateY(12px) rotate(45deg); 
}

.menu_btn.active .middle {
  opacity: 0;
}

.menu_btn.active .bottom {
  transform: translateY(-12px) rotate(-45deg);
}

/* メニュー共通 */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  background: #fff;

  /* ←ここで閉じる時ゆっくり（0.5s） */
  transition: right 0.5s ease;

  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.menu ul li {
  margin: 0;
  padding: 0;
}
.menu ul li a {
  display: block;
  color: #333;
  padding: 2rem 0;
  border-bottom: 1px solid #ccc;
}
.menu ul li a:hover {
  color: var(--link_color);
}

/* --- 開いている時だけ速く（0.3s） --- */
.menu.open {
  transition: right 0.3s ease; /* 開く時：速め */
  right: 0;
}

/* スマホ：全画面 */
@media (max-width: 768px) {
  .menu {
    width: 100%;
  }
}

/* PC：画面の1/4 */
@media (min-width: 769px) {
  .menu {
    width: max(25vw, 300px);
  }
}

/* ========== オーバーレイ ========== */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.5); /* ← 暗くする度合い */
  opacity: 0;
  pointer-events: none;        /* 非表示時はクリック不可 */

  transition: opacity 0.3s ease;
  z-index: 900;
}

/* 開いたときに表示 */
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/*-------------------------
  フッター
-------------------------*/

footer {
  background-color: #fff;
  padding: 0 0 1.5rem;
  margin-top: 4rem;
}

footer a {
  color: #333 !important;
}
footer a:hover {
  color: #333 !important;
}
footer .to_top a {
 display: block;
 background-color: #666;
 text-align: center;
 padding: 0.5rem 0;
 letter-spacing: 0.08em;
 font-size: 0.9em;
 color: #fff !important;
}

address {
  text-align: center;
  color: #333;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

address img {
  width: min(60%, 200px);
  margin: 1.7rem auto 0.7rem;
}

address em {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.7rem;
}

.copyright {
  color: #666;
  margin-bottom: 0;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}



/*-------------------------
  リンク色
-------------------------*/
/* 標準 */
a {
   text-decoration: none; 
}

a:link {
  color: #36f;
}

a:visited {
  color: #69f;
}

a:hover {
  color: #f30;
}

a:active {
  color: #f30;
}

/*-------------------------
  文字
-------------------------*/

.lead {
  font-size: 1.4rem;
}

.text_center {
  text-align: center;
}

.text_right {
  text-align: right;
}

ul.cyuusyaku {
  list-style: none;
  padding-left: 1.2em;
  margin-left: 0.5em;
  font-size: 0.9rem;
}
.cyuusyaku li {
  text-indent: -1.4em;
  padding: 0;
  margin: 0;
}

.aka {
  color: #f00;
}

/*-------------------------
  ボタン
-------------------------*/

.btn {
  text-align: center;
  padding: 2rem 0 2rem 0;
}

.btn a {
  background: var(--link_color);
  border-radius: 50px;
  position: relative;
  padding: 15px 40px 15px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
}
.btn a:after {
content: "";
position: absolute;
top: 50%;
bottom: 0;
right: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
transition: right 0.3s;
width: 6px;
height: 6px;
border-top: solid 2px currentColor;
border-right: solid 2px currentColor;
transform: translateY(-50%) rotate(45deg);
}
.btn a:hover {
  background: var(--link_hover_color);
color: #FFF;
}
.btn a:hover:after {
right: 1rem;
}

.back_btn {
  text-align: center;
  padding: 2rem 0 2rem 0;
}

.back_btn a {
  position: relative;
  padding: 15px 25px 15px 40px;
  color: var(--link_color);
  border: 1px solid var(--link_color);
  background-color: #fff;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
}
.back_btn a:after {
content: "";
position: absolute;
top: 50%;
bottom: 0;
left: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
transition: left 0.3s;
width: 6px;
height: 6px;
border-bottom: solid 2px currentColor;
border-left: solid 2px currentColor;
transform: translateY(-50%) rotate(45deg);
}
.back_btn a:hover {
background: var(--link_hover_color);
color: #FFF;
}
.back_btn a:hover:after {
left: 1.2rem;
}

/*-------------------------
  お知らせ
-------------------------*/

.news_container {
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.news_container .date {
  color: #999;
  font-size: 0.9rem;
}

.news_container a {
  color: #333;
}

.news_container a:hover {
  color: #666;
}

@media (min-width: 600px) {
.news_container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.news_container:first-child {
  margin-top: 3rem;
}
}

/*-------------------------
  内部ページ
-------------------------*/

/* 事業所・公共向けサービス */

.service_container h3 span {
  font-size: 80%;
}

/* 会社案内 */

.map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9のアスペクト比 */
  height: 0;
}

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

.daihyou {
  font-size: 1.4em;
  font-family: serif;
  font-weight: 600;
}

@media (min-width: 600px) {
  .ippan_container .bunkatsu {
    display: grid;
    gap: 30px;
    grid-template-columns: 30% auto;
  }
  .ippan_container .bunkatsu div:first-child {
    order: 2;
  }
  .ippan_container .bunkatsu div:last-child {
    order: 1;
  }

}

/* 一般ご家庭向けメニュー */

.price {
  font-weight: bold;
  text-align: center;
  font-size: 1.05rem;
}

td.price {
  font-size: 1rem;
  font-weight: normal;
}

.price span {
  font-size: 1.3em;
}

td.price span {
  font-size: 1.2em;
}

.ippan_container table th,
.ippan_container table td {
  vertical-align: middle;
}

.ippan_container table ul {
  margin: 0 0 0 1rem;
  padding: 0;
}

.ippan_container table ul li {
  margin: 0;
  padding: 0;
}

/* お問い合わせ */

.contact_container .tel {
  padding: 2rem;
  background-color: var(--base_color);
  text-align: center;
  font-size: 2rem;
}

.contact_container .mail_addess {
  padding: 2rem;
  background-color: var(--base_color);
  text-align: center;
  font-size: 1.4rem;
}

/*-------------------------
  メディアクエリ
-------------------------*/
/* スマートフォン */
@media (max-width: 599px) {
  .container {
    padding: 0 15px;
  }
}

/* タブレット */
@media (min-width: 600px) {
  .container {
    padding: 0 15px;
  }

  header {
    display: flex;
    align-items: center;
    }
    header .main_menu {
      padding-bottom: 0;
    }


@media (min-width: 768px) {

  /* 表示・非表示 */
  .disp_pc {
    display: block;
  }
  
  .disp_sp {
    display: none;
  }
}


/*-------------------------
  全体にかかる設定
-------------------------*/

h1 {
  margin: 0 0 7rem 0;
}

/*-------------------------
  フッター
-------------------------*/

footer {
  margin-top: 7rem;
}

/* 一般ご家庭向けメニュー */

.price {
  padding-left: 1rem;
  text-align: left;
}
td.price {
  text-align: center;
  font-size: 0.9rem;
}
}

@media (min-width: 750px) {

address img {
  margin: 1.7rem auto 0.7rem 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
}

address {
  text-align: left;
}

.copyright {
  align-self: flex-end;
}


}

/* パソコン */
@media (min-width: 1025px) {
  .container:has(.scroll_table),
  .container {
    width: 1025px;
    margin: 0 auto;
  }

}
