@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Antique&display=swap');

/* root */
:root {
  --pri-text: #333; /* dark grey */
  --sec-text: #808080; /* grey */
  --accent-text: #2d71aa;
  --pri-bg: #fff; /* white */
  --sec-bg: #f8f9fa; /* light grey */
  --accent-bg: #e0e0e0;
  --pri-theme: #134686; /* dull blue */
  --sec-theme: #004487; /* dark blue */
  --accent-theme: #2d71aa;
  --trans-theme: #6caeff33;
  --theme-text: #fff;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--pri-text);
  line-height: 1.8;
  font-size: 15px;
  background: var(--pri-bg);
  /* word-break: keep-all;
  overflow-wrap: break-word; */
}

h1, h2, h3, h4 {
  word-break: keep-all;
  overflow-wrap: break-word;
  font-feature-settings: "palt";
}

a {
  color: var(--pri-text);
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Utility ========== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.section-history .section-title {
  font-size: 12.6px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left;
  /* line-height: 1.5; */
  /* width: 200px; */
  /* letter-spacing: 0.25em; */
}

.section-history .section-title:before {
  content: attr(data-en);
  display: block;
  font-size: 25.2px;
  font-weight: 700;
  /* margin-bottom: 24px; */
  /* line-height: 1.5; */
  letter-spacing: 0.25em;
}

.section-title-left {
  text-align: left;
}

.section-lead {
  text-align: center;
  color: var(--sec-text);
  font-size: 18px;
  width: 620px;
  margin: 0 auto 48px;
  line-height: 1.9;
}

/* ========== Buttons ========== */
.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  line-height: 1;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  opacity: 0.85;
}

.btn-red {
  background: var(--pri-theme);
  color: var(--theme-text);
  border: 0;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-dark {
  background: #1a1a2e;
  color: #fff;
  border: 2px solid #1a1a2e;
}

.btn-lg {
  padding: 16px 48px;
  font-size: 16px;
}

/* ========== Header ========== */
.header {
  display: flex;
  position: sticky;
  justify-content: space-between;
  align-items: center;
  top: 0;
  z-index: 100;
  background: var(--pri-bg);
  border-bottom: 1px solid #eee;
}

.header-inner {
  width: 100%;
  min-width: 767px;
  margin: 0 auto;
  /* padding: 0 20px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-menu {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 40px;
  /* height: 64px; */
  margin-left: 40px;
}

.logo-image {
  height: 50px;
}

.logo-text-sm {
  font-size: 20px;
}

.gnav ul {
  display: flex;
  gap: 28px;
}

.gnav li a::after {
  display: inline-block;
  content: "∨";
  margin: 2px 6px 0;
  font-size: 8px;
  font-weight: 700;
}

.gnav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--pri-text);
  transition: color 0.2s;
}

.gnav a:hover {
  color: #e60012;
}

.nav-recruit {
  color: #e60012 !important;
  font-weight: 700 !important;
}

.header-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 200px;
  height: 64px;
  padding: 0 26px;
  background-color: var(--pri-theme);
  color: var(--theme-text);
  font-weight: 700;
  text-align: center;
}

.contact-icon {
  width: 26px;
  height: 20px;
  background-color: var(--theme-text);
  mask-image: url("/img/contact.png");
  mask-size: 100%;
  mask-repeat: no-repeat;
}

.contact-word::after {
  content: '＞';
  margin-left: 14px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  /* background: #0d0d1a; */
  /* color: #fff; */
  min-height: 665px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0 auto;
  /* max-width: 900px; */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-sp {
  display: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.35; */
  /* filter: brightness(80%); */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 50%, rgba(13,13,26,0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1024px;
  /* min-width: 640px; */
  margin: 0 auto;
  padding: 80px 120px 200px;
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: "palt";
  color: var(--theme-text);
  text-shadow: 0px -2px 2px rgba(0, 0, 0, 0.5),
               2px -2px 2px rgba(0, 0, 0, 0.5),
               2px 0px 2px rgba(0, 0, 0, 0.5),
               2px 2px 2px rgba(0, 0, 0, 0.5),
               0px 2px 2px rgba(0, 0, 0, 0.5),
               -2px 2px 2px rgba(0, 0, 0, 0.5),
               -2px 0px 2px rgba(0, 0, 0, 0.5),
               -2px -2px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  /* letter-spacing: 0.1em; */
}

.spacing {
  letter-spacing: -0.05em;
}

.hero-lead {
  font-size: 19px;
  line-height: 2;
  /* color: rgba(255,255,255,0.85); */
  color: var(--theme-text);
  text-shadow: 0px -2px 2px rgba(0, 0, 0, 0.5),
               2px -2px 2px rgba(0, 0, 0, 0.5),
               2px 0px 2px rgba(0, 0, 0, 0.5),
               2px 2px 2px rgba(0, 0, 0, 0.5),
               0px 2px 2px rgba(0, 0, 0, 0.5),
               -2px 2px 2px rgba(0, 0, 0, 0.5),
               -2px 0px 2px rgba(0, 0, 0, 0.5),
               -2px -2px 2px rgba(0, 0, 0, 0.5);
  font-feature-settings: "palt";
  margin-bottom: 36px;
  width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.news-area {
  position: relative;
  height: 60px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-contents {
  position: relative;
  margin: 0 auto;
  top: -190px;
  z-index: 2;
}

.news-title {
  font-weight: 700;
  color: var(--theme-text);
  margin: 6px 8px;
}

.news-frame {
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter:  blur(16px) brightness(140%);
}

.news-content {
  display: flex;
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.news-content a {
  color: var(--pri-text);
  word-break: normal;
}

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

.news-date {
  display: inline-block;
  width: 100px;
}

.news-details::details-content {
  transition: height 0.2s, opacity 0.2s, content-visibility 0.2s allow-discrete;
  height: 0;
  opacity: 0;
  overflow: clip;
}

.news-details[open]::details-content {
  opacity: 1;
}

.news-summary {
  display: grid;
  list-style-type: none;
}

.news-summary:hover {
  opacity: 0.8;
  cursor: pointer;
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords; /* height:0（数値型） → auto（文字型） のアニメーションを可能にするための指定 */
  }
  details[open]::details-content {
    height: auto;
  }
}

/* height:0→autoへのアニメーションが対応していない場合は、固定値にアニメーションさせる */
@supports not (interpolate-size: allow-keywords) {
  details[open]::details-content {
    height: 150px;
    overflow-y: scroll;
  }
}

/* ========== Section: Value ========== */
.section-value {
  background: var(--pri-bg);
}

.diamond-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 56px;
}

.diamond-block {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 60px;
  /* text-align: center; */
}

.description-text {
  width: 100%;
}

.diamond-label {
  font-size: 18px;
  font-weight: 600;
  color: var-(--sec-text);
  margin-bottom: 16px;
}

.diamond-body {
  font-size: 14px;
  margin: 10px 0;
}

.diamond-shape {
  position: relative;
  width: 300px;
  /* height: 300px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.diamond-bg {
  position: absolute;
  width: 150px;
  height: 150px;
  transform: rotate(45deg);
  border: 2px solid #ccc;
  top: 25px;
  left: 25px;
}

.diamond-layers {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.d-layer {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 3px;
}

.d-sw-small {
  background: #e8f4fd;
  color: #1976d2;
  font-size: 11px;
}

.d-ecu {
  background: #fff3e0;
  color: #e65100;
}

.d-hw {
  background: #e0e0e0;
  color: #555;
  padding: 12px 24px;
}

.d-sw-large {
  background: #1976d2;
  color: #fff;
  padding: 18px 24px;
  font-size: 14px;
}

.d-ecu-sm {
  background: #fff3e0;
  color: #e65100;
  font-size: 11px;
}

.d-hw-sm {
  background: #e0e0e0;
  color: #555;
  font-size: 11px;
}

.diamond-arrow-wrap {
  display: flex;
  align-items: center;
  padding-top: 40px;
}

.diamond-arrow {
  font-size: 28px;
  color: #999;
}

/* Flow Section */
.flow-section {
  display: flex;
  flex-direction: column;
  background: var(--sec-bg);
  border-radius: 8px;
  padding: 32px 100px;
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.flow-row:last-child {
  margin-bottom: 0;
}

.flow-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: var(--pri-bg);
  border: 2px solid #ddd; */
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 250px;
  min-width: 130px;
}

.flow-round {
  background: var(--pri-bg);
  border: none;
  border-radius: 22px;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  width: 160px;
  min-width: 130px;
  line-height: 1;
  z-index: 1;
}

.flow-icon {
  width: 120px;
  padding: 10px;
}

.flow-icon-label-jp {
  font-size: 19px;
  color: var(--pri-text);
}

.flow-icon-label-en {
  font-size: 14px;
  color: #aab8c4;
}

.flow-dark {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

.flow-accent {
  background: #e60012;
  color: #fff;
  border-color: #e60012;
}

.flow-gray {
  background: #d8d8d8;
  color: #000;
  border-color: #1a1a2e;
}

.flow-active {
  background: var(--sec-theme);
  color: var(--theme-text);
  border-color: #1a1a2e;
}

.flow-connector {
  font-size: 20px;
  color: #999;
  flex-shrink: 0;
}

.flow-divider {
  position: relative;
  height: 50px;
  /* border-left: 2px dashed #ccc; */
  margin: 0 auto;
  /* width: 0; */
}

.flow-divide-line {
  position: absolute;
  top: -100px;
  height: 300px;
  border-left: 2px dashed #ccc;
}

.flow-divide-text {
  position: relative;
  top: -50px;
  height: auto;
  width: 330px;
  padding: 10px;
  background-color: var(--sec-bg);
  text-align: center;
  font-size: 19px;
  font-weight: 900;
}

/* ========== Section: Why ========== */
.section-why {
  background: var(--sec-bg);
}

.why-header {
  margin-bottom: 40px;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: #e60012;
  margin-top: 12px;
}

.why-body {
    font-size: 14px;
    margin: 10px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 44px;
  align-items: center;
}

.why-image {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a40, #1a1a2e);
  min-height: 280px;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.img-fallback {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.why-features {
  display: flex;
  /* flex-direction: column; */
  gap: 12px;
  width: 400px;
}

.why-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 180px;
}

.why-feature-pseudo {
  position: relative;
}

.nearly-equal {
  position: absolute;
  top: 18px;
  left: -26px;
  color: #5ce1e6;
  font-size: 72px;
  font-weight: 900;
  text-shadow: 0px 0px 12px rgba(92, 225, 230, 1)
}

.feature-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-circle span {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
}

.feature-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 20px;
  font-weight: 600;
}

.feature-icon-box img {
  width: 100px;
  margin: 10px;
}

.feature-icon-label-jp {
  font-size: 19px;
  color: #000;
}

.feature-icon-label-en {
  font-size: 14px;
  color: #aab8c4;
}

.feature-content {
  width: 100%;
  padding: 12px 10px;
  background-color: var(--accent-bg);
  border-radius: 7px;
  text-align: center;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  /* margin-bottom: 4px; */
}

.feature-desc {
  font-size: 13px;
  color: var(--sec-text);
  line-height: 1.7;
}

/* ========== Section: History ========== */
.section-history {
  background: var(--pri-bg);
  padding: 64px 0 128px;
}

.history {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.timeline {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 500px;
  padding-top: 32px;
}

.timeline-line {
  position: absolute;
  top: -152px;
  /* left: 10%;
  right: 10%; */
  width: 3px;
  height: 1040px;
  background: var(--sec-theme);
}

.timeline-item.odd {
  display: flex;
  /* flex-direction: column; */
  flex-direction: row;
  text-align: center;
  position: relative;
  flex: 1;
  align-items: center;
}

.timeline-item.even {
  display: flex;
  /* flex-direction: column; */
  flex-direction: row-reverse;
  text-align: center;
  position: relative;
  flex: 1;
  align-items: center;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: #1a1a2e;
  border-radius: 50%;
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-year {
  background-color: var(--sec-theme);
  color: var(--theme-text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  width: 50px;
  margin: 0 auto;
}

.timeline-leaderline {
  position: absolute;
  box-sizing: border-box;
  height: 1px;
  width: 100px;
  border-top: var(--sec-theme) dotted 2px;
}

.timeline-circle-pseudo {
  width: 0;
  height: 120px;

  display: flex;
  flex-direction: row;
  align-items: center;
}

.timeline-circle-pseudo.even {
  display: flex;
  flex-direction: row-reverse;
}
 
.timeline-circle {
  background-color: var(--sec-theme);
  color: var(--theme-text);
  width: 180px;
  height: 180px;
  border-radius: 90px;
  position: absolute;
  margin: 40px;
}
/* 
.timeline-circle.odd {
  top: -75px;
  left: 100px;
}
 */
/* 
.timeline-circle.even {
  top: -75px;
  left: -200px;
  right: 0;
}
 */
.timeline-title {
  font-size: 15px;
  font-weight: 700;
  padding: 30px 0 10px;
  line-height: 1.4;
}

.timeline-desc {
  font-size: 12px;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: normal;
}

.history-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 380px;
  gap: 40px;
}

.history-topic {
  width: 100%;
  border: var(--sec-theme) solid;
  border-radius: 6px;
  padding: 16px 10px 16px 30px;
}

.topic-wrapper {
  display: flex;
  flex-direction: row;
  align-items: end;
}

.topic-image {
  width: 80px;
  height: 80px;
}

.trademark_desc {
  font-size: 11px;
  width: 100%;
  margin-top: 20px;
  text-align: right;
}

/* ========== Section: Reasons ========== */
.section-reasons {
  /* background: var(--pri-bg); */
  background: var(--sec-bg);
}

.reasons-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.reason-box {
  /* background: var(--sec-bg); */
  background: var(--pri-bg);
  border: 2px solid var(--pri-theme);
  border-radius: 8px;
  padding: 32px 42px;
  text-align: center;
  min-width: 180px;
}

.reason-box h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.reason-resource h3 {
  font-size: 22px;
  text-align: left;
}

.reason-resource p {
  font-size: 18px;
  text-align: left;
  margin-bottom: 18px;
}

.reason-container {
  display: flex;
}

.reason-connector-area {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.connector-line {
  width: 40px;
  height: 2px;
  background: #ccc;
}

.reason-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 0 1 55%;
  align-items: center;
}

.reason-japan {
  flex: 0 1 45%;
  padding: 20px 30px;
}

.reason-america {
  /* background: #1a1a2e; */
  color: #fff;
  border-color: #1a1a2e;
  padding: 60px 30px 40px;
}

.reason-engineer {
  width: 120px;
  height: 120px;
}

.reason-number {
  background: var(--pri-bg);
  /* border: 2px solid #e60012; */
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  padding: 0 40px 0 20px;
}

.big-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-text);
  /* line-height: 1.1; */
  padding: 0 8px;
}

.num-unit {
  font-size: 24px;
  font-weight: 600;
}

.num-label {
  font-size: 14px;
  color: var(--sec-text);
  margin-top: 4px;
}

.align-left {
  margin: 0;
  padding: 0;
  text-align: left;
  line-height: 1.2;
  font-size: 24px;
}

.align-right {
  margin: 0;
  padding: 0;
  text-align: right;
  line-height: 1.2;
}

.big-dev {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-text);
}

.reasons-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.reason-card-sm {
  background: var(--pri-bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
}

.reason-card-sm h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--pri-text);
}

.reason-card-sm p {
  font-size: 16px;
  color: var(--sec-text);
  line-height: 1.8;
  word-break: normal;
  overflow-wrap: break-word;
}

.dev-flow {
  padding: 30px 10px 0;
}

.dev-case {
  padding: 60px 10px 0;
}

/* ========== Section: Approach ========== */
.section-approach {
  background: var(--pri-bg);
  /* background: var(--sec-bg); */
}

.approach-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;

}

.approach-card {
  position: relative;
  background: var(--pri-bg);
  border-radius: 6px;
  border: 2px solid var(--pri-theme);
  padding: 32px 40px 40px;
  margin-bottom: 38px;
  width: 48%;
  transition:
    transform 0.2s,
    background-color 0.4s;
}

.approach-card:hover {
  transform: translateY(-8px);
  background: var(--trans-theme);
}

.approach-card h3 {
  font-size: 24px;
  color: var(--pri-text);
}

.approach-content {
  background: inherit;
  /* border-radius: 8px; */
  /* border: 1px solid #eee; */
  /* padding: 40px; */
  margin-bottom: 120px;
}

.approach-content:last-child {
  margin-bottom: 0;
}

.approach-body {
  display: flex;
  /* grid-template-columns: 1fr 1fr; */
  gap: 80px;
  align-items: start;
}

.approach-body-reverse {
  direction: rtl;
}

.approach-body-reverse > * {
  direction: ltr;
}

.approach-overview {
  flex-shrink: 0;
  width: auto;
}

.approach-num {
  /* font-size: 42px; */
  font-weight: 700;
  color: var(--accent-text);
  line-height: 1;
  margin-bottom: 8px;
  margin-right: 8px;
}

.approach-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.approach-card .approach-sub {
  font-size: 20px;
  font-weight: 600;
  /* color: var(--pri-text); */
  margin: 10px 0 20px;
  line-height: 1.7;
}

.approach-sub {
  font-size: 20px;
  font-weight: 600;
  color: var(--pri-text);
  margin-bottom: 12px;
  line-height: 1.7;
  font-feature-settings: "palt";
}

.string-light {
  color: var(--sec-text);
}

.approach-tag {
  background-color: var(--sec-theme);
  color: var(--theme-text);
  font-size: 15px;
  font-weight: 700;
  margin-right: 12px;
  padding: 8px 12px;
  border-radius: 6px;
}

.approach-arrow {
  position: absolute;
  padding: 30px;
  bottom: 0;
  right: 0;
  font-size: 22px;
}

.approach-icon {
  background-color: #333;
  border-radius: 6px;
  padding: 20px;
}

.approach-icon img {
  width: 160px;
}

.approach-desc {
  font-size: 15px;
  color: var(--sec-text);
  line-height: 1.9;
  max-width: 350px;
}

.approach-visual-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 350px;
  margin-bottom: 20px;
}

.approach-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 200px;
  background-color: #333;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

#app02-structure {
  width: 200px;
}

#app03-basis {
  width: 120px;
}

#app04-method {
  width: 240px;
}

.approach-icon-label-jp {
  font-size: 19px;
  text-align: center;
  color: #fff;
}

.approach-icon-label-en {
  font-size: 19px;
  text-align: center;
  color: #aab8c4;
}

.approach-vis-line {
  background-color: #8b86a7;
  width: 60px;
  height: 2px;
}

.approach-elem-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-top: 20px;
}

.approach-elem-title {
  font-size: 18px;
  font-weight: 700;
}

.approach-elem-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.approach-fact {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.approach-fact img {
  height: 30px;
  margin-right: 8px;
}

.approach-arrowdown {
  height: 40px;
  width: 40px;
  margin: 0 auto;
}

.approach-element {
  display: flex;
  flex-direction: row;
  gap: 20px
}

.desc-icon{
  background-color: #333;
  border-radius: 6px;
  width: 80px;
  height: 80px;
  padding: 10px;
  flex-shrink: 0;
}
/* 
.desc-icon img{
  width: 160px;
  height: 160px;
}
 */

/* .desc-group {
  width: 400px;
} */

.desc-title {
  font-size: 15px;
  font-weight: 700;
}

/* Visual diagrams */
.vis-flow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vis-box {
  background: #f0f4f8;
  border: 2px solid #d0d8e0;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-width: 90px;
}

.vis-arrow {
  font-size: 18px;
  color: #999;
}

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

.vis-org {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vis-box-dark {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

.vis-box-sm {
  padding: 10px 12px;
  font-size: 12px;
  min-width: auto;
}

.vis-org-line {
  width: 2px;
  height: 20px;
  background: #ccc;
}

.vis-org-row {
  display: flex;
  gap: 10px;
}

.vis-cycle {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cycle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f4f8;
  border: 2px solid #d0d8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cycle-step span {
  font-size: 13px;
  font-weight: 600;
}

.cycle-conn {
  font-size: 18px;
  color: #999;
  margin-top: -20px;
}

/* ========== Section: Datecenter ========== */
.section-datacenter {
  position: relative;
  background: var(--sec-bg);
  padding-top: 0;
  margin-top: 80px;
}

.section-cover {
  /* position: absolute; */
  inset: 0;
  z-index: 0;
  height: 420px;
  /* background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), rgba(248,249,250,1)), linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(/img/AdobeStock_224235806_sample.jpg); */
  background-size: cover;
  background-position: center;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2), rgba(248,249,250,1));
  /* margin-bottom: 80px; */
}

.section-cover img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 600px;
  object-fit: cover;
  /* opacity: 0.35; */
}

.cover-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px 20px;
  font-size: 50.3px;
  color: var(--pri-theme);
  text-shadow: 0px -2px 2px rgba(255, 255, 255, 0.5),
               2px -2px 2px rgba(255, 255, 255, 0.5),
               2px 0px 2px rgba(255, 255, 255, 0.5),
               2px 2px 2px rgba(255, 255, 255, 0.5),
               0px 2px 2px rgba(255, 255, 255, 0.5),
               -2px 2px 2px rgba(255, 255, 255, 0.5),
               -2px 0px 2px rgba(255, 255, 255, 0.5),
               -2px -2px 2px rgba(255, 255, 255, 0.5);
}

.cover-sub {
  font-family: "Shippori Antique", sans-serif;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 26.3px;
  color: #f1f8fd;
  text-shadow: 0px -2px 2px rgba(0, 0, 0, 0.5),
               2px -2px 2px rgba(0, 0, 0, 0.5),
               2px 0px 2px rgba(0, 0, 0, 0.5),
               2px 2px 2px rgba(0, 0, 0, 0.5),
               0px 2px 2px rgba(0, 0, 0, 0.5),
               -2px 2px 2px rgba(0, 0, 0, 0.5),
               -2px 0px 2px rgba(0, 0, 0, 0.5),
               -2px -2px 2px rgba(0, 0, 0, 0.5);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-body {
  font-size: 18px;
}

.section-body sub{
  vertical-align: baseline;
  font-size: 8px;
}

.supp {
  display: inline-block;
  width: 100%;
  font-size: 12px;
  text-align: right;
}

/* ========== Section: Contact ========== */
.section-contact {
  background: var(--pri-bg);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  /* grid-template-columns: 1fr 1fr; */
  gap: 20px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* gap: 16px; */
}

.contact-row {
  display: flex;
  flex-direction: column;
  flex: 0 2 50%;
  align-items: start;
  margin: 10px 0;
  padding: 0 20px;
  width: 50%;
}

.contact-inquiry {
  display: flex;
  flex-direction: column;
  flex: 0 2 100%;
  align-items: start;
  margin: 10px 0;
  padding: 0 20px;
  gap: 16px;
}

.contact-badge {
  display: inline-block;
  /* background: #1a1a2e; */
  /* color: #fff; */
  font-size: 15px;
  font-weight: 600;
  padding: 4px 0;
  border-radius: 3px;
  min-width: 64px;
  text-align: center;
}

.contact-badge.required::after {
  content: "必須";
  margin: 0 10px;
  padding: 0 12px;
  color: #fff;
  background-color: #ea5145;
  font-size: 13px;
}

.contact-badge.optional::after {
  content: "任意";
  margin: 0 10px;
  padding: 0 12px;
  color: #fff;
  background-color: #b4b4b4;
  font-size: 13px;
}

.contact-val {
  background-color: #f1f8fd;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border: 0;
  border-radius: 9px;
  width: 100%;
}

.contact-text {
  background-color: #f1f8fd;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border: 0;
  border-radius: 9px;
  resize: vertical;
  width: 100%;
  height: 200px;
}

.contact-agree {
  display: flex;
  flex-direction: column;
  margin: 0 40px;
  width: 100%;
}

.contact-privacy {
  background-color: #f1f8fd;
  font-size: 15px;
  font-weight: 500;
  margin: 0 20px;
  padding: 12px 24px;
  border: 0;
  border-radius: 9px;
  text-align: center;
}

.contact-check {
  text-align: center;
}

.contact-submit {
  display: flex;
  flex-direction: column;
}

.contact-btn {
  background-color: var(--accent-theme);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 10px 40px;
  /* width: 100px;
  height: 80px; */
}

.contact-action {
  text-align: center;
}

/* ========== Section: Base ========== */
.base-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.base-card {
  display: flex;
  border: 1px solid var(--pri-theme);
  border-radius: 6px;
  padding: 20px;
}

.base-info {
  flex: 1;
  padding-right: 32px;
}

.base-separator {
  margin: 18px 0;
  border: 1px solid #e0e0e0;
}

.base-access {
  list-style: disc inside;
}

.base-map {
  width: 400px;
}

/* ========== Section: Company ========== */
.section-company {
  background: var(--sec-bg);
}

.company-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.7;
  vertical-align: top;
}

.company-table th {
  text-align: left;
  font-weight: 600;
  width: 140px;
  color: var(--pri-text);
}

.company-table td {
  color: var(--pri-text);
}

.footer-menu {
  display: flex;
  justify-content: space-around;
  max-width: 1024px;
  margin: 120px auto 40px;
}

.footer-menu-inner {
  display: flex;
  gap: 40px;
}

.footer-logo {
  height: 50px;
}

.footer-menu-ul {
  margin: 18px 0;
  font-weight: 700;
}

.footer-menu-li a {
  color: var(--pri-text);
}

.footer-cert-inner {
  display: flex;
  align-items: end;
}

.cert-privacy {
  height: 133px;
}

.cert-iso26262 {
  height: 120px;
}

/* ========== Footer ========== */
.footer {
  /* background: #1a1a2e; */
  background: var(--accent-theme);
  /* padding: 32px 0; */
}

.footer-inner {
  width: 100%;
  min-width: 767px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .logo-text {
  font-size: 14px;
  color: var(--theme-text);
}

.footer .logo-text a {
  color: var(--theme-text);
  margin: 0 8px;
}

.copyright {
  font-size: 12px;
  color: var(--theme-text);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .section-history .section-title {
    width: 50%;
  }

  /* .header {
    display: block;
    position: relative;
  } */

  .header-inner {
    height: auto;
    align-items: start;
    min-width: unset;
  }

  /* .header a {
    position: absolute;
  } */

  .header-menu {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0;
    margin-left: 10px;
  }

  .logo-image {
    margin: 5px 0;
  }

  .gnav ul {
    gap: 16px;
    height: 42px;
    align-items: center;
  }

  .gnav a {
    font-size: 12px;
  }

  .hero-bg {
    display: none;
  }

  .hero-bg-sp {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-bg-sp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity: 0.35; */
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-content {
    padding: 60px 20px 110px;
  }

  .hero-buttons {
    gap: 12px;
    margin-bottom: 240px;
  }

  .btn-red {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  .header-contact {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 60px;
  }

  .hero-lead {
    width: 100%;
    height: 190px;
    margin-bottom: 64px;
  }

  .news-area {
    position: relative;
    height: 10px;
  }

  .news-contents {
    position: relative;
    width: auto;
    margin: 40px auto;
    top: -340px;
    z-index: 2;
  }

  .news-frame {
    margin: 8px;
  }

  .news-content {
    display: flex;
    flex-direction: column;
    white-space: normal;
    overflow: visible;
    margin: 8px 0;
  }

  .section-title {
    text-align: left;
    font-size: 32px;
  }

  .section-lead {
    text-align: left;
    font-size: 20px;
    width: 100%;
    margin-bottom: 48px;
    line-height: 1.9;
    word-break: normal;
  }

  .diamond-row {
    flex-direction: column;
    gap: 24px;
  }

  .diamond-block {
    display: flex;
    flex-direction: column-reverse;
  }

  .description-text {
    width: 100%;
  }

  .diamond-arrow-wrap {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .flow-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .flow-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    /* width: 120px; */
    height: 220px;
    margin-bottom: 0;
  }

  .flow-row:last-child {
    height: 240px;
  }

  .flow-box {
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    width: 130px;
    min-width: 100px;
  }

  .flow-box:last-child {
    height: 154px;
  }

  .flow-icon {
    width: auto;
    height: 80px;
    padding: 10px;
  }

  .flow-icon-label-jp {
    font-size: 14px;
  }

  .flow-round {
    font-size: 12px;
    width: 80px;
    min-width: unset;
    z-index: 1;
  }

  .flow-divider {
    /* width: 0; */
    height: 20px;
    margin: 0;
  }

  .flow-divide-line {
    top: -100px;
    /* left: -120px; */
    /* width: 260px; */
    height: 250px;
    /* border-top: 2px dashed #ccc; */
  }

  .flow-divide-text {
    top: -20px;
    /* left: -100px; */
    width: 220px;
    font-size: 12px;
  }

  .flow-connector {
    transform: rotate(90deg);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-features {
    justify-content: space-around;
    width: auto;
  }

  .why-feature-item {
    width: auto;
  }

  .history {
    display: flex;
    flex-direction: column;
  }

  .timeline {
    width: auto;
    margin-bottom: 200px;
  }

  .timeline-line {
    top: -164px;
  }

  .timeline-circle {
    width: 152px;
    height: 152px;
    margin: 10px;
  }

  .timeline-title {
    font-size: 12px;
    padding: 26px 0 8px; 
  }

  .timeline-desc {
    font-size: 11px;
  }

  .history-container {
    width: auto;
  }

  .reasons-top {
    flex-direction: column;
    gap: 16px;
  }

  .reason-box {
    padding: 20px;
  }

  .reason-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .reason-inner {
    justify-content: center;
    align-items: end;
  }
  
  .reason-japan {
    padding: 0;
  }

  .reason-america {
    padding: 60px 0;
  }

  .reason-engineer {
    width: 80px;
    height: 80px;
  }

  .reason-number {
    max-width: 300px;
    padding: 0 0 0 20px;
  }

  .dev-flow {
    padding: 40px 10px 0;
  }

  .dev-case {
    padding: 30px 10px 0;
  }

  .connector-line {
    width: 2px;
    height: 24px;
  }

  .reason-connector-area {
    padding: 0;
  }

  .reasons-bottom {
    grid-template-columns: 1fr;
  }

  .approach-layout {
    display: flex;
    flex-direction: column;
  }

  .approach-overview {
    width: auto;
  }

  .approach-card {
    padding: 16px 20px 24px;
    width: 100%;
  }

  .approach-arrow {
    padding: 18px 20px;
  }

  .approach-body,
  .approach-body-reverse {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: 1fr; */
    direction: ltr;
  }

  .approach-visual {
    width: auto;
  }

  .desc-group {
    width: auto;
  }

  .cover-main {
    width: auto;
    padding: 60px 20px 20px;
    font-size: 32px;
    text-align: center;
  }

  .cover-sub {
    width: auto;
    padding: 0 20px;
    font-size: 22px;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-action {
    text-align: left;
  }

  .base-card {
    display: flex;
    flex-direction: column;
  }

  .base-map {
    width: auto;
  }

  .map-frame {
    width: auto;
    height: auto;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0;
  }

  .footer-menu-ul {
    margin: 18px;
  }

  .footer-cert-inner {
    justify-content: space-around;
    align-items: center;
    padding: 20px;
  }

  .cert-privacy {
    height: auto;
  }

  .cert-iso26262 {
    height: auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    min-width: unset;
    text-align: center;
  }

  .vis-flow {
    flex-direction: column;
  }
}
