/* 
共通項目 
*/
:root {
  --color-bg: #ffffff;
  --color-text: #2a313c;
  --color-pretitle: rgba(130, 130, 130, 0.5);
  --color-button: #1a2930;
  --color-accent: #a8dce2;
  --color-gradient: linear-gradient(141deg, #d5ebef 9.26%, #a8dce2 95.76%);
  --font-family-base: "noto-sans-jp", sans-serif;
  --font-family-heading: "Josefin Sans", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  --spacing-base: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--color-text);
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

p {
  margin: 0 0 20px;
  padding: 0;
}
p:last-child,
p:last-of-type {
  margin-bottom: 0;
}

.site-top-inner {
  width: 92%;
  height: 100%;
  max-width: 1200px;
  color: var(--color-darkslategray);
  margin: auto;
  padding: 100px 0;
  @media screen and (max-width: 768px) {
    padding: 70px 0;
  }
}

.frame-parent {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 100%;
  gap: 60px;
  @media screen and (max-width: 768px) {
    gap: 45px;
  }
}

.pc {
  display: block;
  @media screen and (max-width: 768px) {
    display: none;
  }
}
.sp {
  display: none;
  @media screen and (max-width: 768px) {
    display: block;
  }
}

/* タイトル */
.h1 {
  margin: 0;
  font-size: 40px;
  letter-spacing: 0.07em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.8px;
  z-index: 3;
  @media screen and (max-width: 768px) {
    font-size: 36px;
  }
}
h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.07em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.8px;
  z-index: 3;
  text-align: center;
  @media screen and (max-width: 768px) {
    font-size: 28px;
  }
}
h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.07em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.8px;
  z-index: 3;
  text-align: center;
  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}
h4 {
  width: 100%;
  padding: 5px 0;
  text-align: center;
  font-size: 18px;
  background: var(--color-accent);
  margin: 0;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

/* セクションタイトル */
.section-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.section-label {
  margin: 0;
  flex: 1;
  position: relative;
  font-size: 24px;
  line-height: 22.6px;
  font-family: var(--font-family-heading);
  display: inline-block;
  flex-shrink: 0;
  max-width: 100%;
  z-index: 4;
  color: var(--color-pretitle);
  @media screen and (max-width: 850px) {
    font-size: 20px;
  }
}
.section-text {
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

/* ボタン */
.cta-parent {
  display: flex;
  align-items: center;
  max-width: 100%;
  flex-direction: row;
  justify-content: center;
  gap: 24.2px;
  flex-wrap: wrap;
}
.dl,
.contact {
  cursor: pointer;
  border: 0;
  padding: 0;
  border-radius: 5px;
  flex: 1;
  position: relative;
  min-width: 280px;
  max-width: 250px;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 3px 4px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  padding: 20px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  @media screen and (max-width: 768px) {
    padding: 15px 20px;
  }
}
.dl {
  background: var(--color-gradient);
  color: var(--color-button);
}
.contact {
  background: #ffffff;
  color: var(--color-button);
}
.dl:hover,
.contact:hover {
  transform: translateY(-2px);
  box-shadow: 3px 6px 8px rgba(0, 0, 0, 0.35);
}
.dl:active,
.contact:active {
  transform: translateY(0);
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
}
.dl span,
.contact span {
  display: contents;
  align-self: stretch;
  position: relative;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1;
  font-family: var(--font-noto-sans-jp);
  text-align: left;
  z-index: 2;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}
.ellipse-parent {
  height: 32px;
  width: 32px;
  position: relative;
}
.ellipse-div {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.ellipse-parent svg {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 15px;
  height: 13.2px;
  z-index: 4;
}
.dl .ellipse-div {
  background-color: #ffffff;
}
.contact .ellipse-div {
  background-color: var(--color-button);
}
.dl .ellipse-parent svg path {
  stroke: var(--color-button);
}
.contact .ellipse-parent svg path {
  stroke: #ffffff;
}

/* リスト */
.normal-column ul {
  list-style: none;
  padding: 15px;
}
.normal-column ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.normal-column ul li:last-child {
  margin-bottom: 0;
}
.normal-column ul li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-accent);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* 2グリッドレイアウト */
.two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.grid-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  text-align: center;
  padding: 40px 30px;
  background-color: #f0f0f0;
  border-radius: 20px;
  position: relative;
  max-width: 550px;
  @media screen and (max-width: 768px) {
    padding: 30px 20px;
    margin: 0 auto;
  }
}
.grid-box .number {
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 100px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-family-heading);
  z-index: 1;
  @media screen and (max-width: 768px) {
    font-size: 80px;
  }
}
.grid-content-image {
  width: 100%;
  max-width: 450px;
}
.grid-content-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.grid-content-text {
  text-align: left;
}

/* 2カラムレイアウト */
.alt-column,
.normal-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  @media screen and (max-width: 768px) {
    gap: 60px;
  }
}
.two-column {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 30px;
  }
}
.alt-column .two-column:nth-child(even) {
  @media screen and (max-width: 768px) {
    flex-direction: column-reverse;
  }
}
.column-content-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}
.column-content-text > div {
  width: 100%;
}
.column-content-link {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
}
.column-content-link a {
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.column-content-link a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text);
}
.column-content-link a:hover {
  transform: translateY(-2px);
}
.column-content-image {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: auto;
}
.column-content-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 
MVエリア
  */
section.hero {
  width: 100%;
  background: var(--color-gradient);
  overflow: hidden;
}
.hero-child {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 30px;
  }
}
/* MV左カラム */
.hero-child-left {
  width: 55%;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}
.hero-child-left-inner {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
  max-width: 100%;
}
.hero-child-left-inner .image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
}
.hero-child-left-inner .text {
  font-size: 18px;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}
.mv-cta {
  width: 100%;
  margin-top: 40px;
  @media screen and (max-width: 768px) {
    margin: 30px auto 0;
  }
}
.mv-cta .dl {
  background: var(--color-button);
  color: #ffffff;
}
/* アイキャッチ右カラム */
.hero-child-right {
  flex: 1;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
}
.hero-child-right img {
  width: 100%;
  height: auto;
  max-width: 500px;
  max-height: 100%;
  object-fit: obtain;
}

/*
SOLUTION
*/
.solution-inner {
  max-width: 800px;
  margin: 0 auto;
}
.solution-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/*
CTA
*/
.cta {
  width: 100%;
  background: var(--color-button);
}
.cta-text {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 40px;
  text-align: center;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 2;
  @media screen and (max-width: 768px) {
    font-size: 20px;
    padding-bottom: 30px;
  }
}
.cta-contact {
  background: var(--color-text);
  padding: 40px;
  max-width: 800px;
  margin: 50px auto 0;
  @media screen and (max-width: 768px) {
    padding: 30px;
    margin: 30px auto 0;
  }
}
.cta-contact p {
  color: #ffffff;
}
.cta-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 20px;
  }
}
.cta-col p {
  width: 50%;
  @media screen and (max-width: 768px) {
    width: 100%;
    text-align: center;
  }
}

/*
PRODUCTS
*/
.products {
  background: var(--color-gradient);
}
.products .column-content-image {
  background: #ffffff;
}
.products .column-content-image img {
  max-width: 500px;
}

/*
  APPLICATIONS
  */
.applications .column-content-image {
  background: var(--color-accent);
}
