@charset "utf-8";

/* *****共通設定***** */
html {
  font-size: 62.5%;
}

/* サイト全体を落ち着いた明朝体に統一 */
body {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 400;
  /* 標準をレギュラーに */
  font-size: 1.6rem;
  font-style: normal;
  line-height: 1.8;
  color: #615c61;
}

/* 見出しだけは少し強めに */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  /* bold */
}

p {
  font-weight: 600;
}


/* 強調 */
strong {
  font-weight: 700;
  /* 900だと重すぎるので、700が自然 */
}


@media (min-width: 1400px) {

  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1080px;
  }
}




.btn-warning-navy {
  background-color: #615c61 !important;
  color: #ffffff;
}

.fw-bold700 {
  font-weight: 700;
}

.fw-black900 {
  font-weight: 900;
}

.colorRed {
  color: #ff0000;
}

#index-service .box-title {
  font-weight: bold;
}

span.spann {
  font-size: 22px;
}


.border-bottom {
  border-bottom: solid 0.2px #dfdfdf;
  margin-bottom: 0;
}


.red {
  font-weight: bold;
  margin-top: 20px;
  margin-left: 7px;
  border: #d91010 1px solid;
  color: #d91010;
  padding: 0px 7px;
  line-height: 19px;
  font-size: 12px;
  background: white;
}



@media screen and (min-width:400px) {
  .d-ss-none {
    display: none !important;
  }
}

main {
  display: block;
  color: #5B5B5B;
}

main .btn {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  font-size: 1.5rem;
}

.img-thumbnail {
  width: 100%;
  padding: .25rem;
  background-color: transparent;
  border: none;
}


/*---------------------------------------------

フォントサイズ

---------------------------------------------*/

.midashi-10 {
  font-size: 10px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(10 + ((1vw - 3.2rem) * 0.625));
}

.midashi-12 {
  font-size: 12px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(12 + ((1vw - 3.2rem) * 0.625));
}

.midashi-14 {
  font-size: 14px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  /* before 16 */
  font-size: calc(14 + ((1vw - 3.2rem) * 0.625));
}

.midashi-16 {
  font-size: 16px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(16 + ((1vw - 3.2rem) * 0.625));
}

.midashi-18 {
  font-size: 18px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(18 + ((1vw - 3.2rem) * 0.625));
}

.midashi-20 {
  font-size: 20px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(20 + ((1vw - 3.2rem) * 0.625));
}

.midashi-22 {
  font-size: 22px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(22 + ((1vw - 3.2rem) * 0.625));
}

.midashi-26 {
  font-size: 26px !important;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(26 + ((1vw - 3.2rem) * 0.625));
}

.midashi-30 {
  font-size: 30px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(30 + ((1vw - 3.2rem) * 0.625));
}

.midashi-32 {
  font-size: 32px;
  /* IE8以下とAndroid4.3以下用フォールバック */
  font-size: calc(32 + ((1vw - 3.2rem) * 0.625));
}

/* リンクのサイズを本文と揃える */
a {
  font-size: 1em;
  /* body基準に合わせる */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 見出し */
h1 {
  font-size: 2.4rem;
  /* 24px相当 */
}

h2 {
  font-size: 2rem;
  /* 20px相当 */
}

h3 {
  font-size: 1.8rem;
  /* 18px相当 */
}

h4 {
  font-size: 1.6rem;
  /* 本文とほぼ同じ */
}


/*---------------------------------------------

大きいブロックの隙間調整

===============================================*/
section {
  padding: 80px 10px;
}

@media screen and (max-width:767.98px) {
  section {
    padding: 40px 10px;
  }

  .midashi-10 {
    font-size: 8px;
  }

  section#top {
    padding: 0 0 60px 0;
  }
}

/*---------------------------------------------
文字サイズ/h1～6
===============================================*/
h1.service-midashi {
  font-size: 3rem;
  background: linear-gradient(#1EAB5E, #615c61);
  padding: 1rem;
  color: #fff;

}

h2,
h3 {
  color: #401f0f;
  text-transform: uppercase;
}

h3 {
  font-size: 160%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
}

h1.SNS-jouhou {
  color: #7E0009;
}

.midashi-sub {
  color: #4e454a;
}

.midashi-udline {
  padding-bottom: 1rem;
  border-bottom: 0.5px solid #333;
  letter-spacing: 0.2rem;
  display: inline-block;
}

/*---------------------------------------------
  ヘッダー（navbar）- 置き換え版
  黒グラデ背景 / 白文字 / ホバーは下線のみ
----------------------------------------------*/

/* ヘッダー全体 */
header {
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.9) 0%,
      /* 黒（90%不透明） */
      rgba(26, 26, 26, 0.85) 40%,
      /* ダークグレー */
      rgba(43, 26, 14, 0.8) 100%
      /* 焦げ茶 */
    );
  color: #ffffff;
}

/* 既存の .navbar / .navbar-box があっても透明化して header 背景を見せる */
.navbar,
.navbar-box {
  background: transparent !important;
  color: inherit !important;
}

/* 行・配置 */
.header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header .text-dark {
  --bs-text-opacity: 1;
  color: #ffffff !important;
}

/* ロゴ */
.header-logo {
  width: auto;
  display: flex;
  align-items: center;
  padding: 0;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff !important;
  text-decoration: none;
}

.header-logo p {
  /* ロゴ横のテキストを使わない場合は削除可 */
  color: #ffffff;
  font-size: 160%;
  font-weight: bold;
  margin: 0;
}

/* キャッチ（使っていれば） */
header h5,
p.header-comments {
  color: #ffffff;
}

/* PCナビ（ロゴ横の水平ナビを想定） */
.header-nav .nav-link {
  color: #ffffff !important;
  text-decoration: none;
  letter-spacing: 0.05em;
  padding: 1rem 0;
  /* 適宜調整 */
  transition: opacity .2s ease;
}

.header-nav .nav-link:hover {
  text-decoration: underline;
  /* ホバーは下線のみ */
}

/* スマホ全画面メニュー（既存の menu-bio を踏襲） */
/* メニュー本体 */
.menu-bio {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  /* ボタンより低く設定 */
  background: var(--hdr-grad);
  transform: translateX(100vw);
  transition: transform .3s linear;
}

.menu-bio.is-active {
  transform: translateX(0);
}


.menu__item {
  padding: .8em 2em;
}

.menu-bio .nav-link {
  color: #ffffff !important;
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

.menu-bio .nav-link:hover {
  text-decoration: underline;
}

/* ハンバーガー（背景なし・白アイコン） */
/* ハンバーガーボタンはメニューより前面に出す */
.menu-btn {
  position: relative;
  /* z-index を効かせるため */
  z-index: 2001;
  /* .menu-bio より大きくする（例: 2000以上） */
}


.menu-btn i {
  color: #ffffff;
}

.menu-btn:hover {
  opacity: 0.8;
}

/* ---- SP時（<992px）はハンバーガーをロゴと同じ行に並べる ---- */
@media (max-width: 991.98px) {
  .header-box {
    padding-block: 8px;
  }

  .menu-btn {
    position: static;
    /* fixedをやめて行内配置 */
    right: auto;
    top: auto;
    width: 44px;
    height: 44px;
    margin-left: auto;
    /* 右端に寄せる */
  }

  /* スマホ時はPCナビを隠す想定（HTML側で d-none d-lg-flex を使っているなら不要） */
  .header-menu-box {
    display: none !important;
  }

  /* スマホメニュー内のリンク見た目 */
  .menu__item a {
    font-size: 100%;
    margin: 0;
  }

  .header-logo a {
    font-size: 20px;
  }
}

/* 追加：不要なデフォルト・競合の打ち消し（ヘッダー内リンクは白統一） */
header a {
  color: #ffffff !important;
}

header a:hover {
  text-decoration: underline;
}

/* ▼ ここから下は “不要なので削除” したもの（参考） ▼
.nav-item 関連の幅・ボーダー
a.nav-link:hover で背景色 #7E0009 にする指定
.navbar-light .navbar-nav .nav-link { color: #7E0009; }
.telbox / subbox 系
.nav-link-sub（ピンク）
.clearfix / float_L（レイアウトに未使用なら削除）
.list-unstyled の上書き（他で必要なければヘッダーでは未指定に）
.main-box / main-box-image / main-box-title などヘッダー無関係のもの
*/

/*---------------------------------------------*/
/* breadcrumb
============================================== */
.breadcrumbBox {
  background-color: #9E9E9F;
  padding: 5px 0;
}

.breadcrumb {
  margin-bottom: 0 !important;
}

.breadcrumb-item a,
.breadcrumb-item.active {
  color: #ffffff;
}

/*-------　ボタン指示　-------*/

.btn-flat-vertical-border {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 1em;
  text-decoration: none;
  color: #7E0009;
  background: #e9747b24;
  transition: .4s;
  width: 100%;
  text-align: center;
  font-size: 16px;
  margin-top: 15px;
}

.btn-flat-vertical-border:hover {
  background: #7E0009;
  color: #FFF;
}


@media screen and (max-width: 767.98px) {
  .btn-flat-vertical-border {
    margin-bottom: 50px;
  }
}

/*-------　ここまで　-------*/


/*---------------------------------------------*/

/* contact

--------------------------------------------- */

section#contact-tel {
  width: 80%;
  margin: 0 auto;
}

div#contactBox {
  width: 80%;
  margin: 0 auto 80px;
}

h2.midashi_service {
    color: #7E0009;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 8px;
}



#form-table,
.form-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  background: white;
  padding-bottom: 50px;
}

.contacttext {
  margin: 30px auto 0;
}

.form-line {
  border-bottom: #e2e2e2 1px solid;
  padding: 0 1.8em;
}

.form-koumoku {
  font-weight: bold;
  color: #393E46;
  width: 25%;
}

.form-naiyou {
  width: 75%;
  padding: 28px 45px;
}

.colorBlue {
  color: #929AAB !important;
  font-size: 150%;
}

.form-select {
  font-size: 16px;
}

.form-control {
  font-size: 16px;
}

.en-title {
  font-size: 180%;
  margin: 0;
  padding: 1em 0 0.5em 0;
  line-height: 1em;
}

.form-check-input[type=checkbox] {
  border-radius: 1.25em;
}

.tx-left {
  text-align: left;
  padding: 0;
}

.col-12 {
  flex: 0 0 auto;
  width: 80%;
  margin: auto;
}

.fmail {
  font-size: 16px;
  padding-right: 20px;
  margin-right: 5px;
  border: 1px solid #ced4da;
}

.select01 {
  width: 20%;
  display: inline;
}

.btn-primary {
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 10px 100px;
  letter-spacing: 0.2em;
  border: 1px solid #7E0009;
  color: #7E0009;
}

.btn-primary:hover {
  background: #4a0005;
  transition-duration: 0.2s;
  color: #fff;
  border: 1px solid #4a0005;
}

.btn {
  border-radius: 0;
}

#about .btn02 {
  width: 45%;
  margin-top: 15px;
  margin-bottom: 0;
  text-align: center;
  padding: 0.8em 2em;
}


.box-scroll {
  width: 100%;
  height: 200px;
  overflow: auto;
  padding: 10px 20px;
  border: 1px solid #ced4da;
}

p {
  font-size: 16px;
}

#privacy span.font-600 {
  font-weight: bold;
  font-size: 16px;
}

.telBox {
  display: flex;
  justify-content: flex-start;
}

.telBox a {
  text-decoration: none;
  padding: 2rem;
  border: #7E0009 3px solid;
  width: 60%;
  color: white;
  font-size: 3.8rem;
  font-weight: 700;
  background: #7E0009;
}

.telBox a:hover {
  background: #7E0009;
  color: white;
}

button.btn.btn-primary.mx-auto.d-block.my-5.btn-Box03 {
  text-decoration: none;
  padding: 2rem;
  border: #7E0009 3px solid;
  color: white;
  background: #7E0009;
}

button.btn.btn-primary.mx-auto.d-block.my-5.btn-Box03:hover {
  text-decoration: none;
  padding: 2rem;
  border: #7E0009 3px solid;
  color: white;
  background: #7E0009;
}


@media screen and (max-width: 998.98px) {
  #about .btn02 {
    width: 70%;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
    padding: 0.4em 2em;
  }

  .telBox a {
    width: 100%;
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 767.98px) {
  .form-koumoku {
    width: 100%;
    padding: 0.75em 0 0.25em 0;
  }

  .form-naiyou {
    width: 100%;
    padding: 0 0 0.75em 0;
  }

  .btn-primary {
    padding: 10px 90px;
  }

  .btn-primary:hover {
    height: 60px;
  }

  #about .btn02 {
    width: 100%;
  }

  section#contact-tel {
    width: 100%;
  }

  div#contactBox {
    width: 100%;
  }
}

@media screen and (max-width:575.98px) {
  .btn-primary {
    padding: 10px 60px;
  }

  .btn-primary:hover {
    height: 50px;
  }
}

div.form-line:first-child {
  border-top: #e2e2e2 1px solid;
}

/*---------------------------------------------*/
/* technical-data, technical-data-DL
============================================== */
.form-DL-table {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.form-DL-table .form-koumoku {
  font-size: 80%;
  color: #fbaa05;
}

.form-DL-table .form-naiyou {
  width: calc(100% - 25% - 30px);
  padding: 0.75em 0;
}

@media screen and (max-width: 767.98px) {
  .form-DL-table {
    width: 100%;
  }

  .form-DL-table .form-naiyou {
    width: 100%;
  }
}


i.fab {
  font-size: 30px;
}


/*---------------------------------------------*/

/* ボタンの色、変更

============================================== */
.form-check-input:checked {
  background-color: #7E0009;
  border-color: #7E0009;
}

.form-check-input:focus {
  border-color: #7E0009;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(19, 155, 12, 0.25);
}

.form-control:focus {
  border-color: #7E0009;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(19, 155, 12, 0.25);
}

.form-select:focus {
  border-color: #7E0009;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(19, 155, 12, 0.25);
}

.btn-primary:focus {
  border-color: #7E0009;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(19, 155, 12, 0.25);
}



/*---------------------------------------------*/
/* size
============================================== */
.max-960 {
  max-width: 960px;
  margin: 0 auto;
}

/*---------------------------------------------*/
/* 見出しの指示
-----------------------------------------------*/

.heading-31 {
  position: relative;
  padding: .3em 0 .2em 2.5em;
  border-bottom: 3px solid #7E0009;
  color: #333333;
  width: 20%;
  margin: 0 auto 30px;
  font-size: 2.5rem;
}

.heading-31::before {
  position: absolute;
  top: 0;
  left: .3em;
  transform: rotate(55deg);
  height: 11px;
  width: 12px;
  background: #7E0009;
  content: '';
}

.heading-31::after {
  position: absolute;
  transform: rotate(15deg);
  top: .6em;
  left: 0;
  height: 8px;
  width: 8px;
  background: #7E0009;
  content: '';
}

/*---------------------------------------------*/

/* トップページ　index.html

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

.main-box-SNS h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 6px;
}

.main-box-SNS p.text {
  line-height: 3rem;
  margin: 20px 0;
}

.SNS-news a:hover {
  opacity: 0.8;
}

.CraftsmanshipBOX {
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.CraftsmanshipBOX .sabBOX {
  width: 48%;
  margin: auto 0;
  align-items: center;
}

.CraftsmanshipBOX .sabBOX h2 {
  color: #7E0009;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 8px;
}

.CraftsmanshipBOX .sabBOX p {
  margin-top: 15px;
}

@media screen and (max-width: 767.98px) {
.CraftsmanshipBOX .sabBOX h2 {
    font-size: 2.5rem;
}
}

/* まずはPCをデフォルト表示、SPは非表示 */
.pc-block {
  display: flex;
  justify-content: space-evenly;
}

.sp-block {
  display: none;
}

.azuki img {
  width: 8%;
  padding: 40px 0;
}


/*-- スライドの指示　--*/


.slider-area {
  position: relative;
  width: 100%;
  height: 56vh;
}

.slider-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  animation: slideShow 30s linear infinite 0s;
}

.slider-item:nth-child(2) {
  animation-delay: 10s;
}

.slider-item:nth-child(3) {
  animation-delay: 20s;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slideShow {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }

  8% {
    opacity: 1;
    animation-timing-function: ease-out;
  }

  20% {
    opacity: 1;
  }

  40%,
  100% {
    opacity: 0;
  }
}

/*-- ↑ここまで　--*/




/* アクセスの指示 */

table#table01 {
  width: 100%;
}

#table01 tr {
  border-bottom: solid 1px #dfdfdf;
}

#table01 th,
#table01 td {
  padding: 15px 0;
  border: none;
}

#table01 th {
  width: 30%;
  text-align: center;
}

.sabbox_left {
  width: 60%;
}

.sabbox_right {
  width: 36%;
  margin: auto 0;
}

/* sp */
@media only screen and (max-width: 480px) {

  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
    text-align: left;
  }

  #table01 td {
    padding-top: 0;
  }
}

/* ↑ここまで */


@media screen and (max-width: 767.98px) {

  /* まずはPCをデフォルト表示、SPは非表示 */
  .pc-block {
    display: none;
  }

  .sp-block {
    display: flex;
  }

  .CraftsmanshipBOX {
    flex-direction: column;
  }

  .CraftsmanshipBOX .sabBOX {
    width: 100%;
  }

  .main-box-SNS h1 {
    font-size: 2.5rem;
  }

  .azuki img {
    width: 20%;
    padding: 0 0 20px 0;
  }
}


/*---------------------------------------------
footer
---------------------------------------------*/
/* ===== 調整しやすいCSS変数 ===== */
:root {
  --footer-bg: #2b5db6;
  /* 背景の青（画像に近い） */
  --footer-text: #ffffff;
  --link-dim: rgba(255, 255, 255, .85);
  --outline: rgba(255, 255, 255, 1);
  --solid-grad-from: #7cc2ff;
  /* お問い合わせボタン（上） */
  --solid-grad-to: #5aa9f6;
  /* お問い合わせボタン（下） */
  --solid-shadow: rgba(0, 0, 0, .15);
  --copy-bg: #f7f7f7;
  --copy-text: #5b5b5b;
  --radius-pill: 9999px;
  --container-max: 1120px;
}

/* ===== ベース ===== */
.footer-modern {
  margin-top: 100px;
  background: #aaaaaa;
  color: var(--footer-text);
  padding: 50px 0 0;
}

.footer-modern .container {
  max-width: var(--container-max);
  margin: 0 auto;
}


#Page-policy .footer-modern {
  margin-top: 0px;
}

#Page-company .footer-modern {
  margin-top: 0px;
}

#Page-product .footer-modern {
  margin-top: 0px;
}

#Page-contact .footer-modern {
  margin-top: 0px;
}

footer#footer p {
    color: #fff;
}



/* ===== 上段2カラム ===== */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* 左 */
.footer-left .footer-eyebrow {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  margin: 0 0 16px;
  opacity: .95;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-school {
  width: clamp(44px, 5vw, 56px);
  height: auto;
  color: var(--footer-text);
}

.footer-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0;
}

/* 右 */
.footer-right {
  justify-self: left;
  text-align: right;
}

.footer-kicker {
  font-size: clamp(12px, 1.6vw, 14px);
  margin: 0 0 12px;
  opacity: .95;
}

.footer-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  line-height: 1;
  transition: transform .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: .9;
}

.btn:active {
  transform: translateY(1px);
}

.btn.btn-outline {
  color: #7E0009;
  border: 2px solid #7E0009;
  background: white;
  padding: 10px 0;
  font-size: 16px;
}

.btn.btn-solid {
  color: white;
  background: #7E0009;
  padding: 10px 0;
  font-size: 16px;
}

.btn.btn-outline:hover {
  color: white;
  border: 2px solid #7E0009;
  background: #7E0009;
  font-size: 16px;
}

.btn.btn-solid:hover {
  color: white;
  background: #4a0005;
  padding: 10px 0;
  font-size: 16px;
}

/* 小さなリンク列 */
.footer-links {
  list-style: none;
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding: 16px 0 0;
  margin: 12px 0 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--link-dim);
  text-decoration: none;
  font-size: clamp(12px, 1.6vw, 14px);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== 下段コピーライト帯 ===== */
div#copyright {
  background: #171717;
  margin-top: 30px;
}

.footer-copy {
  background: var(--copy-bg);
  color: var(--copy-text);
  margin-top: 40px;
}

div#copyright p {
  font-size: 12px;
}

.copy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.copy-left {
  margin: 0;
  font-size: 13px;
}

.copy-right {
  margin: 0;
  font-size: 13px;
  text-align: right;
}

/* ===== レスポンシブ ===== */
@media (max-width: 767.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-right {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .copy-inner {
    grid-template-columns: 1fr;
  }

  .copy-right {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-right {
    justify-self: stretch;
    /* ←左寄せじゃなく幅いっぱいに */
    text-align: left;
    /* 中央寄せや右寄せを解除 */
    width: 100%;
    /* 親要素も幅いっぱい */
  }

  .footer-ctas {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .footer-ctas .btn {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
}




/* 既存の下線色・リンク色を上書きしたい場合の保険（任意） */
.footer-modern a {
  text-decoration: none;
  color: var(--footer-text);
}


/* =======================
   banner共通
======================= */


/* ======================= hero 共通 ======================= */
.hero {
  position: relative;
  color: #fff;
  min-height: 32svh;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
}

/* ページごとに切り替え */
.hero-company {
  background: url("../images/company.jpeg") center/cover no-repeat;
}

.hero-product {
  background: url('../images/image06.JPG') center/cover no-repeat;
}

.hero-policy {
  background: url('../images/image02.jpeg') center/cover no-repeat;
}

.hero-contact {
  background: url('../images/image05.jpeg') center/cover no-repeat;
}

/* グラデーションの被せは共通 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#0006, #0003);
  mix-blend-mode: multiply;
}

.hero .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero .hero-tag {
  font-size: 1.2rem;
  margin-left: .5em;
}


/* =======================
   policy.html（スコープ化）
======================= */
.policy-page {
  --bg: #faf7f5;
  --ink: #333;
  --sub: #666;
  --accent: #8b2e2e;
  --line: #e6dedb;
  --maxw: 1100px;
}

/* ベース（このページ内だけ） */
.policy-page p {
  font-weight: 400;
  color: var(--sub);
}

/* グローバルの600を戻す */
.policy-page h2,
.policy-page h3 {
  text-transform: none;
}

/* 大文字化を無効 */

.policy-page .policy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#0006, #0003);
  mix-blend-mode: multiply;
}

.policy-page .policy-hero-inner {
  padding: 56px 0 64px;
}

.policy-page .hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  margin: .4em 0 .2em;
  font-weight: 900;
  text-align: left;
}

.policy-page .policy-tag {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: .16em;
  margin-left: .4em;
  opacity: .95
}

@media (max-width: 767.98px) {
  .policy-page .policy-hero {
    min-height: 20svh;
  }
}


/* リード（参考サイト風） */
.policy-page .lead-intro {
  padding: clamp(28px, 4vw, 48px) 0;
  text-align: center
}

.policy-page .lead-intro h2 {
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: #333;
  margin: 0 0 .8em
}

.policy-page .lead-intro p {
  color: var(--sub);
  line-height: 1.95;
  margin: .3em auto;
  max-width: 80ch;
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
}

/* 本文レイアウト */
.policy-page .policy-list {
  display: grid;
  gap: 56px;
  padding-block: 40px
}

.policy-page .policy-item {
  display: block
}

/* 画像を“コンテナ外まで”フルブリード */
.policy-page .policy-media {
  position: relative;
  margin: 0 calc(50% - 50vw) 20px;
  /* ←左右を画面端まで広げる */
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.policy-page .policy-media::before {
  content: "";
  display: block;
  aspect-ratio: 16/6;
  background: linear-gradient(135deg, #f1e7e4, #fff);
}

.policy-page .policy-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* cap（番号+斜線+ラベル） */
.policy-page .cap {
  position: relative;
  display: inline-grid;
  justify-items: start;
  gap: 6px;
  margin: 0 0 .6em;
  padding-left: 24px;
  color: #333;
}


.policy-page .cap .num {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: .06em
}

.policy-page .cap .cap-label {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: .22em;
  color: #000;
  opacity: .9
}

.policy-page .policy-body {
  padding: clamp(8px, 1.2vw, 12px) clamp(6px, 1vw, 10px);
  text-align: center;
}

.policy-page .policy-body .cap {
  justify-items: center;
  padding-left: 0;
}

.policy-page .policy-body .cap::before {
  left: 50%;
  transform: translateX(-50%) rotate(-35deg);
}

.policy-page .policy-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  margin: .35em 0 .2em;
  font-weight: 800;
  color: #333
}

.policy-page .policy-text {
  text-align: center;
  color: var(--sub);
  line-height: 1.9;
  font-size: clamp(1rem, 1.4vw, 1.6rem)
}

.policy-page .underline {
  margin-left: auto;
  margin-right: auto;
  max-width: 270px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .3;
  margin: .6rem auto 1rem
}

.policy-page .cta {
  margin: 14px 0 0;
  text-align: center
}

.policy-page .cta a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .8em 1.1em;
  text-decoration: none;
  font-weight: 700
}

.policy-page .cta a:hover {
  opacity: .92
}

@media (max-width: 767.98px) {
  .policy-page .policy-media {
    margin: 0 0 20px;    /* 左右のはみ出しをなくす */
    width: 100%;         /* 100vw → 100% */
    max-width: 100%;     /* 安全のため */
  }
}



/* =======================
  company.html（スコープ化）
======================= */

/* === 下部リンクボックス（会社案内専用3列レイアウト） === */
.company-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 0;
  width: 100%;
}

.company-links a {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  aspect-ratio: 16/9;
}

.company-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.company-links a:hover img {
  transform: scale(1.1);
}

.company-links .label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .35);
  transition: background .3s ease;
  text-align: center;
}

.company-links a:hover .label {
  background: rgba(0, 0, 0, .55);
}

.company-links .label span.jp {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: .3em;
}

.company-links .label span.en {
  font-size: .95rem;
  letter-spacing: .22em;
}

@media (max-width: 767.98px) {
  .company-links {
    grid-template-columns: 1fr;
  }

  .company-links a {
    aspect-ratio: 36 / 9;
  }
}

/* === 代表あいさつのところ === */
.messageBox {
  width: 80%;
  margin: 30px auto 0;
  max-width: 900px;
}

  /* 求人：タブ（正社員／パート） */
  .recruit, .recruit-block, .section-recruit{ padding-inline:16px; }
  .recruit .tab-buttons, .recruit-tabs, .job-tabs{
    display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
    margin: 12px 0 16px;
  }
  .recruit .tab-buttons button,
  .recruit .tab-buttons a,
  .recruit-tabs .tab, .job-tabs .tab{
    flex: 1 1 48%;
    padding: .9em 1em;
    text-align:center;
  }

  /* 求人：パネル内のテーブルを“カード化”して読みやすく */
  .recruit table, .job-table{
    width:100%;
    border-collapse: collapse;
    table-layout: fixed;       /* 文字の折返しを安定させる */
  }
  .recruit table tr, .job-table tr{
    display:block;
    border:1px solid var(--line, #e6dedb);
    border-radius:10px;
    margin-bottom:12px;
    overflow:hidden;
    background:#fff;
  }
  .recruit table th, .recruit table td,
  .job-table th, .job-table td{
    display:block;
    width:100%;
    padding:10px 12px;
    box-sizing:border-box;
    word-break: break-word;
  }
  .recruit table th, .job-table th{
    background:#f7efed;
    font-weight:700;
    border-bottom:1px solid var(--line, #e6dedb);
  }

  /* 求人：CTAボタン中央寄せ */
  .recruit .cta, .job-cta{ text-align:center; }
  .recruit .cta a, .job-cta a{
    display:inline-block;
    width:min(520px, 100%);
    margin:auto;
  }
}


/* === 会社概要のテーブル指示 === */
section#gaiyou {
  background-color: #e8999d24;
}

.table_design05 {
  border-spacing: 0;
  width: 80%;
  max-width: 900px;
  /* 横に広すぎないように調整 */
  margin: 30px auto 0;
  /* 中央寄せ */
}

.table_design05 th,
.table_design05 td {
  padding: 1em;
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
}

.table_design05 th {
  color: #8b2e2e;
  font-weight: bold;
  text-align: left;
  width: 20%;
  min-width: 4em;
  position: relative;
}

/* 縦線（上下に隙間あり） */
.table_design05 th::after {
  content: "";
  background-color: #615C61;
  position: absolute;
  top: 10%;
  /* ← 上に少し隙間 */
  bottom: 10%;
  /* ← 下に少し隙間 */
  left: 100%;
  width: 1px;
}

/* 行の横線 */
.table_design05 tr {
  border-top: solid 1px #615C61;
}

/* 最終行の下線も追加 */
.table_design05 tr:last-child {
  border-bottom: solid 1px #615C61;
}

/* th の右側にも縦線 */
.table_design05 th {
  border-right: none;
  /* ← 二重線防止 */
}

/* スマホでは全幅に */
@media screen and (max-width: 767.98px) {
  .table_design05 {
    width: 100%;
  }

  .table_design05 th {
    width: 25%;
  }

  .messageBox {
    width: 100%;
  }

}



/* =======================
  products.html
======================= */

.product-page {
  --ink: #333;
  --sub: #666;
  --line: #e6dedb;
  --accent: #8b2e2e;
  --mint: #eaf8f2;
  --header-offset: 84px;
  color: var(--ink);
  scroll-behavior: smooth;
}

.product-page * {
  box-sizing: border-box;
}

/* CATEGORY */
.product-category {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.product-category .label {
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sub);
  margin-bottom: 12px;
}

.product-category .tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-category .tab-btn {
  display: inline-block;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: #fff;
  padding: 12px 18px;
  font-weight: 700;
  transition: .2s;
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
}

.product-category .tab-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* sections */
#product-general,
#product-corporate {
  scroll-margin-top: var(--header-offset);
}

.product-section {
  padding: 60px 0 100px;
}

.product-corp {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* grid */
.product-grid {
  --cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 22px;
}

@media(max-width:960px) {
  .product-grid {
    --cols: 2;
  }
}

@media(max-width:560px) {
  .product-grid {
    --cols: 1;
  }
}

/* card */
.product-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card .thumb {
  aspect-ratio: 4/3;
  background: #f5f3f2;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #999;
}

.product-card .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* 上下左右を埋める */
  display: block;

}

.product-card .body {
  padding: 14px 16px;
}

.product-card .title {
  font-weight: 700;
  margin: 0 0 6px;
}

.product-card .price {
  font-weight: 700;
  color: var(--accent);
}

.product-card .desc {
  color: #444;
  line-height: 1.7;
  margin: 6px 0 0;
}

.product-card .note {
  color: var(--sub);
  font-size: .95rem;
}

/* places */
.product-places {
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed var(--line);
  background: #fff;
}

.product-places h4 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
  color: var(--sub);
}

.product-places ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
}



/* =======================
   CVT共通内容
   ======================= */

/* === 下部リンクボックス（2列 + 下段1枚フル） === */
.link-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 60px 0 0;
  width: 100%
}

.link-blocks a {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  aspect-ratio: 16/9
}

.link-blocks a.full {
  grid-column: 1 / -1;
  aspect-ratio: 45/9
}

.link-blocks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.link-blocks a:hover img {
  transform: scale(1.1);
}

.link-blocks .label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .35);
  transition: background .3s ease;
  text-align: center;
}

.link-blocks a:hover .label {
  background: rgba(0, 0, 0, .55);
}

.link-blocks .label span.jp {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: .3em;
}

.link-blocks .label span.en {
  font-size: .95rem;
  letter-spacing: .22em;
}

@media (max-width: 767.98px) {
  .link-blocks {
    grid-template-columns: 1fr
  }

  .link-blocks a.full {
    grid-column: auto;
    aspect-ratio: 16/9
  }
}