/*
私たちの思い 専用CSS
Ctrl+Fで「01 メイン画像」「03 品質」などの項目名を検索してください。
00 共通 / 01 メイン画像 / 02 つくる・守る・次へ進む
03 品質・姿勢・未来の共通配置 / 04 姿勢 / 05 未来 / 06 理念 / 07 CONTACT
padding＝内側の余白、margin＝外側の余白、gap＝項目の間隔。
ヘッダー・フッターはcommon.cssを再利用しています。
*/

/* #region 00 共通設定・本文幅・見出し
======================================== */
.ot-page { color: #102b43; background: #fff; }
.ot-container { width: min(1500px, calc(100% - 80px)); margin: 0 auto; }
.ot-page h2 { font: 500 clamp(28px, 2.8vw, 42px)/1.5 "Yu Mincho", "YuMincho", serif; letter-spacing: .04em; }
.ot-heading { border-left: 2px solid #4fb7df; padding-left: 18px; margin-bottom: 20px; }
.ot-label { font: 600 11px/1.8 Georgia, serif; letter-spacing: .19em; color: #6785aa; margin-bottom: 8px; }
.ot-copy { font-size: 15px; line-height: 1.9; letter-spacing: .04em; }
.ot-page section[id] { scroll-margin-top: 20px; }
.ot-page :focus-visible { outline: 3px solid #00a6a6; outline-offset: 5px; }
.ot-skip { position: absolute; top: -100px; left: 16px; z-index: 200; padding: 12px 20px; background: #fff; }
.ot-skip:focus { top: 10px; }
@media (max-width: 767px) {
    .ot-container { width: calc(100% - 40px); }
    .ot-page h2 { font-size: 28px; }
    .ot-copy { font-size: 14px; }
    .ot-pc-break { display: none; }
}
/* #endregion */

/* #region 01 メイン画像・私たちの思い
======================================== */
.ot-hero { position: relative; overflow: hidden; min-height: 500px; background: #031522; color: #fff; }
/* 右側の写真。object-positionで見せる位置を変更できます。 */
.ot-hero-photo { position: absolute; inset: 0 0 0 28%; }
.ot-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.ot-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #020d17 0%, #020d17eb 28%, #020d1755 57%, #020d1740 75%, #020d17dd); pointer-events: none; }
/* メイン文字エリアの上下余白 */
.ot-hero-inner { position: relative; z-index: 1; min-height: 500px; padding: 35px 0 40px; }
.ot-hero-label { font: 11px/1.8 Georgia, serif; letter-spacing: .2em; margin-bottom: 15px; }
.ot-hero h1 { font: 500 clamp(40px, 4.5vw, 64px)/1.4 "Yu Mincho", "YuMincho", serif; letter-spacing: .07em; margin-bottom: 12px; }
.ot-hero-subtitle { font: 500 clamp(25px, 2.7vw, 38px)/1.5 "Yu Mincho", "YuMincho", serif; letter-spacing: .04em; margin-bottom: 20px; }
.ot-hero-copy { max-width: 660px; font-size: 15px; line-height: 1.95; letter-spacing: .03em; }
.ot-hero-side { position: absolute; bottom: 35px; right: 0; font: 11px/1.9 Georgia, serif; letter-spacing: .17em; }
/* 右側の01〜05は各項目へ移動するリンク */
.ot-section-nav { position: absolute; top: 45px; right: 10px; display: grid; gap: 12px; }
.ot-section-nav a { display: block; padding: 3px 10px; font: 12px/1.5 Georgia, serif; letter-spacing: .12em; border-bottom: 1px solid #ffffff44; }
.ot-section-nav a:hover { color: #64d8eb; border-color: #64d8eb; }
@media (max-width: 1100px) {
    .ot-hero-copy { max-width: 60%; font-size: 14px; }
}
@media (max-width: 767px) {
    .ot-hero-photo { left: 0; }
    .ot-hero::after { background: linear-gradient(90deg, #020d17e8, #020d17b3); }
    .ot-hero-inner { padding: 32px 0 35px; }
    .ot-hero h1 { font-size: clamp(32px, 8vw, 44px); }
    .ot-hero-subtitle { font-size: 28px; }
    .ot-hero-copy { max-width: 100%; font-size: 14px; }
    .ot-hero-copy br { display: none; }
    .ot-hero-side { display: none; }
    .ot-section-nav { position: static; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
}
/* #endregion */

/* #region 02 つくる・守る・次へ進む
======================================== */
.ot-values-intro { background: linear-gradient(90deg, #fffffff5, #ffffffbb), url("../images/Circuit design/青白回路基板ブループリント背景.png.webp") center / cover no-repeat; }
.ot-values-inner { position: relative; padding: 35px 0; }
.ot-values-inner .ot-copy { max-width: 900px; padding-left: 20px; }
.ot-values-side { position: absolute; right: 0; top: 55px; font: 11px/1.9 Georgia, serif; letter-spacing: .2em; }

/* 3枚の斜め区切りのカード */
.ot-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; background: #031522; }
.ot-value-card { position: relative; min-width: 0; min-height: 390px; color: #fff; overflow: hidden; }
.ot-value-image { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ot-value-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #00131e05 0%, #00131e88 33%, #00131ef0 64%, #00131e); }
.ot-value-card:not(:last-child)::after { content: ""; position: absolute; z-index: 3; right: 0; top: -20px; width: 2px; height: calc(100% + 40px); background: #e1f3ff; transform: rotate(13deg); transform-origin: center; }
.ot-value-content { position: relative; z-index: 2; padding: 145px 35px 32px; }
.ot-value-label { font: 13px/1.8 Georgia, serif; letter-spacing: .18em; margin-bottom: 12px; }
.ot-value-card h3 { font: 500 clamp(23px, 2.3vw, 34px)/1.5 "Yu Mincho", "YuMincho", serif; margin-bottom: 20px; }
.ot-value-content > p:last-child { font-size: 14px; line-height: 1.9; letter-spacing: .03em; }
@media (max-width: 1100px) {
    .ot-value-content { padding: 145px 22px 30px; }
    .ot-value-content > p:last-child { font-size: 13px; }
    .ot-value-content > p:last-child br { display: none; }
    .ot-values-side { display: none; }
}
@media (max-width: 767px) {
    .ot-values-inner { padding: 32px 0; }
    .ot-values-inner .ot-copy { padding-left: 0; }
    .ot-value-grid { grid-template-columns: 1fr; }
    .ot-value-card { min-height: 340px; }
    .ot-value-content { padding: 135px 25px 30px; }
    .ot-value-card h3 { font-size: 28px; }
    .ot-value-content > p:last-child { font-size: 14px; }
    .ot-value-card:not(:last-child)::after { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 1px; transform: none; }
}
/* #endregion */

/* #region 03 品質・姿勢・未来 共通の文章と右側写真
======================================== */
.ot-story { position: relative; overflow: hidden; border-top: 8px solid #fff; border-bottom: 1px solid #e3ecf2; background: #fff; }
.ot-story-photo { position: absolute; inset: 0 0 0 36%; }
.ot-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* 白いぼかし：文字の読みやすさを調整 */
.ot-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fffffff5 33%, #ffffffd9 44%, #ffffff55 61%, transparent 76%); pointer-events: none; }
/* 各文章エリアの上下余白・最低の高さ */
.ot-story-inner { position: relative; z-index: 1; min-height: 360px; padding: 32px 0; }
.ot-story .ot-heading { max-width: 800px; }
.ot-story .ot-copy { max-width: 850px; padding-left: 20px; }
.ot-story-side { position: absolute; right: 0; top: 65px; font: 11px/1.9 Georgia, serif; letter-spacing: .2em; color: #fff; text-shadow: 0 1px 5px #001323; }
@media (max-width: 1100px) {
    .ot-story .ot-copy { max-width: 70%; }
    .ot-story .ot-copy br { display: none; }
    .ot-story h2 { font-size: 32px; }
}
@media (max-width: 767px) {
    .ot-story { display: flex; flex-direction: column; border-top-width: 5px; }
    .ot-story-photo { position: static; order: 2; height: 210px; }
    .ot-story::after { display: none; }
    .ot-story-inner { order: 1; min-height: auto; padding: 30px 0; }
    .ot-story .ot-copy { max-width: 100%; padding-left: 0; }
    .ot-story h2 { font-size: 28px; }
    .ot-story-side { display: none; }
}
/* #endregion */

/* #region 04 姿勢・できる方法を考える
======================================== */
/* この項目だけ変更したい場合は以下で調整 */
.ot-attitude .ot-story-inner { min-height: 370px; }
.ot-attitude .ot-story-side { top: auto; bottom: 55px; }
@media (max-width: 767px) {
    .ot-attitude .ot-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 05 未来・技術を受け継ぐ
======================================== */
.ot-future .ot-story-inner { min-height: 350px; }
.ot-future .ot-story-photo { left: 40%; }
.ot-future .ot-story-side { top: auto; bottom: 65px; }
@media (max-width: 767px) {
    .ot-future .ot-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 06 理念メッセージ・海の写真
======================================== */
.ot-manifesto { position: relative; color: #fff; background: linear-gradient(90deg, #001b32cc, #001b3230), url("../images/Circuit design/夕焼けから星空へ続く天の川.png.webp") center / cover no-repeat; }
.ot-manifesto-inner { position: relative; min-height: 260px; padding: 30px 0 35px; }
.ot-manifesto-label { font: 11px/1.8 Georgia, serif; letter-spacing: .2em; margin-bottom: 12px; }
.ot-manifesto h2 { font-size: clamp(29px, 3.2vw, 48px); margin-bottom: 8px; }
.ot-manifesto-english { font: 17px/1.8 Georgia, serif; letter-spacing: .18em; margin-bottom: 12px; }
.ot-manifesto-copy { font-size: 15px; letter-spacing: .04em; }
.ot-manifesto-side { position: absolute; right: 0; bottom: 40px; font: 11px/1.9 Georgia, serif; letter-spacing: .18em; }
@media (max-width: 767px) {
    .ot-manifesto-inner { padding: 30px 0; min-height: 240px; }
    .ot-manifesto h2 { font-size: clamp(24px, 5.8vw, 32px); }
    .ot-manifesto-english { font-size: 12px; }
    .ot-manifesto-copy { font-size: 13px; }
    .ot-manifesto-side { display: none; }
}
/* #endregion */

/* #region 07 CONTACT・既存ページと統一
======================================== */
.ot-contact {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding: 65px 0;
  box-sizing: border-box;

  background:
    linear-gradient(
      90deg,
      rgba(0, 17, 34, 0.72) 0%,
      rgba(0, 25, 46, 0.30) 55%,
      rgba(0, 17, 34, 0.18) 100%
    ),
    url("../images/Circuit design/黄金の夕陽と跳ねるイルカの海.png.webp")
    center center / cover no-repeat;

  color: #ffffff;
}

/* コンテンツ全体 */

.ot-contact .contact-cta-inner {
  position: relative;
  z-index: 1;

  width: calc(100% - 80px);
  max-width: 1440px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

/* 左側 */

.ot-contact .contact-cta-content {
  max-width: 780px;
  flex: 1;
}

.ot-contact-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.ot-contact .contact-cta-title {
  margin: 0 0 22px;

  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.55;

  color: #ffffff;
}

.ot-contact .contact-cta-text {
  margin: 0 0 32px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;

  color: #ffffff;
}

/* ボタン */

.ot-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ot-contact-btn {
  min-height: 60px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.8);

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.ot-contact-btn-white {
  background: #ffffff;
  color: #102235;
}

.ot-contact-btn-white:hover {
  background: #e7f0f6;
  color: #102235;
}

.ot-contact-btn-dark {
  background: rgba(0, 13, 27, 0.78);
  color: #ffffff;
}

.ot-contact-btn-dark:hover {
  background: rgba(0, 45, 75, 0.85);
  color: #ffffff;
}

/* 右側の英語 */

.ot-contact-message {
  flex-shrink: 0;
  margin: 0;

  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.16em;
}

/* スマートフォン */

@media (max-width: 767px) {

  .ot-contact {
    min-height: auto;
    padding: 65px 0;

    background-position: 62% center;
  }

  .ot-contact .contact-cta-inner {
    width: calc(100% - 40px);
    display: block;
  }

  .ot-contact .contact-cta-title {
    font-size: 27px;
  }

  .ot-contact .contact-cta-text {
    font-size: 14px;
  }

  .ot-contact-buttons {
    flex-direction: column;
  }

  .ot-contact-btn {
    width: 100%;
    min-height: 56px;
  }

  .ot-contact-message {
    margin-top: 35px;
    font-size: 10px;
  }

}



/* #endregion */
@media (prefers-reduced-motion: reduce) {
    .ot-page * { scroll-behavior: auto !important; transition: none !important; }
}

/* 05 未来：白いグラデーションを右へ広げ、本文の背景を明るくする */
.ot-future::after {
    background: linear-gradient(90deg, #fff 0%, #fff 40%, #fffffff5 48%, #ffffffd9 57%, #ffffff55 70%, transparent 83%);
}

/* 写真と本文の位置を保ち、上端の余白にパンくずを配置 */
.ot-breadcrumb{position:absolute;top:8px;left:0;display:flex;align-items:center;gap:10px;font-size:11px;line-height:1.8;letter-spacing:.08em;color:#fff}.ot-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
