@charset "UTF-8";
/* CSS Document */
/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #333;
}
p {
  font: 18px/1.9;
}
/* ヘッター */
/* 画像を囲む親要素のスタイル */
.top-header {
  display: flex;
  justify-content: center; /* 左右センター配置 */
  align-items: flex-start; /* 一番トップ（上詰め）配置 */
  width: 100%;
}
/* 画像自体のサイズ調整（必要に応じて変更してください） */
.top-header img {
  max-width: 100%;
  height: auto;
  display: block; /* 画像下の不要な隙間を消す */
}
/* Main Content Wrapper */
.inner {
  width: 100%;
  max-width: 900px; /* コンテンツ幅を900pxに制限 */
  margin: 0 auto;
  padding: 40px 0px;
}
/* Main Content Wrapper 
    .works-container {
        width: 100%;
        max-width: 900px; /* コンテンツ幅：900px 
        margin: 0 auto;
        padding: 60px 20px;
    }*/
/* White Box Layout with Shadow */
.works-card {
  background: #fff; /* 白枠 */
  margin-bottom: 60px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .works-card {
    background: #fff; /* 白枠 */
    margin: 0 2em 60px 2em;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }
}
/* Sections General */
section {
  background: #fff;
  padding: 2em;
  margin-bottom: 60px;
  /*border-radius: 8px;
        padding: 40px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);*/
}
h2 {
  font-size: 30px;
  text-align: center;
  padding-left: 1em;
  margin-bottom: 2em;
}
p {
  margin-bottom: 15px;
}
/* Section 2: Sub-headings */
.sub-section {
  margin-top: 25px;
}
h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #34495e;
}
h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #34495e;
}
/* Section 3: Custom Layouts */
.strip-heading {
  background-color: #00aacc; /* 帯見出し */
  color: #fff;
  padding: 7px 15px;
  font-size: 18px;
  margin: 25px 0 15px 0;
  border-radius: 4px;
}
.table-img {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2em 0;
}
/*センターオブジェクト*/
.table-img img {
  max-width: 100%; /* はみ出し防止 */
  height: auto;
}
.boxed-text {
  border: 1px solid #666; /* 囲みテキスト */
  padding: 20px;
  margin: 30px 0;
  border-radius: 6px;
  font-size: 0.9rem;
}
.flex-container {
  display: flex; /* flexで左右並び */
  gap: 30px;
  margin-top: 20px;
}
.flex-left {
  flex: 1;
}
.flex-right {
  flex: 1;
}
/*表組*/
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  border-right: none !important;
  border-left: none !important;
}
th {
  background-color: #f2f2f2;
}
/* フッター*/
footer {
  color: #666;
  text-align: center;
  height: 240px;
  font-size: 12px;
  margin-top: auto;
  width: 100%;
}
.service-footer {
  background: url("../images/foot_works.png");
  background-repeat: no-repeat;
  background-position: bottom center;
}
.works-footer {
  background: url("../images/foot_works.png");
  background-repeat: no-repeat;
  background-position: bottom center;
}
/* ===========================

    　　　　　個別設定

=========================== */

/* 初期状態：透明で、少し下に下げておく */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* JSでこのクラスがついたら、不透明にして元の位置に戻す */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cen_obj {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 3em;
}
/*センターオブジェクト*/
.cen_obj img {
  max-width: 100%; /* はみ出し防止 */
  height: auto;
}
.bg1 {
  background-color: #fff9eb; /* ページ全体の背景：ベージュ */
}
.dot {
  color: #337C03;
  font-size: 0.8rem;
}
/* パソコンで見たときは"pc" */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
/* スマートフォンで見たときは"sp" */
@media only screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
/* ===========================

    　ボタンのスタイル

=========================== */
.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 24px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 50vh; /* 左右を丸く */
  color: #000;
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* view moreボタン */
.view-more-btn::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 3.5px 0 3.5px 6px;
  border-color: transparent transparent transparent #000;
  transition: border-color 0.3s ease;
}
/* ホバー時の反転スタイル */
.view-more-btn:hover {
  background-color: #000;
  color: #fff;
}
/* ホバー時に三角の色も白に反転 */
.view-more-btn:hover::after {
  border-color: transparent transparent transparent #fff;
}
/* 大きなボタン */
.btn-container {
  text-align: center;
  margin: 50px 0;
}
/* ボタンの基本スタイル */
.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* 文字と矢印の間隔 */
  width: 540px;
  max-width: 90%;
  height: 90px;
  box-sizing: border-box;
  border: 2px solid #000;
  border-radius: 50vh; /* 左右を丸く */
  color: #000;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* 戻るボタン */
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* 文字と矢印の間隔 */
  width: 250px;
  height: 54px;
  box-sizing: border-box;
  /*border: 2px solid #000;*/
  border-radius: 1vh; /* 左右を丸く */
  color: #FFF;
  background-color: #FFA2A3;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* SVGアイコンのスタイル */
.detail-btn .arrow-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #000; /* 矢印の線の色 */
  stroke-width: 2.5; /* 矢印の線の太さ */
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

/* 戻るボタンのSVGアイコンのスタイル */
.back-btn .arrow-icon {
  width: 18px;
  height: 18px;
  filter: invert(100%); /*矢印の色を反転（白に） */
  transition: stroke 0.3s ease, transform 0.3s ease;
}

/* ホバー時の反転スタイル */
.detail-btn:hover {
  background-color: #000;
  color: #fff;
}

.back-btn:hover {
  background-color: #00A402;
  color: #fff;
  text-decoration: none;/*下線なし*/
}

/* ホバー時のアイコン制御 */
.detail-btn:hover .arrow-icon {
  /* stroke: #fff;       矢印の色を白に反転 */
  filter: invert(100%); /*矢印の色を反転 */
  transform: translateX(6px); /* 右に6pxスライド */
}

/* ホバー時のアイコン制御 */
.back-btn:hover .arrow-icon {
  /* stroke: #fff;       矢印の色を白に反転 */
  filter: invert(100%); /*矢印の色を反転 */
  transform: translateX(6px); /* 右に6pxスライド */
}


/* ===================

WORKS ギャラリー

 =================== */

/* 上下に罫線*/
.works-title {
  font-size: 18px;
  font-weight: 500; /* 中太 */
  text-align: center;
  padding: 15px 0;
  margin-bottom: 30px;
  border-top: 1px solid #333; /* 上の罫線 */
  border-bottom: 1px solid #333; /* 下の罫線 */
  color: #2c2c2c;
  letter-spacing: 0.05em;
}
/* Gallery Grid System */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* 画像同士の均等な隙間 */
  margin-bottom: 20px;
}
.img-large {
  grid-column: span 3; /* 大画像は3列分*/
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 4px;
  padding: 2em;
}
.img-small-thumb {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形に固定 */
  object-fit: contain;
  border-radius: 4px;
  padding: 1em;
  border: 1px solid #333;
}
/* 説明文（2行程度） */
.desc {
  font-size: 15px;
  font-weight: 400; /* 通常 */
  color: #555;
  margin-top: 15px;
}


/* ==========================================================================
       4. Media Queries (レスポンシブの設定)
       ========================================================================== */
/* 1つ目のレスポンシブブレイクポイント */
@media (max-width: 768px) {
  body {
    font-size: 0.86rem;
  }
  .flex-container {
    flex-direction: column; /* スマホでは縦並び */
  }
  .container {
    padding: 30px 15px;
  }
  .card {
    padding: 20px;
    margin-bottom: 40px;
  }
  .gallery-container {
    gap: 10px;
  }
  */上下に罫線*/ .works-title {
    font-size: 18px;
    font-weight: 500; /* 中太 */
    text-align: center;
    padding: 0;
    margin-bottom: 30px;
    border-top: 1px solid #333; /* 上の罫線 */
    border-bottom: 1px solid #333; /* 下の罫線 */
    color: #2c2c2c;
  }
  .img-large {
    grid-column: span 3; /* 大画像は3列分*/
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 4px;
    padding: 0em;
  }
  .img-small-thumb {
    padding: 0.7em;
  }
  /* Gallery Grid System */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px; /* 画像同士の均等な隙間 */
    margin-bottom: 20px;
  }
  /* 説明文（2行程度） */
  .desc {
    font-size: 16px;
    font-weight: 400; /* 通常 */
    color: #555;
    margin-top: 15px;
  }
}