@charset "UTF-8";

/* 基本スタイル */
body,
h1,
h2,
h3,
h4,
ul,
p,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  background-color: #fff;
}

html {
  scroll-behavior: smooth;
}

/* 2. ボタンを右下に固定するスタイル */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #333;
  /* ボタンの色 */
  border-radius: 50%;
  /* 丸いボタンにする */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  /* 他の要素より上に表示 */
  transition: opacity 0.3s;
}

/* 3. ボタンの中の矢印（CSSで描画） */
.arrow {
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
  /* 45度回転させて「上向き」にする */
  margin-top: 5px;
}

/* ホバー時の演出 */
.back-to-top:hover {
  opacity: 0.7;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.indent {
  padding-left: 1em;
}

/* ヘッダー */
.header {
  background-color: #002776;
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.logo a,
.nav-menu a {
  color: #FFFFFF;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu a {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 10px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #a0c4ff;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}

.nav-menu a:hover {
  color: #a0c4ff;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-menu div {
  width: 25px;
  height: 3px;
  background-color: #FFFFFF;
  margin: 5px 0;
}

/* フッター */
.footer {
  background-color: #333;
  color: #fff;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* 3列レイアウト */
  gap: 40px;
  /* 列間の隙間 */
  padding-bottom: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #555;
}

.footer-left .company-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-banner {
  display: inline-block;
  background-color: #002776;
  color: #fff;
  padding: 15px 60px;
  border: 1px solid #fff;
  /* border-radius: 5px; */
  text-align: center;
  transition: all 0.3s ease;
}

.contact-banner:hover {
  background-color: #fff;
  color: #002776;
}

.contact-banner span {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
}

.contact-banner small {
  font-size: 0.7rem;
}

.footer-telfax {
  font-size: 2rem;
  color: #ccc;
  line-height: 1.5;
}

.footer-center small {
  font-size: 0.7rem;
}

.footer-right {
  font-size: 0.8rem;
}

.footer-right ul {
  list-style: none;
  display: inline-grid;
  column-gap: 8em;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  list-style-type: square;
}

.footer-right li {
  margin-bottom: 10px;
}

.footer-right a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
}

/* トップへ戻るボタン */
.scroll-top-btn {
  display: none;
  /* 初期状態は非表示 */
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #002776;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.scroll-top-btn:hover {
  opacity: 1;
}

/* ボタン内の矢印アイコン */
.scroll-top-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: translate(-50%, -25%) rotate(45deg);
}

/* スライドショー */
.slideshow {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  animation: slide 15s infinite;
}

.slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow img:nth-child(2) {
  animation-delay: 5s;
}

.slideshow img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slide {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  43% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* トップ リードセクション */
.features {
  padding: 60px 0;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.feature-item {
  flex-basis: 30%;
  text-align: left;
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

/* トップ 製品案内セクション */
.products-section {
  background-color: #f0e68c;
  padding: 60px 0;
  text-align: center;
}

.products-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.product-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

.product-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #002776;
}

.product-item p {
  font-size: 0.9rem;
  color: #555;
}

/* ページタイトル */
.page_head {
  height: 240px;
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.head-bg-text {
  font-family: 'Pinyon Script', cursive;
  font-size: 12.0rem;
  color: #CCD3E3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.head-title-container {
  display: flex;
  align-items: center;
  z-index: 2;
}

.head-line {
  width: 1000px;
  height: 3px;
  background-color: #764F00;
  margin: 0 10px;
}

.head-title {
  font-size: 2.5rem;
  color: #002776;
  margin: 0;
  white-space: nowrap;
}

/* ページセクション */
.page-section {
  padding: 40px 0;
}

/* セクションタイトル */
.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;

  div.st-title {
    overflow: hidden;
    height: 120px;
    width: 80%;
  }

  h2 {
    position: relative;
    padding: 20px 40px;
    margin: 0;
    text-align: center;
    border-top: 1px solid #001746;
    border-left: 1px solid #001746;
    border-right: 1px solid #001746;
    letter-spacing: 0.25em;

    &,
    .small {
      display: block;
      color: #001746;
    }

    .small {
      position: absolute;
      top: 100%;
      right: 20px;
      padding: 0 20px;
      transform: translate(0, -50%);
      font-family: 'Pinyon Script', cursive;
      letter-spacing: normal;

      &:before,
      &:after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 1000%;
        height: 1px;
        background-color: #001746;
      }

      &:before {
        right: 100%;
      }

      &:after {
        left: 100%;
      }
    }
  }
}

/* 経営理念 */
.philosophy-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  text-align: center;
}

.philosophy-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-left: 8px solid #001746;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.philosophy-item p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* 会社概要 */
.overview-section {
  background-color: #f4f7f9;
}

.overview-table {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 2px solid #001746;
  border-bottom: 2px solid #001746;
  width: 80%;
  margin: 0 auto;
}

.overview-table dt,
.overview-table dd {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.overview-table dt {
  background-color: #f0f0f0;
  font-weight: bold;
}

.overview-table dd {
  background-color: #fff;
}

/* 沿革 */
.history-table {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 2px dotted #CCD3E3;
  width: 80%;
  margin: 0 auto;
}

.history-table dt,
.history-table dd {
  padding: 20px;
  border-bottom: 2px dotted #CCD3E3;
}

.history-table dt {
  background-color: #f0f0f0;
}

.history-table dd {
  background-color: #fff;
}

/* Google Mapセクション */
.map-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.map-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.map-container {
  width: 100%;
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 製品紹介 */

.p-title h2 {
  --bg-color: #333333;
  /* 見出しの基調色 */
  background: var(--bg-color);
  /* 背景色 */
  color: #fff;
  /* 文字色 */
  padding: .5em 1em;
  /* 内側余白 */
  margin: 20px 0 3px 0;
  /* 影用スペース */
  border-top: 1px solid currentColor;
  /* 上の区切り線 */
  border-bottom: 1px solid currentColor;
  /* 下の区切り線 */
  box-shadow: 0 3px var(--bg-color), 0 -3px var(--bg-color);
  /* 外側拡張 */
}

/* 4列のグリッド */
.p-gallery {
  display: grid;
  /* 1対1対1の比率で4列に並べる */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  /* 写真同士の間隔 */
  margin-top: 10px;
  margin-bottom: 10px;
}

.p-item {
  text-align: center;
}

.p-item img {
  width: 100%;
  height: auto;
}

.p-item h3 {
  padding: 2px;
  border-top: 2px solid #666;
  border-bottom: 2px solid #666;
  background-image:
    linear-gradient(45deg, transparent 15px, #fff 16px calc(100% - 16px), transparent calc(100% - 15px)),
    repeating-linear-gradient(#fff, 2px, #666 2px 4px);
  color: #333;
  font-size: 1rem;
  /* font-weight: bold;*/
  margin-bottom: 5px;
}

/* 設備情報 */
.e-main {
  padding-top: 50px;
}

.e-flex {
  display: flex;
}

/* 2列のグリッド */
.e-menu {
  display: grid;
  /* 1対1対1の比率で4列に並べる */
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  /* 写真同士の間隔 */
  margin-top: 50px;
  margin-bottom: 10px;
}

/* 5列のグリッド */
.e-gallery {
  display: grid;
  /* 1対1対1の比率で4列に並べる */
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  /* 写真同士の間隔 */
  margin-top: 10px;
  margin-bottom: 10px;
}

.e-item img {
  width: 100%;
  height: auto;
}

.e-item h3 {
  padding: 2px;
  color: #333;
  font-size: 0.8rem;
}

.e-item {
  text-align: center;
}

.e-btn a {
  background: #002776;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 280px;
  padding: 10px 25px;
  color: #ffff;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
  /* 下線を消す場合 */
}

.e-btn a:hover {
  background: #4a90e2;
  color: #FFF;
}



/* 下向き矢印 */
.e-btn a:before {
  content: '';
  position: absolute;
  top: 48%;
  /* 矢印の位置微調整 */
  right: 22px;
  /* 丸の中央に来るよう調整 */
  transform: translateY(-50%) rotate(135deg);
  /* 下向き */
  width: 5px;
  height: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  z-index: 1;
  transition: 0.3s ease-in-out;
}

/* ホバー時の色反転 */
.e-btn a:hover:after {
  background: #FFF;
}

.e-btn a:hover:before {
  border-color: #FFF;
}


.e-table {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-top: 1px solid #002776;
  border-bottom: 1px solid #002776;
  width: 100%;
  margin: 0 auto;
}

.e-table dt,
.e-table dd {
  padding: 20px;
  border-bottom: 1px solid #002776;
}

.e-table dt {
  background-color: #f0f0f0;
  font-weight: bold;
}

.e-table dd {
  background-color: #fff;
}


.e-table dd ul {
  margin-bottom: 0;
  list-style: square outside none;
  margin-left: 1.3em;
}

/* アプリケーター */
.a-tab {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 10px;
  color: #002776;
}

.a-tab li {
  display: flex;
  align-items: center;
  border: 1px solid #002776;
  padding: 0.5rem 1rem;
  width: auto;
  background-color: #eee;
}

.a-tab li::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 0.5rem;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #002776;
}

.a-table {
  padding-top: 90px;
}

.a-maker {
  font-size: 1.5rem;
  text-align: center;
  background-color: #4a90e2;
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 5px;
}

.a-table ul {
  padding: 0;
  list-style: none;
}

/* 共通の列設定 */
.col {
  flex-basis: 33.33%;
  padding: 15px;
  display: flex;
  align-items: center;
}

/* 行の基本スタイル */
.table-header,
.table-row {
  display: flex;
  justify-content: space-between;
}

/* ヘッダーのデザイン */
.table-header {
  background-color: #eee;
  color: #333;
  letter-spacing: 0.05em;
}

/* データ行のデザイン */
.table-row {
  background-color: #ffffff;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}

/* 採用情報 */
/* 2列のグリッド */
.r-cach {
  display: grid;
  /* 1対1対1の比率で4列に並べる */
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  /* 写真同士の間隔 */
  /* margin-top: 30px; */
  margin-bottom: 30px;
}

.r-item {
  text-align: left;
}

.r-item img {
  width: 100%;
  height: auto;
}

.r-item p {
  padding-top: 50px;
}

.r_tel {
  text-align: center;
  font-size: 120%;
  color: #002776;
  font-weight: bold;
}

/* お問合せ */
#formWrap {
  width: 80%;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 100%;
  margin-bottom: 20px;
}

.c_size {
  width: 100%;
}

.c_size_s {
  width: 85%;
}

.c_privacy {
  text-align: center;
  margin: 10px;
  font-weight: bold;
}


.c_privacy a {
  text-decoration: underline;
}

.c_privacy p {
  margin-top: 10px;
}

#formWrap textarea {
  resize: none;
  width: 100%;
}

#formWrap .formTable {
  margin-bottom: 10px;
}

#formWrap .s_red {
  color: crimson;
  font-size: 80%;
}

#formWrap p {
  margin-bottom: 10px;
}

#formWrap dl {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  border-top: 1px solid #ccc;
}

#formWrap dt {
  flex-basis: 30%;
  padding: 20px;
  background-color: #f1f1f1;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

#formWrap dd {
  flex-basis: 70%;
  padding: 20px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

#formWrap .chk_submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

#formWrap .sub_mit {
  text-align: center;
  margin-top: 20px;
}

#formWrap .sub_mit input {
  margin-left: 10px;
  margin-right: 10px;
}

#submit_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  /* カーソルを禁止マークにする（任意） */
}

/* 有効な時のスタイル（通常） */
#submit_btn {
  opacity: 1;
  transition: opacity 0.3s;
  /* 変化を滑らかにする */
}

.round-outline-btn {
  /* 背景を透明にして線を描く */
  background-color: transparent;
  border: 2px solid #007bff;
  /* 線の太さと色 */
  color: #007bff;
  /* 文字の色（線と同じにすると綺麗です） */

  /* 左右を丸くする（高さより大きな値を指定） */
  border-radius: 50px;

  /* サイズと余白 */
  padding: 10px 40px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  /* 変化をスムーズに */
}

/* ホバー時（有効な時のみ） */
.round-outline-btn:enabled:hover {
  background-color: #007bff;
  color: #fff;
}

/* 無効（半透明）時のスタイル */
.round-outline-btn:disabled {
  border-color: #ccc;
  color: #ccc;
  opacity: 0.5;
  cursor: not-allowed;
}


.thanks {
  font-size: 120%;
  text-align: center;
  padding: 30px;
}

.thanks_2 {
  text-align: center;
  margin-bottom: 40px;
}

/* プライバシーポリシー */
.r_container {
  padding: 60px;
}

.r_container ul {
  margin-left: 4rem;
}

.p_title {
  font-weight: bold;
  padding: 20px 0 5px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

  .nav-menu {
    display: none;
    display: none;
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  .nav-menu.active {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #002776;
    padding: 20px 0;
    text-align: center;
  }

  .nav-menu.active ul {
    flex-direction: column;
    gap: 15px;
  }

  .header .container {
    min-height: 60px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .features-grid {
    flex-direction: column;
    padding: 0 10px;
  }

  .head-bg-text {
    font-size: 8.0rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    /* 製品グリッドを1列に変更 */
  }

  .features,
  .map-section,
  .products-section {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 0.8rem;
    height: 130px;

    h2 {
      .small {
        padding: 0 5px;
      }
    }
  }

  .philosophy-items {
    flex-direction: column;
  }

  .overview-table {
    display: block;
    width: 100%;
  }

  .overview-table dt {
    border-bottom: none;
    padding: 8px;
  }

  .overview-table dd {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }

  .history-table {
    display: block;
    width: 100%;
  }

  .history-table dt {
    border-bottom: none;
    padding: 8px;
  }

  .history-table dd {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }

  .e-table {
    display: block;
  }

  .e-table dt {
    border-bottom: none;
    padding: 10px;
  }

  .e-table dd {
    padding: 10px;
  }

  .r-cach {
    display: block;
  }

  .r-item p {
    padding-top: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-banner {
    margin: 0 auto;
  }

  .footer-center,
  .footer-right {
    text-align: center;
  }

  /* 製品紹介（1列のグリッド） */
  .p-gallery {
    /* 1列に変更 */
    grid-template-columns: 1fr;
  }

  /* 設備情報（1列のグリッド） */
  .e-menu {
    /* 1列に変更 */
    grid-template-columns: 1fr;
  }

  .e-gallery {
    /* 1列に変更 */
    grid-template-columns: 1fr;
  }

  #formWrap {
    width: 100%;
  }

  #formWrap dl {
    display: block;
  }

  #formWrap dt {
    border-right: 1px solid #ccc;
  }

  .r_container {
    padding: 15px;
  }

}