@charset "UTF-8";

/* =========================================================
   スクロールフェードイン
   ========================================================= */
.fadein {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================================================
   Variables (変数定義)
   ========================================================= */
:root {
  /* Colors */
  --main-color: #0061ae;
  --sub-color: #0388d6; /* sab_color から修正 */
  --text-color: #333333;
  --bg-color: #ffffff;
  --bg-gray: #fafafa;

  /* Spacing */
  --margin-01: 20px; /* 値が不明だったため仮置き、適宜調整してください */
  --sec-margin: 60px; /* 値が不明だったため仮置き */
  --block-margin: 40px; /* 値が不明だったため仮置き */
}

/* =========================================================
   Base (基本設定)
   ========================================================= */
*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  /* font-family:
    "Noto Serif JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "BIZ UDPGothic", Meiryo, sans-serif; */
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

p {
  letter-spacing: 0.08em;
  line-height: 1.75;
}

/* PCサイズでのフォント調整 */
@media screen and (min-width: 768px) {
  body,
  p {
    font-size: 16px;
  }
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

dt {
  font-weight: lighter;
}

a {
  /* color: #007bff; */
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
  /* color: #007bff; */
}

/* =========================================================
   Layout & Utilities (レイアウト・汎用クラス)
   ========================================================= */
.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.bg_gray {
  background-color: var(--bg-gray);
}

/* 表示切り替え (Display Utilities) */
.sp_only {
  display: block;
}
.pc_only {
  display: none;
}
.tb_only {
  display: none;
}

@media screen and (min-width: 768px) {
  .sp_only {
    display: none;
  }
  .pc_only {
    display: block;
  }
}

/* 必要に応じて残す、または整理推奨 */
@media screen and (min-width: 391px) {
  .sp_only {
    display: none;
  }
}
@media (max-width: 391px), (min-width: 1024px) {
  .tb_only {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .sptb_only {
    display: none;
  }
}
@media screen and (max-width: 390px) {
  .tbpc_only {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .pc_only {
    display: none;
  }
}

/* マージンユーティリティ */
.list-item_gap:not(:last-child) {
  margin-bottom: 0.8rem;
}
.list-item_gap_02:not(:last-child) {
  margin-bottom: 3.3rem;
}
.item_gap:not(:last-child) {
  margin-bottom: var(--margin-01);
}
.block_gap:not(:last-child) {
  margin-bottom: 7.5rem;
}
.block-gap:not(:last-child) {
  margin-bottom: var(--block-margin);
}
.section-gap {
  margin-bottom: var(--sec-margin);
}

/* セクションタイトル */
.sec_ttl {
  align-items: flex-start;
  border-bottom: 1px solid var(--main-color);
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  width: 100%;
}

.sec_ttl p {
  font-size: 32px;
}
.sec_ttl small {
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .sec_ttl {
    display: inline-block;
    font-size: 28px;
    line-height: 1.5;
    margin: 0 auto 50px;
    position: relative;
    text-align: left;
  }
}

.sec_ttl-2 {
  border-bottom: 1px solid #fff;
  display: inline-block;
  font-size: 32px;
  line-height: 0.75;
  padding-bottom: 20px;
  text-align: left;
  width: 100%;
}

/* 共通ボタン */
.sec_btn {
  background-color: var(--main-color);
  border-radius: 40px;
  color: #fff;
  display: block;
  margin: 0 auto;
  padding: 20px 40px;
  transition: opacity 0.3s;
}
.sec_btn:hover {
  opacity: 0.7;
}

/* タグ */
.tug {
  background-color: var(--main-color);
  color: #fff;
  border-radius: 20px;
  display: inline-block;
  font-size: 12px;
  /* height: 20px; */
  margin-bottom: 5px;
  padding: 3px 15px 4px;
  vertical-align: middle;
  width: auto;
}

/* =========================================================
   Header (ヘッダー)
   ========================================================= */
#header {
  background-color: #fff;
  color: #333;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  transition: background-color 0.3s ease;
  width: 100%;
  z-index: 995;
}

.header_inner {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: auto;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}

.header_logo img {
  height: 40px;
  width: auto;
}

/* Header Navigation (PC) */
.nav ul {
  align-items: center;
  display: flex;
  gap: 33px;
  justify-content: space-between;
}

.nav li {
  font-size: 16px;
}

.nav a {
  position: relative;
}
.nav a::after {
  background: #fff;
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
  width: 100%;
}
.nav a:hover::after {
  transform: scale(1, 1);
}

/* Header Button */
.blue_btn a {
  background-color: var(--main-color);
  border-radius: 30px;
  color: #fff;
  display: inline-block;
  padding: 15px 30px;
  text-align: center;
}

/* Hamburger Menu Icon */
.hamburger {
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 24px;
  justify-content: center;
  width: 30px;
}

.hamburger span {
  background-color: #333;
  border-radius: 2px;
  display: block;
  height: 3px;
  transition: all 0.3s; /* アニメーション追加 */
}

/* Header (SP/Tablet) */
@media screen and (max-width: 1024px) {
  #header {
    padding: 15px 24px;
  }
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* =========================================================
   SP Header (スマホ用メニュー)
   ========================================================= */
#sp_header {
  background-color: var(--sub-color);
  color: #fff;
  display: flex; /* noneから変更: JSで制御か、cssでrightで隠す前提 */
  flex-direction: column;
  height: 100%;
  max-width: 350px;
  padding: 25px 20px;
  position: fixed;
  right: -100%;
  top: 0;
  transition: right 0.3s ease;
  width: 80%;
  z-index: 999;
}

#sp_header.active {
  right: 0;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  inset: 0;
  position: fixed;
  z-index: 998;
}
.overlay.active {
  display: block;
}

/* SP Header Styles */
@media screen and (max-width: 1024px) {
  .sp_header_top {
    display: flex;
    justify-content: flex-end;
    padding: 25px 20px;
  }

  /* ハンバーガーメニューのアニメーション */
  #sp_header .hamburger {
    margin-left: auto;
  }
  #sp_header .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #sp_header .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  #sp_header .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* SP Navigation List */
  .sp_nav ul,
  #sp_header ul {
    display: flex;
    flex-direction: column;
    gap: 45px;
    list-style-type: none;
    margin: 40px 0 30px;
    padding: 0;
  }

  .sp_nav li,
  #sp_header li {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }

  #sp_header li a {
    display: block;
    text-decoration: none;
  }
}

/* =========================================================
   Sub Top (下層ページヒーローエリア)
   ========================================================= */
.sub_top_innner {
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../img/copy_buhin.webp) no-repeat center/cover;
  color: white;
  display: flex;
  height: calc(270px + 50px);
  justify-content: center;
  margin-top: 72px;
  position: relative;
  text-align: center;
}

.sub_top_innner_text {
  /* タイポ修正 */
  color: #ffffff;
  font-size: 38px;
  letter-spacing: 0.2em;
  position: absolute;
  text-shadow: 0px 0px 7px #000000;
}
.sub_top_innner_text p {
  font-size: 32px;
}

/* Breadcrumb */
#breadcrumb {
  background-color: white;
  display: flex;
  height: auto;
  justify-content: center;
  width: 100%;
}
.breadcrumb_inner {
  font-size: 11px;
  max-width: 1024px;
  padding: 10px 40px;
  width: 100%;
}

/* Sub Contents Headings */
.sub_cont-h2 {
  background: linear-gradient(
    90deg,
    var(--main-color),
    60.17%,
    rgba(200, 180, 136, 0) 100%
  );
  color: white;
  font-size: 28px;
  margin-bottom: 50px;
  max-width: 1024px;
  padding: 15px 20px;
  width: 100%;
}

.sub_cont-h3 {
  border-bottom: solid 1px #333;
  font-size: 28px;
  max-width: 1024px;
  padding-bottom: 20px;
  width: 100%;
}

.sub_cont-h4 {
  border-bottom: solid 1px #333;
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  width: 100%;
}

/* =========================================================
   Footer (フッター)
   ========================================================= */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* Contact Section in Footer */
.sec_contact {
  align-items: center;
  /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/デザイン/DSC04172.jpg); */
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/contact_bg.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 40px;
  width: 100%;
}

.sec_contact_ttl {
  color: #fff;
  font-size: 28px;
  margin-bottom: 35px;
}

.sec_contact_cont {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  width: 100%;
}

.sec_contact_btn {
  align-items: center;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 20px;
  height: 100px;
  justify-content: center;
  transition: 0.3s;
  width: 320px;
}

.sec_contact_btn:hover {
  background-color: #fff;
  color: #333;
  text-decoration: none;
}

.dotted-line {
  border-left: 2px dotted #fff;
  height: 150px;
  width: 1px;
}

@media screen and (max-width: 768px) {
  .sec_contact {
    padding: 100px 24px;
  }
  .sec_contact_ttl {
    font-size: 7.467vw;
  }
  .sec_contact_cont {
    flex-direction: column;
  }
  .sec_contact_btn {
    width: 100%;
  }

  .dotted-line {
    border-bottom: 2px dotted #fff;
    border-left: none;
    height: 1px;
    width: 90%;
  }
}

/* Footer Navigation */
.footer_nav {
  background-color: #fff;
  height: 60px;
  padding: 20px 40px;
}
.footer_nav .nav-cont {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.footer_nav .nav-item:not(:first-child) {
  padding-left: 40px;
}
.footer_nav .nav-item:not(:last-child) {
  border-right: 1px solid #333;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .footer_nav {
    background-color: transparent;
    height: 40px;
  }
  .footer_nav .nav-cont {
    display: none;
  }
}

/* Footer Block (About/Map) */
.footer_block01 {
  align-items: center;
  background-color: var(--sub-color);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  padding: 65px 40px 40px;
  width: 100%;
}

.footer_block01_cont {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
}

.footer_cont_about_ttl {
  font-size: 34px;
  margin-bottom: 15px;
}

.footer_cont li:not(:last-child) {
  margin-bottom: 10px;
}

.footer_cont_about ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.footer_cont_about li {
  font-size: 16px;
}

.footer_cont_about_achi {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  width: auto;
}
.footer_cont_about_achi div {
  align-items: center;
  background-color: #f5f5f5;
  display: flex;
  height: 100px;
  justify-content: space-between;
  overflow: hidden;
  width: auto;
}
.footer_cont_about_achi div img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.google-map {
  height: 250px;
  max-width: 400px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .footer_inner {
    /* HTML構造に依存、確認が必要 */
    flex-direction: column;
    padding: 35px 12px;
  }

  .footer_block01_cont {
    flex-direction: column;
    gap: 50px;
  }

  .footer_cont_ttl {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .footer_cont_about {
    align-items: center;
    border-bottom: 1px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 30px;
    width: 100%;
  }
  .footer_cont01_about li {
    font-size: 15px;
  }

  .google-map {
    max-width: 600px;
  }
  .footer_cont_about_achi {
    flex-direction: row;
  }
}

/* =========================================================
   Print (印刷用設定)
   ========================================================= */
@media print {
  #header,
  #sp_header,
  .overlay {
    display: none !important;
  }
  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
