@charset "UTF-8";

/* ページ全体のスタイル
------------------------------------------ */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  font-size: clamp(16px, 2vw, 20px);
  background: linear-gradient(to right, #3b4f77 50%, #ffffff 50%);
}

h2 {
  font-size: clamp(24px, 5vw, 40px);
  color: #4ebfd6;
}

.subtitle {
  font-size: clamp(18px, 3.5vw, 26px);
  color: #005595;
}

h3 {
  font-size: clamp(20px, 4vw, 28px);
  color: #005595;
}

a {
  color: #000000;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

li {
  list-style: none;
}

/* ヘッダー
------------------------------------------ */

main {
  padding-top: 50px;
}

@media screen and (max-width: 1024px) {
  main {
    padding-top: 60px;
  }
}

#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 1024px) {
  #header {
    height: 60px;
  }
}

#header .logo {
  width: 100%;
  max-width: 220px;
  line-height: 0;
}

@media screen and (max-width: 1024px) {
  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -120%;
    z-index: 20;
    transition: all 0.6s;
  }

  #header .navi.active {
    left: 0;
  }
}

@media screen and (max-width: 1024px) {
  #header .logo {
    max-width: 180px;
  }
}

#header .logo a {
  display: block;
}

#header .navi .menu {
  display: flex;
  align-items: center;
  font-size: 14px;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }
}

#header .navi .menu > li {
  margin-left: 40px;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu > li {
    width: 100%;
    border-top: solid 1px #1f1f1f;
    margin-left: 0;
  }

  #header .navi .menu > li a {
    width: 100%;
    display: block;
    padding: 20px;
  }
}

#header .navi .menu .menu-first {
  position: relative;
}

#header .navi .menu .menu-first span {
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu .menu-first span {
    display: block;
    padding: 20px;
  }

  #header .navi .menu .menu-first span::before {
    content: "";
    width: 15px;
    height: 1px;
    background-color: #1f1f1f;
    position: absolute;
    top: 30px;
    right: 20px;
  }
}

#header .navi .menu menu-first span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 20px;
  transform: rotate(135deg);
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-right: 1px solid transparent;
  border-top: 1px solid #000000;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu .menu-first span::after {
    width: 1px;
    height: 15px;
    background-color: #1f1f1f;
    border: none;
    transform: none;
    position: absolute;
    top: 23px;
    right: 26px;
    left: auto;
  }

  #header .navi .menu .menu-first span.active::after {
    content: none;
  }
}

#header .navi .menu .menu-first .menu-second {
  width: 140px;
  background-color: #ffffff;
  padding: 10px 20px;
  position: absolute;
  top: 50px;
  left: 0;
  display: none;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu .menu-first .menu-second {
    width: 100%;
    position: static;
    padding: 0 0 0 40px;
  }
}

#header .navi .menu .menu-first .menu-second li {
  margin-bottom: 10px;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu .menu-first .menu-second li {
    border-top: solid 1px #eee;
    margin-bottom: 0;
  }
}

#header .navi .menu .menu-contact a {
  background-color: #1e2d59;
  border-radius: 30px;
  color: #ffffff;
  display: block;
  font-weight: 500;
  padding: 8px 30px;
  text-align: center;
  cursor: pointer;
}

#header .navi .menu .menu-contact a:hover {
  background-color: #fff;
  color: #1e2d59;
  border: 2px solid #1e2d59;
}

@media screen and (max-width: 1024px) {
  #header .navi .menu .menu-contact {
    padding: 30px 0;
  }

  #header .navi .menu .menu-contact a {
    max-width: 160px;
    margin: 0 auto;
  }
}

#header .mask {
  display: none;
}

@media screen and (max-width: 1024px) {
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }

  #header .hamburger span {
    width: 30px;
    height: 1px;
    background-color: #1f1f1f;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }

  #header .hamburger.active span {
    background-color: #fff;
  }

  #header .hamburger span:nth-of-type(1) {
    top: 16px;
  }

  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }

  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }

  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }

  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }

  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }

  #header .mask.active {
    width: 100%;
    height: 100%;
    background: #1e2d59;
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
  }
}

.logo-img {
  max-width: 37%;
}

.menu-text:hover {
  color: #1e2d59;
}

/* FV
------------------------------------------ */

/* 共通スタイル（モバイルファースト） */
.fv {
  width: 100%;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.fv-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fv-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.fv-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 77%); */
  z-index: 2;
  pointer-events: none;
}

.fv-text {
  position: relative;
  z-index: 3;
  color: #1e2d59;
  padding: 2rem;
  max-width: 90%;
  text-align: center;
}

@media (min-width: 768px) {
  .fv-text {
    color: #fff;
  }
}

.fv-text-main {
  font-size: clamp(24px, 2vw, 40px);
  line-height: 1.4;
  margin-bottom: 1rem;
  font-weight: bold;
}

@media (min-width: 768px) and (max-width: 1015px) {
  .fv-text-main {
    font-size: 20px;
  }
}

.fv-text-p {
  font-size: clamp(16px, 3.5vw, 18px);
  line-height: 1.6;
}

@media (min-width: 768px) and (max-width: 1015px) {
  .fv-text-p {
    font-size: 16px;
  }
}

/* PCサイズ以上で変更 */
@media (min-width: 768px) {
  .fv {
    /* height: 100vh; */
    background: linear-gradient(to right, #1e2d59 50%, #ffffff 50%);
  }

  .fv-inner {
    flex-direction: row;
    align-items: center;
    height: 100%;
  }

  .fv-gradient {
    width: 100%;
    height: 100%;
  }

  .fv-text {
    position: absolute;
    right: 10%;
    top: 40%;
    transform: translateY(-50%);
    max-width: 40%;
    text-align: left;
    padding: 0;
  }
}

/* FVパーティクル
------------------------------------------ */

/* 画像 < グラデ < パーティクル < テキスト */
.fv-img {
  z-index: 1;
}

.fv-gradient {
  z-index: 2;
}

.fv-canvas {
  z-index: 3;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.fv-text {
  z-index: 4;
}

.fv-canvas {
  mix-blend-mode: color-dodge;
}

/* 代表挨拶
------------------------------------------ */
/* ===== モバイル（基本スタイル） ===== */
.greeting {
  background-color: #006699;
  color: #fff;
  padding: 60px 15px;
}

.greeting-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.greeting-title {
  font-size: 2em;
  font-weight: bold;
  color: #31b6c9;
  text-align: center;
  margin-bottom: 20px;
}

.greeting-subtitle {
  font-size: clamp(18px, 3.5vw, 26px);
  margin-bottom: 3rem;
  color: #fff;
  text-align: center;
  font-style: normal;
  font-weight: 400;
}

.greeting-inner-right-text {
  /* font-size: 16px; */
  line-height: 1.8;
  margin-bottom: 1em;
}

/* ===== PC版（768px以上） ===== */
@media (min-width: 768px) {
  .greeting-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }

  .greeting-inner-left-title {
    font-size: 18px;
    min-width: 150px;
    margin-bottom: 0;
  }

  .greeting-inner-right-text {
    /* font-size: clamp(18px, 3.5vw, 26px); */
  }
}

/* 初期状態（どちらも非表示） */
.sp-only,
.pc-only {
  display: none;
}

/* スマホサイズ */
@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

/* PCサイズ */
@media (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

/* 画像
------------------------------------------ */
.separator {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .separator {
    width: 100%;
    height: 150px;
    overflow: hidden;
  }
}

.separator-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.separator01 {
  background-image: url("../image/separator01.jpg");
}

.separator02 {
  background-image: url("../image/separator02.jpg");
}

.separator03 {
  background-image: url("../image/separator03.jpg");
}

.separator04 {
  background-image: url("../image/separator04.jpg");
  object-fit: cover;
}

/* 企業理念
------------------------------------------ */

.philosophy {
  background-color: #0c2e57;
  color: #fff;
  padding: 60px 20px;
}

.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.philosophy-title {
  font-size: 2em;
  font-weight: bold;
  color: #31b6c9;
  text-align: center;
  margin-bottom: 20px;
}

.philosophy-subtitle {
  font-size: clamp(18px, 3.5vw, 26px);
  margin-bottom: 3rem;
  color: #fff;
  text-align: center;
  font-style: normal;
  font-weight: 400;
}

.philosophy-box {
  background: #fff;
  color: #000;
  border-radius: 100px 0 100px 0;
  padding: 45px;
  margin-bottom: 30px;
  max-width: 700px;
}

.philosophy-box.left {
  margin-left: 0;
}

.philosophy-box.right {
  margin-left: auto;
}

.philosophy-box-en {
  color: #004a99;
  font-weight: bold;
  font-size: clamp(18px, 3.5vw, 26px);
}

.philosophy-box-title {
  color: #004a99;
  font-size: clamp(18px, 3.5vw, 26px);
  margin: 5px 0 15px;
}

.philosophy-box-text {
  /* font-size: clamp(18px, 3.5vw, 26px); */
  line-height: 1.8;
}

.philosophy-list {
  list-style: none;
  padding: 0;
}

.philosophy-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  /* font-size: clamp(18px, 3.5vw, 26px); */
  line-height: 1.6;
}

.philosophy-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #004a99;
}

/* サービス紹介
------------------------------------------ */

.services {
  width: 100%;
  margin: auto;
  padding: 0;
}

.services-content {
  background-color: #0c2e57;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.services-title {
  font-size: 2em;
  font-weight: bold;
  color: #31b6c9;
  margin-bottom: 20px;
}

.services-title-h3 {
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: bold;
  color: #fff;
  margin-bottom: 2rem;
}

.services-subtitle {
  font-size: clamp(18px, 3.5vw, 26px);
  margin-bottom: 3rem;
}

.services-text {
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 5rem;
}

/* ▼ PC版の調整 */
@media (min-width: 972px) {
  .services-title {
    font-size: 2em;
    margin-top: -73px;
    margin-bottom: 20px;
  }

  .services-subtitle {
    font-size: clamp(18px, 3.5vw, 26px);
  }

  .services-text {
    /* font-size: clamp(18px, 3.5vw, 26px); */
  }
}

/* リストスタック */

.services-list {
  padding: 0;
  position: relative;
  margin-bottom: 3rem;
}

.services-list-item {
  position: relative;
  line-height: 1.5;
  padding: 0.8em 1em 0.8em 2.2em;
  list-style-type: none !important;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .services-list-item {
    margin: 0 7rem;
    /* font-size: clamp(18px, 3.5vw, 26px); */
  }
}

.services-list-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* アイコン */
.toggle-icon {
  position: absolute;
  left: 0.8em;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.2em;
  color: #00c6ff;
  transition: transform 0.3s ease;
}

/* アクティブ時に回転 */
.services-list-item.active .toggle-icon {
  transform: translateY(-50%) rotate(90deg);
}

/* 説明文 */
.services-description {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  padding: 0 1em;
  font-size: 0.9em;
  color: #eee;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5em;
  border-radius: 0 0 8px 8px;
}

.services-list-item.active .services-description {
  max-height: 200px;
  opacity: 1;
  padding: 0.5em 1em;
}

/* こんなお悩みかかえていませんか */

.troubles-section {
  background-color: #006699;
  color: #fff;
  text-align: center;
  padding: 7rem 20px;
}

.troubles-title {
  color: #31b6c9;
  font-size: 18px;
  margin-bottom: 30px;
}

.services-title-h3-wh {
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: bold;
  color: #fff;
  margin-bottom: 2rem;
}

.troubles-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.troubles-box {
  background-color: #fff;
  color: #000;
  border-radius: 15px;
  padding: 20px;
  width: 280px;
  min-height: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.troubles-box i {
  font-size: 20px;
  color: #31b6c9;
  margin-bottom: 5px;
}

.troubles-image {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.troubles-image img {
  max-width: 115px;
  height: auto;
}

.troubles-bottom-text {
  background-color: #fff;
  color: #000;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: bold;
}

/* PC用レイアウト */
@media (min-width: 904px) {
  .troubles-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "left top right"
      "left center right";
    align-items: start;
    row-gap: 5px;
  }

  .troubles-box:nth-child(1) {
    grid-area: left;
    align-self: center;
    justify-self: end;
  }

  .troubles-box:nth-child(2) {
    grid-area: top;
    align-self: end;
  }

  .troubles-box:nth-child(3) {
    grid-area: right;
    align-self: center;
    justify-self: start;
  }

  .troubles-image {
    grid-area: center;
    margin: 0;
  }

  .troubles-image img {
    max-width: 130px;
    padding-top: 0.5rem;
  }
}

/* 制作の流れ
------------------------------------------ */

.flow-title {
  font-size: 2em;
  font-weight: bold;
  color: #31b6c9;
  text-align: center;
  margin-bottom: 20px;
}

.flow-subtitle {
  font-size: clamp(18px, 3.5vw, 26px);
  margin-bottom: 3rem;
  color: #333;
  text-align: center;
  font-style: normal;
  font-weight: 400;
}

/* ===== 共通設定（モバイルファースト） ===== */
.flow-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.flow-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* 中央の縦線 */
.flow-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #3cc0de;
  transform: translateX(-50%);
  z-index: 0;
}

/* 各カード */
.flow-step {
  background: #ffffff;
  padding: 20px 15px;
  border-radius: 15px;
  border: 1px solid #e2e2e2;
  width: 85%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* アイコン */
.flow-icon-wrap {
  background: #fff;
  padding: 5px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.flow-icon {
  width: 60px;
  height: 60px;
}

.flow-num {
  color: #3cc0de;
  font-weight: bold;
  font-size: clamp(18px, 3.5vw, 26px);
  margin-bottom: 5px;
}

.flow-step-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.flow-step-text {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===== PCレイアウト ===== */
@media (min-width: 768px) {
  .flow-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .flow-container::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    width: auto;
    background: #3cc0de;
    transform: none;
  }

  .flow-step {
    width: 18%;
    margin: 0;
    text-align: center;
  }
}

/* 会社概要
------------------------------------------ */

.overview-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #31b6c9;
  text-align: center;
}

.overview-subtitle {
  font-size: 14px;
  font-size: clamp(18px, 3.5vw, 26px);
  margin-bottom: 3rem;
  color: #333;
  text-align: center;
}

.overview-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  max-width: 800px;
  margin: 60px auto;
  border-radius: 15px;
}

.overview-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overview-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

@media screen and (max-width: 1024px) {
  .overview-list li {
    grid-template-columns: 95px 1fr;
  }
}

.label {
  font-weight: bold;
  color: #555;
}

.text {
  line-height: 1.6;
}

.map-container {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  height: 200px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mail-hover:hover {
  color: #1e2d59;
  text-decoration: underline;
}


.overview-list .contact-row {
  display: inline-flex;
  gap: 12px; 
  align-items: center;
  flex-wrap: wrap; 
}

.overview-list .privacy-link {
  color: #1e2d59;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.overview-list .privacy-link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .overview-list .contact-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .overview-list .privacy-link {
    margin-top: 0;
  }
}

/* フッター
------------------------------------------ */

.site-footer {
  background-color: #1e2d59;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  width: 150px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 10px;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  color: #ccc;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
