@charset "UTF-8";
/* CSS Document */

/*--------------------------------------------------------------
	Common
--------------------------------------------------------------*/

html {
  overflow-y: scroll;
  overflow-x: initial;
  -ms-overflow-style: scrollbar;
}

body {
  background: #fff;
  font: 500 12px/1.8 "Hiragino Mincho ProN", "游明朝", sans-serif;
  letter-spacing: 0.1em; 
  color: #666;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

*, *::before, *::after {
  box-sizing: border-box;
}


.main {
  position: relative;
  background-color: #fff;
  z-index: 1;
}

.wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}


h1.vertical-title {
  position: absolute;
  top: 50%;
  height: 750px;
  left: 400px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: 3.1em;
  color: #fff;
  padding: 60px 8px;
  z-index: 10;
  line-height: 2;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* ← 追加済 */
}

@media screen and (max-width: 768px) {
  .vertical-title {
    top: 10% !important;                  /* ← 最上部から少し余白を取る */
    left: 50% !important;                 /* 横は中央 */
    transform: translateX(-50%) !important; /* 横方向のみ中央に揃える */
    height: auto !important;
    padding: 0 8px !important;
    font-size: 2.6em;
    line-height: 2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: start;                   /* ← ここがポイント！ */
    white-space: normal;
    word-break: break-word;
    z-index: 10;
  }
}





a{
	color: #fff;
}

a. ho{
	color: #fff;
}





h2 {
  font-size: 28px;
  font-weight: 600;
  color: #000;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  margin-bottom: 24px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap; 
}

p.txt{
  font-size: 1.5em;
  color: #000;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  margin: 20px 0;
  letter-spacing: 0.05em;
  text-align: center;
}


/* bg */
.bg-white {
  background-color: #fff;
  width: 100%;
}

.bg-gray {
  background-color: #F4F5F3;
  width: 100%;
}

.bg-black {
  background-color: #000;
  width: 100%;
}

/* 共通のセクション内余白 */
section {
  padding: 20px 0; /* 上下余白はお好みで */
}







/*--------------------------------------------------------------
	gnav
--------------------------------------------------------------*/
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 任意 */
}

.global-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px 32px;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
}

@media screen and (max-width: 768px) {
  .global-header-inner {
    padding: 16px;
  }
}



.logo-area {
  display: flex;
  align-items: center;

}

.logo {
  height: 25px;
  width: auto;         /* ← 念のため追加 */
  max-width: 100%;     /* ← スマホ時のはみ出し防止 */
  margin-right: 10px;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.menu li a:hover {
  text-decoration: underline;
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 16px;
  color: #000; 
}
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-right: 16px;
    color: #000; /* 念のためここにも */
  }
}



/* スマホ用 */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    right: 32px;
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    width: 200px;
  }
@media screen and (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 64px;
    right: 10%; /* ← ここに統一 */
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    width: 200px;
    z-index: 999; /* ← 念のため前面に出す */
  }

  .main-nav.open {
    display: block;
  }
}


  .main-nav .menu {
    flex-direction: column;
    gap: 0;
  }

  .menu li {
    border-bottom: 1px solid #eee;
  }

  .menu li a {
    display: block;
    padding: 12px;
    font-size: 16px;
  }
}


/*--------------------------------------------------------------
	footer
--------------------------------------------------------------*/
.three-column {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.column {
  flex: 1;
  max-width: calc((100% - 48px) / 3); /* 3カラム均等 */
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* 左カラム専用スタイル */
.column.text-only {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.column.text-only h2 {
  font-size: 1.4em;
  margin-bottom: 12px;
  color: #fff;
}

.column.text-only p {
  font-size: 1em;
  line-height: 1.8;
  color: #fff;
  text-align: left
}

/* 画像あり共通 */
.column img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.column h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  text-align: center;
}

.column p {
  font-size: 0.95em;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  background-color: #fff; /* 変更可：ブラックにしたい場合は #000 */
  color: #000;
  padding: 18px 0;
  text-align: center;
  font-size: 0.9em;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
  .three-column {
    flex-direction: column;
  }

  .column {
    max-width: 100%;
    height: auto;
    margin-bottom: 80px; /* ← 前後に余白をしっかり */
    padding: 0 16px;      /* ← 左右にも余白を入れるとより美しく */
    box-sizing: border-box;
  }
	
.column.text-only {
  margin-bottom: 0; /* ← テキストブロックだけ余白なしに */
}


  .column img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .column iframe {
    width: 100% !important;
    height: 200px;
    display: block;
  }
}



/*--------------------------------------------------------------
	slider
--------------------------------------------------------------*/
.slider {
  position: relative;
  width: 100vw;
  height: 1000px;
  overflow: hidden;
  margin: 0 auto;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;         /* ← 非表示時はクリックできないように */
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}



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

@media screen and (max-width: 1042px) {
  .slider {
    width: 100%;
  }
}



/*--------------------------------------------------------------
	title
--------------------------------------------------------------*/

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: 24px;
  color: #000;
  position: relative;
  margin: 40px 0;
}

/* 赤の縦ライン */
.title-bar {
  width: 4px;
  height: 40px;
  background-color: #e53935; /* 和風の赤 */
}

/* 装飾アイコンたち */
.title-deco {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.title-deco .deco-item {
  width: 300px;
  height: 88px;
}

@media screen and (min-width: 769px) {
  .title-deco {
    margin-left: auto;
    position: static;
    width: 300px; /* ← PCサイズ */
  }

  .title-deco .deco-item {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .title-deco {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 180px; /* ← スマホサイズはこちら */
    height: auto;
  }

  .title-deco .deco-item {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 480px) {
  .title-deco {
    position: static;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }
}







/*--------------------------------------------------------------
	intro
--------------------------------------------------------------*/
.intro-layout {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  align-items: stretch; /* ← これで左右の高さを揃える */
}

/* 左テキスト：縦書き */
.text-block {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: 1.7em;
  line-height: 3;
  width: 335px;
  flex-shrink: 0;
  margin: 0 0 24px 0; /* ← 左のマイナスマージンをリセット */
}

/* 画像全体 */
.image-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 各段ごとのレイアウト */
.row {
  display: flex;
  gap: 12px;
}

.row-top img {
  width: calc((100% - 12px) / 2);
}

.row-middle img {
  width: 100%;
}

/* row-bottom を intro-layout から“はみ出させる” */
.row-bottom {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto 40px auto;
  display: flex;
  gap: 12px;
  padding-top: 12px;
  box-sizing: border-box;
}


/* 中の画像を3列に均等割り */
.row-bottom img {
  width: calc((100% - 24px) / 3); /* 3枚＋gap 12px×2 */
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 480px) {
  .row-bottom img {
    width: calc(50% - 6px);
  }
}


.image-block img {
  height: auto;
  display: block;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .intro-layout {
    display: block;
    padding: 0 16px;
  }

  .text-block {
    writing-mode: horizontal-tb;
    width: 100%;
    margin: 0 0 24px 0;
  }

  .image-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* 画像①・②を2列で並べる */
  .row-top img {
    width: calc(50% - 6px);
  }

  /* 画像③は1列で全幅 */
  .row-middle img {
    width: 100%;
  }

  /* 画像④⑤⑥を3列で並べる */
  .row-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 16px;
    margin-top: 24px;
		padding-bottom: 40px;
  }

  .row-bottom img {
    width: calc((100% - 24px) / 3);
  }

  /* 念のため、画像共通の設定 */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
}

/* PC用に戻す（幅1025px以上） */
@media screen and (min-width: 1025px) {
  .intro-layout {
    display: flex;
    gap: 60px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
  }
  .text-block {
    writing-mode: vertical-rl;
    width: 335px;
    margin-left: -100px;
    font-size: 1.7em;
    line-height: 3;
  }
  .image-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .row {
    display: flex;
    gap: 12px;
  }
  .row-bottom {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto 40px auto;
    display: flex;
    gap: 12px;
    padding-top: 12px;
    box-sizing: border-box;
  }
  .row-bottom img {
     width: calc((100% - 24px) / 3);
    height: auto;
    object-fit: cover;
  }
}



@media screen and (max-width: 768px) {
  .row-bottom {
    width: 100%;
    padding: 0 16px; /* 他の段と同じ左右余白に */
    margin: 24px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box; /* padding込みの横幅計算に */
  }

  .row-bottom img {
    width: calc((100% - 24px) / 3); /* gap: 12px × 2 */
  }
  .text-block {
    writing-mode: horizontal-tb;
    width: 100%;
    margin: 0 0 24px 0;
    font-size: 1.1em;      /* ← 小さく調整 */
    line-height: 1.8;      /* ← 行間も調整 */
  }
}


/*--------------------------------------------------------------
	equipment
--------------------------------------------------------------*/
.equipment-section {
  max-width: 1200px;
  margin: 0;
  padding: 0;
}

.equipment-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box; /* ← 追加 */
}


.image-area {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row {
  display: flex;
  gap: 12px;
}

.row-1 img,
.row-2 img {
  width: 353px;
  height: auto;
  object-fit: cover;
  display: block;
}


/* 3段目の画像：横長＋正方形 */
.row-3 {
  max-width: 1024px;
  width: 100%;
  margin: 12px auto 40px; /* ← ここがポイント！ */
  padding: 0;
  display: flex;
  gap: 12px;
  box-sizing: border-box;
  align-items: stretch;
}


.img-long {
  width: 718px; /* ← 調整後の新サイズ */
  height: 294px;
  object-fit: cover;
  display: block;
}

.img-square {
  width: 294px;
  height: 294px;
  object-fit: cover;
  display: block;
}


/* テキスト */
.text-area {
  flex: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: 1.5em;
  line-height: 2.2;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 200px; /* ← 追加 */
  box-sizing: border-box; /* ← 念のため追加 */
}


.fullwidth-row {
  max-width: 1024px;
  width: 100%;               /* 100vw → 100% に修正 */
  margin: 24px auto 0;
  display: flex;
  gap: 12px;
  padding: 0;
  box-sizing: border-box;
  align-items: stretch;
}



.fullwidth-row .img-long {
  width: calc(100% - 200px - 12px);
}

.fullwidth-row .img-square {
  width: 200px;
  aspect-ratio: 1 / 1;
}

.fullwidth-row img {
  object-fit: cover;
  display: block;
}


@media screen and (max-width: 768px) {
  .equipment-grid {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  /* テキストを最上部へ移動 */
  .text-area {
    writing-mode: horizontal-tb;
    font-size: 1.3em;
    line-height: 1.9;
    text-align: left;
    margin-bottom: 16px;
    order: -1;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .image-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    order: 0;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .row-1 img,
  .row-2 img,
  .row-3 img {
    width: calc(50% - 6px);
    height: auto;
    object-fit: cover;
    display: block;
  }

  .row-3 {
    padding: 0 16px;
    margin-top: 24px;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
  }

  .img-long,
  .img-square {
    width: calc(50% - 6px);
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .img-long,
  .img-square {
    width: 100%; /* ← フル幅にするか */
  }
}


/*--------------------------------------------------------------
	item
--------------------------------------------------------------*/
.item-list {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* 新しいラッパー */
.product-card {
  flex: 1;
  max-width: calc((100% - 48px) / 3);
  text-align: center;
  box-sizing: border-box;
}

.item {
  background: #F4F5F3;
  padding: 40px 25px 60px;
  position: relative;
}

.item img {
  width: 90%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #F4F5F3;
  padding: 6px 24px;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  color: #000;
  font-size: 1.5em;
  letter-spacing: 0.3em;
  z-index: 2;
}

.description {
  margin-top: 20px;
  font-size: 1em;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  color: #333;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .item-list {
    flex-direction: column;
    align-items: stretch;         /* ← stretchで左右いっぱいに */
    gap: 32px;
    padding: 0 16px;              /* ← 少しの左右余白だけ */
    box-sizing: border-box;
  }

  .product-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .item {
    padding: 40px 40px 60px;      /* 少し余白 */
    background: #F4F5F3;
  }

  .item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .caption {
    font-size: 1.6em;             /* やや大きく */
    padding: 10px 25px 10px 38px;
    bottom: 20px;
	text-align: center;
  }

  .description {
    font-size: 1em;               /* 大きめに調整 */
    line-height: 2.2;
    padding: 0 8px;               /* テキストの左右にも少し余白 */
    text-align: center;
  }
}


/*--------------------------------------------------------------
	button-contact
--------------------------------------------------------------*/
.wrapper-contact-button {
  text-align: center; /* インライン要素を中央に */
  margin: 40px 0;      /* 上下余白 */
}

.contact-button {
  display: inline-flex;      /* インライン扱いで中央寄せしやすく */
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  padding: 16px 70px;
  font-size: 1.9em;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-bottom: 60px;
}

.contact-button i {
  margin-right: 12px;
  font-size: 1.2em;
}

.contact-button:hover {
  background-color: #989898;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


/*--------------------------------------------------------------
	button-download
--------------------------------------------------------------*/
.download-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 40px;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.dl-button {
  display: inline-block;
  padding: 40px 60px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-size: 1.4em;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 220px;
  line-height: 1.8;
  background-color: #F4F5F3;
}

.dl-button i {
  margin-right: 6px;
}

/* ホバー時：背景黒、テキスト白、ちょっと浮く */
.dl-button:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* 中央の罫線 */
.divider {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 70px 0;
}

.password-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
  background: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  max-width: 360px;
  margin: 15% auto;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
}
.modal-content input {
  width: 100%;
  padding: 8px;
  font-size: 1em;
  margin-top: 12px;
  box-sizing: border-box;
}
.modal-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}
.modal-buttons button {
  padding: 8px 16px;
  font-size: 1em;
  cursor: pointer;
  border: 1px solid #000;
  background-color: #fff;
  transition: all 0.2s ease;
}
.modal-buttons button:hover {
  background-color: #000;
  color: #fff;
}
.error {
  color: red;
  font-size: 0.9em;
  margin-top: 8px;
}


/*--------------------------------------------------------------
	back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: none;
  background-color: #000;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  z-index: 1000;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
  background-color: #E63828;
  transform: translateY(-4px);
}

.arrow-up {
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid white;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}





/*--------------------------------------------------------------
	contact-form
--------------------------------------------------------------*/
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #000;
  font-size: 1em;
  box-sizing: border-box;
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

.radio-group {
  margin-bottom: 20px;
}

.radio-group > label:first-child {
  display: block;
  font-weight: bold; /* ← 他と統一 */
  margin-bottom: 8px;
}

.radio-group input[type="radio"] + label {
  font-weight: normal;
  margin-right: 20px;
}

.radio-group label {
  margin-right: 20px;
  font-weight: normal;
}

.submit-wrap {
  text-align: center;
  margin-top: 40px;
}

.submit-wrap input[type="submit"] {
  background: #fff;
  color: #000; /* ← これが重要 */
  border: 1px solid #000;
  padding: 12px 40px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 4px;
}

.submit-wrap input[type="submit"]:hover {
  background: #000;
  color: #fff;
}
