@charset "UTF-8";

body{
  font-family: "uddigikyokasho-pro", sans-serif;
font-weight: 400;
font-style: normal;
}


/* ここまで */

  .main_view {
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 0;
    font-size: 18px;
    overflow: hidden;
  }

  .seeq_logo {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 250px;
    height: auto;
    transform: translate(-50%, -50%);
    animation: smoothBounceScaleIn 2s ease-out forwards;
  }
  .logo_box{
    width: 100%;
    position: relative;
  }
@keyframes moveUpRight {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, -80px);
  }
}

.waving_hand {
  position: absolute;
  z-index: -1;
  width: 150px;
  right: 20px;
  top: 20px;

  /* アニメーション追加 */
  animation: moveUpRight 0.5s ease-out forwards;
  animation-delay: 4s;
  rotate: 20deg;
}

  .logo_itself {
    width: 100%;
    position: block;
    z-index: 3;
  }

  @keyframes smoothBounceScaleIn {
    0% {
      transform: translate(-50%, -300%) scale(0.3);
      opacity: 0;
    }
    40% {
      transform: translate(-50%, -50%) scale(1.1);
      opacity: 1;
    }
    55% {
      transform: translate(-50%, -30%) scale(0.95);
    }
    70% {
      transform: translate(-50%, -50%) scale(1.05);
    }
    80% {
      transform: translate(-50%, -42%) scale(1);
    }
    90% {
      transform: translate(-50%, -50%) scale(1.02);
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .scatter_circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
    animation:
      floatAndFade 2s ease-out forwards,
      float 4s ease-in-out infinite;
    animation-delay: 0s, 2s;
  }

  @keyframes floatAndFade {
    0% {
      transform: translate(0, 0) scale(0.3);
      opacity: 0;
    }
    60% {
      transform: translate(var(--x), var(--y)) translateY(0px) scale(1);
      opacity: 1;
    }
    100% {
      transform: translate(var(--x), var(--y)) translateY(0px) scale(1);
      opacity: 0.9;
    }
  }

  @keyframes float {
    0% {
      transform: translate(var(--x), var(--y)) translate(0px, 0px) scale(1);
    }
    50% {
      transform: translate(var(--x), var(--y)) translate(var(--dx), var(--dy)) scale(1);
    }
    100% {
      transform: translate(var(--x), var(--y)) translate(0px, 0px) scale(1);
    }
  }

/* アニメーション */
@keyframes fadeInLetter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ベースのスローガンボックス */
.slogan {
  position: absolute;
  top: 50%; /* 画面の縦中央基準 */
  left: 40px; /* 横は左から40pxで固定 */
  transform: translateY(calc(-50% + 250px)); /* 中央から下に100pxずらす */
  font-size: 25px;
  color: #313131;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-weight: bold;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  max-width: 90vw;
}

.slogan.show {
  opacity: 1;
}

/* 日本語行 */
.slogan-ja {
  font-size: 2em;
  color: #424242;
  margin-bottom: 6px;
}

/* 英語行 */
.slogan-en {
  font-size: 1em;
  color: #424242;

}
/* 追加: .scroll_indicator を右下に固定配置 */
.scroll_indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  transform: scale(0.85);
  transform-origin: bottom right;
}

.mouse {
  width: 52px;
  height: 88px;
  position: relative;
  background: #bdbdbd linear-gradient(transparent 0%, transparent 50%, #424242 50%, #424242 100%);
  background-size: 100% 200%;
  border-radius: 100px;
  animation: colorSlide 8s linear infinite, nudgeMouse 8s ease-out infinite;
}

.mouse:before,
.mouse:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.mouse:before {
  width: 46px;
  height: 82px;
  background-color: #e0e0e0;
  border-radius: 100px;
}

.mouse:after {
  background-color: #424242;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  animation: trackBallSlide 8s linear infinite;
}

.text {
  margin-top: 50px;
  font-family: Cabin;
  letter-spacing: 12px;
  color: #424242;
  text-indent: 12px;
  font-size: 0.85rem;
  animation: colorText 8s ease-out infinite, nudgeText 8s ease-out infinite;
}

/* Animations */
@keyframes colorSlide {
  0% {
    background-position: 0% 100%;
  }
  20% {
    background-position: 0% 0%;
  }
  21% {
    background-color: #bdbdbd;
  }
  29.99% {
    background-color: #424242;
    background-position: 0% 0%;
  }
  30% {
    background-color: #bdbdbd;
    background-position: 0% 100%;
  }
  50% {
    background-position: 0% 0%;
  }
  51% {
    background-color: #bdbdbd;
  }
  59% {
    background-color: #424242;
    background-position: 0% 0%;
  }
  60% {
    background-color: #bdbdbd;
    background-position: 0% 100%;
  }
  80% {
    background-position: 0% 0%;
  }
  81% {
    background-color: #bdbdbd;
  }
  90%, 100% {
    background-color: #424242;
  }
}

@keyframes colorText {
  21% {
    color: #bdbdbd;
  }
  30% {
    color: #424242;
  }
  51% {
    color: #bdbdbd;
  }
  60% {
    color: #424242;
  }
  81% {
    color: #bdbdbd;
  }
  90% {
    color: #424242;
  }
}


@keyframes trackBallSlide{
  0%{
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  6%{
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  14%{
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }
  15%, 19%{
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }
  28%, 29.99%{
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  30%{
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  36%{
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  44%{
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }
  45%, 49%{
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }
  58%, 59.99%{
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  60%{
    opacity: 1;
    transform: scale(0.9) translateY(-20px);
  }
  66%{
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  74%{
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }
  75%, 79%{
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }
  88%, 100%{
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
}
@keyframes nudgeMouse{
  0%{
    transform: translateY(0);
  }
  20%{
    transform: translateY(8px);
  }
  30%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(8px);
  }
  60%{
    transform: translateY(0);
  }
  80%{
    transform: translateY(8px);
  }
  90%{
    transform: translateY(0);
  }
}
@keyframes nudgeText {
  0%{
    transform: translateY(0);
  }
  20%{
    transform: translateY(2px);
  }
  30%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(2px);
  }
  60%{
    transform: translateY(0);
  }
  80%{
    transform: translateY(2px);
  }
  90%{
    transform: translateY(0);
  }
}




@media (max-width: 1100px) {
/* 日本語行 */
.slogan-ja {
  font-size: 1.7em;
  color: #424242;
  margin-bottom: 6px;
  
}

}
@media (max-width: 800px) {
  .seeq_logo {
    width: 150px; /* 小さくする */
  }
  .slogan {
  position: absolute;
  top: 50%; /* 画面の縦中央基準 */
  left: 40px; /* 横は左から40pxで固定 */
  transform: translateY(calc(-50% + 150px)); /* 中央から下に100pxずらす */
  font-size: 20px;
  color: #313131;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-weight: bold;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  max-width: 90vw;
}
@keyframes moveUpRight {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(25px, -55px);
  }
}

.waving_hand {
  position: absolute;
  z-index: -1;
  width: 70px;
  right: 20px;
  top: 20px;

  /* アニメーション追加 */
  animation: moveUpRight 0.5s ease-out forwards;
  animation-delay: 4s;
  rotate: 20deg;
}

}
@media screen and (max-width: 500px) {


    .seeq img{
        max-width: 15em;
    }
      .seeq_logo {
    width: 100px;
  }
    .slogan {
  position: absolute;
  top: 50%; /* 画面の縦中央基準 */
  left: 20px; /* 横は左から40pxで固定 */
  transform: translateY(calc(-50% + 130px)); /* 中央から下に100pxずらす */
  font-size: 16px;
  color: #313131;
  z-index: 2;
  padding: 12px 0px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-weight: bold;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  max-width: 90vw;
}
.scroll_indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  transform: scale(0.7); /* 全体を縮小 */
  transform-origin: bottom right; /* 縮小の基準点を右下に */
}

.mouse {
  width: 36.4px; /* 52 * 0.7 */
  height: 61.6px; /* 88 * 0.7 */
  position: relative;
}

.mouse:before {
  width: 32.2px; /* 46 * 0.7 */
  height: 57.4px; /* 82 * 0.7 */
}

.mouse:after {
  width: 7px; /* 10 * 0.7 */
  height: 7px; /* 10 * 0.7 */
  border-radius: 100%;
  animation: trackBallSlide 8s linear infinite;
}

.text {
  margin-top: 35px; /* 50 * 0.7 */
  font-family: Cabin;
  letter-spacing: 8.4px; /* 12 * 0.7 */
  text-indent: 8.4px; /* 12 * 0.7 */
  font-size: 0.7rem; /* 文字自体も少し小さく */
  animation: colorText 8s ease-out infinite, nudgeText 8s ease-out infinite;
}

.slogan-ja {
  font-size: 1.3em;
  color: #424242;
  margin-bottom: 6px;
  
}
  }




  /* 再度のご相談ボタン */


  .floating_consultation {
    position: fixed;
    right: -150px; /* 初期位置は画面外 */
    top: 50%;
    transform: translateY(-50%);
    transition: right 1s ease; /* スライドインアニメーション */
    z-index: 1000;
  }

  .floating_consultation.active {
    right: -5px; /* スクロール時に画面内に表示 */
  }

  .consultation_link {
    text-decoration: none;
    color: #fff; /* テキストの色 */
    writing-mode: vertical-rl; /* 縦書き */
    text-orientation: upright; /* 縦方向文字の回転なし */
    line-height: 1.8;
    letter-spacing: 2px; /* 文字間隔を広げる */
    padding: 1.5em .5em;
    background: #005183; /* 初期背景色（単色） */
    border-radius: 8px;
    position: relative; /* 擬似要素基準 */
    overflow: hidden; /* 擬似要素がはみ出さないように */
  }

  .consultation_link::before {
    content: ""; /* 擬似要素 */
    position: absolute;
    top: -150%; /* 初期位置 */
    left: 0;
    width: 100%;
    height: 300%; /* 高さ広く */
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: translateY(0); /* 初期位置 */
    transition: transform 1s ease; /* スムーズな動き */
    opacity: 0; /* 非ホバー時は透明 */
  }

  .consultation_link:hover::before {
    transform: translateY(100%); /* 下に移動 */
    opacity: 1; /* ホバー時に表示 */
  }

@media (max-width: 500px) {
  .floating_consultation.active {
    right: 20px; /* スクロール時に画面内に表示 */
  }
}

/* ここからミッション */
.mission{
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 150px;
  gap: 50px;
  font-size: 18px;
  position: relative;
}
.mission_title{
  max-width: 350px;
  width: 100%;
}
.mission_photo img{
  width: 100%;
}

.title h4{
  color: #27acd9;
  font-size: 1.8em;
}
.title h2{
  color: #474747;
  font-size: 2.5em;
  margin-top: -30px;
}

.mission_detail {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 25px;
    font-size: 1em;
    width: 100%;
    max-width: 400px;
}

.mission_detail p {
    max-width: 100%;
    box-sizing: border-box;
}

.mission_button {
    margin: 3em auto 2em;
    display: block;
    text-align: center; /* 中央寄せ */
}

.btn_foru {
  display: inline-block; /* 画像ボタンが中央寄せされる */
  max-width: 500px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 18px;
  position: relative;
  overflow: hidden; /* 光がはみ出るのを隠す */
}

.btn_foru::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -50%;
  width: 40%;
  height: 300%;
  background: rgba(241, 241, 241, 0.4);
  transform: rotate(25deg);
  pointer-events: none;

  /* 一定周期でキラッと動く */
  animation: shine 4s infinite;
  opacity: 0;
}

@keyframes shine {
  0% {
    transform: translateX(-150%) rotate(25deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    transform: translateX(150%) rotate(25deg);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.btn_foru img {
  display: block;
  width: 100%;
  transition: opacity 0.25s ease;
}

/* ホバー時：少し浮く＋影がつく */
.btn_foru:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn_foru:hover img {
  opacity: 0.92;
}


/* 初期状態（非表示＆下にずれている） */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* 表示状態（アニメーション後） */
.scroll-fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.outer-wrapper {
  position: relative;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s ease;
  max-width: 600px;
  width: 100%;
  padding: 100px 90px 100px;
}
.outer-wrapper{
  color: #474747;
  text-decoration: none;
}

/* 共通ふわふわスタイル */
.fluff {
  position: absolute;
  opacity: 0.8;
  transform: scale(1);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

/* 各隅の形と位置（あえて不均一に） */
.top-left {
  background-color: #45d927;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 70px;
  border-radius: 60% 40% 50% 30% / 50% 60% 40% 60%;
}

.top-right {
  background-color: #d927ca;
  top: -30px;
  right: -25px;
  width: 80px;
  height: 90px;
  border-radius: 40% 60% 60% 50% / 60% 30% 50% 50%;
}

.bottom-left {
  background-color: #27afd9;
  bottom: -25px;
  left: -30px;
  width: 190px;
  height: 80px;
  border-radius: 70% 50% 60% 40% / 50% 60% 50% 60%;
}

.bottom-right {
  background-color: #faa13b;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 75px;
  border-radius: 50% 70% 40% 60% / 60% 50% 70% 50%;
}
.space{
  margin: 10px 0 20px;
}

/* ホバー時：拡大・透明度アップ */
.outer-wrapper:hover .fluff {
  transform: scale(1.2);
}

/* テキストとボタン */
.mission_detail, .mission_button {
  position: relative;
  z-index: 1;
}
.mission_hat {
  position: absolute;
  width: 150px;
  bottom: -150px;
  left: 70%; /* 水平方向の中央 */
  transform: translateX(-50%); /* 中央に揃え、傾ける */
  transition: bottom 0.6s ease;
  z-index: 1;    /* innerに見えるように */
  pointer-events: none;
}
.outer-wrapper:hover .mission_hat {
  bottom: -80px; /* ↓内側に完全に隠しておく */
}
.btn_about {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 0.6em 2.5em;
    background-color: #f0f0f0;
    border-radius: 30px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, padding 0.4s ease-in-out;
    overflow: hidden;
}

.arrow_icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #27acd9;
    color: #ffffff;
    border-radius: 50%;
    width: 1.8em;
    height: 1.8em;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.btn_about:hover {
    background-color: #27acd9;
    color: #fff;
    padding-left: 3.5em;
    padding-right: 3.5em;
}

.btn_about:hover .arrow_icon {
    background-color: #27acd9;
    color: #ffffff;
}
@media (max-width: 800px) {
.mission{
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 100px;
  gap: 0px;
  font-size: 18px;
}
.mission_photo{
  max-width: 400px;
  width: 100%;
  margin: -200px auto 0;
}
.mission_photo img{
  width: 100%;
}
.mission_detail{
    word-break: keep-all;
  line-break: strict;
  white-space: normal;
  line-height: 25px;
  font-size: 1em;
}
.mission_button {
    margin: 3em auto 2em;
    display: block;
    text-align: center; /* 中央寄せ */
}
}

@media (max-width: 600px) {
.outer-wrapper {
  position: relative;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s ease;
  max-width: 600px;
  width: 100%;
  margin-top: 40px;
  padding: 100px 30px 100px;
}

.btn_foru img {
  max-width: 350px;
  width: 100%;
}

}
@media (max-width: 500px) {
.mission{
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 50px;
  gap: 0px;
  font-size: 15px;
}
.mission_button {
    margin: 3em auto 0em;
    display: block;
    text-align: center; /* 中央寄せ */
}
}


/* ここからサービス */

.service{
  max-width: 100%;
  font-size: 18px;
}

.sky {
  width: 100%;
  height: 300px;
  position: relative;
  z-index: 0;
  overflow: hidden; /* はみ出し防止 */
}

.sky_img {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  object-fit: cover;
}

/* アニメーション共通 */
@keyframes float2 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.airplane {
  width: 150px;
  position: absolute;
  top: 200px;
  left: 25%;
  z-index: 5;
  animation: float2 4s ease-in-out infinite;
}

.baloon {
  width: 100px;
  position: absolute;
  top: 100px;
  right: 35%;
  z-index: 5;
  animation: float2 5s ease-in-out infinite;
}
.service section{
  background-color: #7FCAE9;
}
.title2{
  width: 200px;
  margin: -100px auto 0;
    position: relative;
  z-index: 10; /* .sky より上に来るように */
}

.title2 h4{
  color: #ffffff;
  font-size: 1.8em;
}
.title2 h2{
  color: #ffffff;
  font-size: 2.5em;
  margin-top: -30px;
}
.title5{
  padding-top: 40px;
  width: 200px;
  margin: 0px auto 0;
  position: relative;
  z-index: 10; /* .sky より上に来るように */
}

.title5 h4{
  color: #383838;
  font-size: 1.8em;
}
.title5 h2{
  color: #383838;
  font-size: 2.5em;
  margin-top: -30px;
  text-align: center;
}

.service1 {
  max-width: 450px;
  padding: 80px 20px;
  position: relative; /* 子要素の絶対配置の基準に */
}

.title3 h4 {
  color: #ffffff;
  font-size: 1.4em;
}

.title3 h2 {
  color: #ffffff;
  font-size: 2em;
  margin-top: -10px;
}


.service1 p {
  font-size: 1em;
  line-height: 1.3em;
  color: #ffffff;
  margin-top: 2em;
}

/* 雲の位置とふわふわアニメーション */
.cloud1,
.cloud2 {
  position: absolute;
  animation: float3 6s ease-in-out infinite;
}

.cloud1 {
  top: 0;
  left: 0;
  width: 100px;
}
.cloud1 img{
  width: 100%;
}
.cloud2 img{
  width: 100%;
}

.cloud2 {
  bottom: 0;
  right: 0;
  width: 100px;
}

@keyframes float3 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.service_flex{
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 1em;
  margin-bottom: 40px;
}
.service_flex div{
  background-color: white;
}
.service_flex section{
  width: 550px;
}

.svg-container {
  position: relative;
  background-color: white;
  padding: 1.6em;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
}
.service-flex2{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

svg {
  width: 100%;
  height: auto;
}

.path {
  stroke: rgb(99, 99, 99);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 3s ease; /* アニメーションの時間 */
}
.path2 {
  stroke: rgb(99, 99, 99);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 3s ease; /* アニメーションの時間 */
}
.path3 {
  stroke: rgb(99, 99, 99);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 3s ease; /* アニメーションの時間 */
}
.path4 {
  stroke: rgb(99, 99, 99);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 3s ease; /* アニメーションの時間 */
}

.service_title{
  font-size: 1em;
  color: #ffffff;
  text-align: center;
  width: 100%;
}


.service_list{
  background-color: #7FCAE9;
  padding-top: 2em;
  padding-bottom: 5em;
  z-index: 10;
  max-width: 600px;
}

.service_list ul{
  display: flex;
  flex-wrap: wrap;
}

.estimate-btn2 {
  display: block;
  text-align: left;
  text-decoration: none;
  position: relative;
  width: 300px;
  padding: .5rem 1.5rem;
  font-weight: bold;
  border-radius: 10px;
  color: #525252;
  border: 3px solid #525252;
  box-shadow: 5px 5px #525252;
  transition: 0.3s ease-in-out;
  background-color: white;
  margin-top: 40px;
}
a.estimate-btn2:hover {
  box-shadow: none;
  transform: translate(5px, 5px);
  color: #525252;
}

.for_u{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 100px 20px 0;
  font-size: 18px;
}


.title4{
  width: 300px;
}
.title4 h4 {
  color: #444444;
  font-size: 1.4em;
}

.for_u h5 {
  color: #444444;
  margin-top: 30px;
  font-size: 1.4em;
  line-height: 1.2em;
}

.title4 h2 {
  color: #444444;
  font-size: 2.3em;
  margin-top: -10px;
}
.title4 p{
  color: #d88bce;
  font-size: 1.3em;
  margin-top: -25px;
  text-align: right;
}
.for_u_detail {
  font-size: 1em;
  line-height: 1.3em;
  color: #444444;
  margin-top: 2em;
}
.for_u_explain{
  width: 100%;
  max-width: 650px;
  padding: 1em;
}
.for_u_logo{
  max-width: 300px;
  width: 100%;
}

.for_u_logo img{
  width: 100%;
}


@media (max-width: 1400px) {
.airplane {
  width: 150px;
  position: absolute;
  top: 200px;
  left: 20%;
  z-index: 5;
}

.baloon {
  width: 100px;
  position: absolute;
  top: 100px;
  right: 25%;
  z-index: 5;
}
}
@media (max-width: 1000px) {
.airplane {
  width: 150px;
  position: absolute;
  top: 200px;
  left: 10%;
  z-index: 5;
}

.baloon {
  width: 100px;
  position: absolute;
  top: 100px;
  right: 15%;
  z-index: 5;
}
}

@media (max-width: 800px) {
  .service_flex{
      flex-direction: column;
  }
  .service_flex section{
      max-width: 500px;
      width: 100%;
  }
  .sky {
  width: 100%;
  height: 150px;
  position: relative;
  z-index: 0;
  overflow: hidden; /* はみ出し防止 */
}

  .service-flex2{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}
.airplane {
  width: 100px;
  position: absolute;
  top: 70px;
  left: 10%;
  z-index: 5;
}

.baloon {
  width: 70px;
  position: absolute;
  top: 30px;
  right: 15%;
  z-index: 5;
}
.title2{
  width: 150px;
  margin: -50px auto 0;
    position: relative;
  z-index: 10; /* .sky より上に来るように */
}

.title2 h4{
  color: #ffffff;
  font-size: 1.3em;
}
.title2 h2{
  color: #ffffff;
  font-size: 2em;
  margin-top: -30px;
}
.service-flex2{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}
}
@media (max-width: 800px) {

  .sky {
  width: 100%;
  height: 200px;
  position: relative;
  z-index: 0;
  overflow: hidden; /* はみ出し防止 */
}

  .service-flex2{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}
.airplane {
  width: 90px;
  position: absolute;
  top: 50px;
  left: 5%;
  z-index: 5;
}

.baloon {
  width: 65px;
  position: absolute;
  top: 80px;
  right: 5%;
  z-index: 5;
}
.title2{
  width: 150px;
  margin: -80px auto 0;
    position: relative;
  z-index: 10; /* .sky より上に来るように */
}

.title2 h4{
  color: #ffffff;
  font-size: 1.3em;
}
.title2 h2{
  color: #ffffff;
  font-size: 2em;
  margin-top: -30px;
}
.service-flex2{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}
.for_u{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  padding: 100px 20px 0;
  font-size: 15px;

}

.title4{
  width: 230px;
}
.for_u_logo{
  max-width: 220px;
  width: 100%;
}
}

/* ここからブログ */

.news{
  max-width: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 10em auto 0;
  gap: 3em;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.news h1 {
  position: relative;
  display: inline-block; /* テキスト幅に合わせる */
  font-size: 2.5em; /* 適宜調整 */
  margin-bottom: 3em;
  writing-mode: vertical-rl; /* 縦書きモード（右から左） */
  text-orientation: upright; /* 文字を縦向きに */
  transform: rotate(0deg); /* 回転せずそのまま */
  margin: 0; /* 余白をリセット */
  color: #005183;

}

.news h1::after {
  content: '';
  position: absolute;
  top: 50%; /* 縦方向の中央 */
  right: -5px; /* テキストの右側にスペースを空ける */
  transform: translateY(-50%); /* 真ん中寄せ */
  height: 35%; /* 高さを2分の1に */
  width: 2px; /* 線の太さ */
  background-color: #005183; /* 線の色 */

}

.news dd{
  padding-bottom: 1em;
  border-bottom: 1px solid rgb(95, 95, 95);
  width: 100%;
  margin-bottom: 1em;
  padding-right: 3em;
}
.news a{
  text-decoration: none;
  color: #222222;
}


/* ここからキャラクター */
.scan{
  position: relative;
  height: 200px;
  width: 600px;
  margin: 0 auto;
}

.character {
  position: absolute; /* キャラクターを絶対位置で配置 */
  width: 150px; /* キャラクターの幅 */
  height: auto;
}


.character.right {
  right: 0; /* 右側に配置 */
  top: 0; /* 画面下部に配置 */
}

.character img {
  width: 100%; /* キャラクター画像が親要素の幅に合わせて表示 */
}

.speech-bubble {
  position: absolute; /* 吹き出しを絶対位置で配置 */
  border-radius: 20px;
  padding: 10px 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  color: #fff;
  opacity: 0; /* 初期状態で透明 */
  visibility: hidden; /* 初期状態で非表示 */
  transition: opacity 1s ease, visibility 0s 1s; /* 1秒でフェードイン/アウト */
  font-family: "makinas-4-square", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.speech-bubble.show {
  opacity: 1; /* 表示時に透明度を1に */
  visibility: visible; /* 表示時に可視に */
  transition: opacity 1s ease, visibility 0s 0s;
}


/* 右側の吹き出し (キャラクターの左側に配置) */
.speech-bubble.right {
  background: #9f5b5b;
  right: 25%; /* 吹き出しをキャラクターの左側に配置 */
  top: 5em; /* 吹き出しをキャラクターの上に配置 */
  transform: translateX(-20px); /* 吹き出しを左にずらす */
}

/* 右側の吹き出しの矢印 */
.speech-bubble.right::after {
  content: '';
  position: absolute;
  background: #9f5b5b;
  transform: translateY(-50%);
  left: auto; /* 矢印の位置を右側に変更 */
  top: 50%;
  width: 10px; /* 矢印全体の幅 */
  height: 14px; /* 矢印全体の高さ */
  right: -7px; /* 矢印を右に配置 */
  clip-path: polygon(100% 50%, 0% 0%, 0% 100%); /* 右向きの矢印 */
}


@media (max-width: 600px) {
  .scan{
    position: relative;
    height: 200px;
    width: 400px;
    margin: 0 auto;
  }
  /* 右側の吹き出し (キャラクターの左側に配置) */
.speech-bubble.right {
  background: #9f5b5b;
  right: 40%; /* 吹き出しをキャラクターの左側に配置 */
  top: 5em; /* 吹き出しをキャラクターの上に配置 */
  transform: translateX(-20px); /* 吹き出しを左にずらす */
}
}





/* ここまで */


.fade-in {
  opacity: 0; /* 初期状態は非表示 */
  transition: opacity 2s ease-out, transform 2s ease-out; /* スムーズなアニメーション */
  will-change: opacity, transform; /* レンダリング最適化 */
}

.fade-in.visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に */
}




.wrapper_outside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: burlywood;
  z-index: 9999; /* 最前面に表示 */
  transition: opacity 5s ease, transform 5s ease, visibility 3s ease; /* フェードと移動用 */
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* 初期位置 */
}

.wrapper_outside.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50px); /* 上に移動 */
}

.wrapper{
  width:200px;
  height:60px;
  position: absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
}
.circle{
  width:20px;
  height:20px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  left:15%;
  transform-origin: 50%;
  animation: circle .5s alternate infinite ease;
}

@keyframes circle{
  0%{
      top:60px;
      height:5px;
      border-radius: 50px 50px 25px 25px;
      transform: scaleX(1.7);
  }
  40%{
      height:20px;
      border-radius: 50%;
      transform: scaleX(1);
  }
  100%{
      top:0%;
  }
}
.circle:nth-child(2){
  left:45%;
  animation-delay: .2s;
}
.circle:nth-child(3){
  left:auto;
  right:15%;
  animation-delay: .3s;
}
.shadow{
  width:20px;
  height:4px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.5);
  position: absolute;
  top:62px;
  transform-origin: 50%;
  z-index: -1;
  left:15%;
  filter: blur(1px);
  animation: shadow .5s alternate infinite ease;
}

@keyframes shadow{
  0%{
      transform: scaleX(1.5);
  }
  40%{
      transform: scaleX(1);
      opacity: .7;
  }
  100%{
      transform: scaleX(.2);
      opacity: .4;
  }
}
.shadow:nth-child(4){
  left: 45%;
  animation-delay: .2s
}
.shadow:nth-child(5){
  left:auto;
  right:15%;
  animation-delay: .3s;
}
.wrapper span{
  position: absolute;
  top:75px;
  font-size: 20px;
  letter-spacing: 12px;
  color: #fff;
  left:15%;
}


.character_loading img{
  width: 100%;
}



.character_loading {
  position: absolute;
  bottom: -10em;
  left: 0; /* 初期位置を画面外に設定 */
  width: 80px; /* キャラクターの幅 */
  animation: move-horizontal 20s linear infinite, zigzag-rotate 1s ease-in-out infinite;}



/* 横移動アニメーション */
@keyframes move-horizontal {
  0% {
      left: -100px;
  }
  100% {
      left: 100vw;
  }
}

/* 上下のギザギザと回転アニメーション */
@keyframes zigzag-rotate {
  0% {
      transform: translateY(0) rotate(0deg);
  }
  25% {
      transform: translateY(-20px) rotate(0deg); /* 上方向に移動 */
  }
  50% {
      transform: translateY(20px) rotate(15deg); /* 下方向に移動 + 時計回り回転 */
  }
  75% {
      transform: translateY(-20px) rotate(0deg); /* 上方向に移動 + 回転戻る */
  }
  100% {
      transform: translateY(0) rotate(0deg); /* 初期位置に戻る */
  }
}



/* ここまで */

.news-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px;
  margin: 6em 0;
}


.news-section h1 {
  font-size: 2.5em; /* 適宜調整 */
  color: #424242;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15%;
  margin-bottom: 5em;
}
.news-list {
  display: flex;
  overflow-x: hidden; /* auto → hidden に変更 */
  scroll-behavior: smooth;
  gap: 40px;
  padding: 10px 15%;
}
.news-item {
  flex: 0 0 auto;
  width: 300px;
  padding: 10px;
  margin-bottom: 2em;
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
  list-style: none;
}
.news-item .image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 10px;
}
.news-item .image-wrapper::before {
  content: "";
  position: absolute;
  top: -3px; /* ここで背景の初期位置を小さめに調整 */
  left: 20px;
  right: -5px;
  bottom: 10px;
  background: var(--bg-color, rgba(0, 0, 0, 0.1));
  border-radius: 24px;
  box-shadow: none;
  transform: rotate(10deg);
  z-index: -1;
  transition: all 0.5s ease; /* なめらかに変化させる */
}

.news-item:hover .image-wrapper::before {
  top: 0px; /* hover時にずれをリセット */
  left: 0px;
  right: 0px;
  bottom: 10px;
  background: transparent;
  transform: rotate(0deg);
}
.news-item img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 24px;
}
.news-item .meta {
  font-size: 12px;
  color: gray;
  position: relative;
  z-index: 1;
  margin-top: 1em;
}
.news-item a {
  text-decoration: none;
  color: rgb(41, 41, 41);
  position: relative;
  z-index: 1;
}
.news-item h3{
  text-align: left;
  padding: 1em;
  line-height: 1.3em;
}
.scroll-btn {
  cursor: pointer;
  font-size: 20px;
  color: #424242;
  background-color: #e0e0e0;  /* 背景色 */
  border-radius: 50%;         /* 丸くする */
  width: 55px;                /* 横の幅 */
  height: 55px;               /* 高さを横と同じにする */
  display: inline-flex;       /* 要素をインラインフレックスにして、中央揃え */
  justify-content: center;    /* 横方向の中央揃え */
  align-items: center;       /* 縦方向の中央揃え */
}
.view-all {
  text-align: center;
  margin-top: 20px;
}
a.btn_13 {
	display: flex;
    justify-content: space-between;
    align-items: center;
	text-align: center;
	text-decoration: none;
	width: 300px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	background: #eee;
	color: #27acd9;
	border-radius: 100vh;
	position: relative;
	transition: 0.5s;
}
a.btn_13::before {
	content: '';
	position: absolute;
	top: calc(50% - 2px);
	right: 1em;
	transform: translateY(calc(-50% - 2px)) rotate(45deg);
	width: 10px;
	height: 1px;
	background: #27acd9;
}
a.btn_13::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
	width: 50px;
	height: 1px;
	background-color: #27acd9;
}
a.btn_13:hover {
	background: #d4eef7;
	color: #27acd9;
}
/* カラー変更用 */
.news-item:first-child .image-wrapper::before {
  --bg-color: rgba(255, 0, 0, 0.2);
}
.news-item:nth-child(2) .image-wrapper::before {
  --bg-color: rgba(0, 255, 85, 0.2);
}
.news-item:nth-child(3) .image-wrapper::before {
  --bg-color: rgba(0, 81, 255, 0.2);
}
.news-item:nth-child(4) .image-wrapper::before {
  --bg-color: rgba(255, 0, 119, 0.2);
}




/* ========================= */
/*         WORKS AREA        */
/* ========================= */
/* Works Section */
/* ▼ WORKS 枠線（ポップな4色ストライプ） */
/* ▼ WORKS 外枠（ポップボーダーつき） */
.works-section {
    padding: 0; /* 内側余白を子要素側へ移動 */
    margin: 150px auto 40px;
    width: 90%;
    max-width: 1000px;
        position: relative; /* これが重要 */

    /* 外枠 */
    border-radius: 25px;
    border: 7px solid transparent;

    /* 4色ストライプのボーダー */
    background: 
        repeating-linear-gradient(
            135deg,
            #95dd83 0px,
            #95dd83 60px,
            #5ec0d1 60px,
            #5ec0d1 120px,
            #e4d33a 120px,
            #e4d33a 180px,
            #dd84e5 180px,
            #dd84e5 240px
        )
        border-box;
    overflow: hidden;   /* ← これが重要！！ */

}

/* ▼ 内側コンテンツを白背景で囲う (ここがポイント!) */
.works-section > .title5,
.works-section > .carousel-container {
    background: #fff;
    border-radius: 20px;
    padding-top: 40px;
}

/* ▼ 内側をまとめて白背景ボックスにするために wrap を追加 */
.works-section .inner {
    background: #fff;
    border-radius: 20px;
    padding: 40px 0px 60px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin: 0 auto;
    perspective: 1200px;
    overflow: hidden;   /* ← これが重要！！ */
}

.carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateY(0deg);
    width: 0;
    height: 0;
    transform-origin: center center;
}

.carousel-item {
    position: absolute;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    left: -90px;
    top: -90px;
    backface-visibility: hidden;
    transition: transform 0.5s ease;
}


.works-corner-peek {
    position: absolute;
    bottom: -27px;   /* はみ出し量（調整可） */
    right: -30px;    /* はみ出し量（調整可） */
    width: 180px;    /* 画像サイズ（調整可） */
    pointer-events: none; /* カルーセルに干渉させない */
    z-index: 5;

    /* ひょっこり感の演出（少し回転） */
}

/* ========================= */
/*         MODAL EDIT        */
/* ========================= */

.works-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

/* 外枠だけストライプボーダーにする */
.modal-content {
    position: relative;
    max-width: 300px;
    margin: 7% auto;
    padding: 0; /* 中の白背景に余白を持たせるのでここは0に */

    /* ストライプ枠線 */
    border-radius: 20px;
    border: 7px solid transparent;
    background:
        repeating-linear-gradient(
            135deg,
            #95dd83 0px,
            #95dd83 60px,
            #5ec0d1 60px,
            #5ec0d1 120px,
            #e4d33a 120px,
            #e4d33a 180px,
            #dd84e5 180px,
            #dd84e5 240px
        )
        border-box;

    /* 中身の白背景を作るための内側ラップ */
    overflow: hidden;
}

/* 中の白背景を wrap で作成 */
.modal-inner {
    background: #fff;
    padding: 25px 20px 30px;
    border-radius: 14px;
}

.modal-inner img {
    width: 100%;
    border-radius: 10px;
    max-width: 260px;
    padding-top: 30px;
}

/* × ボタン（内側右上）*/
.close-modal {
    position: absolute;
    top: 0px;
    right: 14px;
    font-size: 32px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    z-index: 10001;
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin-top: 20%;
    }
}
/* ▼ 自動回転アニメーション */
@keyframes rotateCarousel {
    from { transform: translateZ(-500px) rotateY(0deg); }
    to   { transform: translateZ(-500px) rotateY(-360deg); }
}


/* ========================= */
/*        RESPONSIVE         */
/* ========================= */

/* ▼ タブレット（〜1024px） */
@media screen and (max-width: 1024px) {
    .carousel-container {
        width: 100%;
        height: 350px;
        perspective: 900px;
    }

    .carousel-item {
        width: 120px;
        height: 120px;
        left: -75px;
        top: -75px;
    }
}

/* ▼ スマホ（〜768px） */
@media screen and (max-width: 768px) {

    .carousel-container {
        width: 100%;
        height: 350px;
        perspective: 800px; /* 奥行きをスマホでもキープ */
    }

    .carousel-item {
        left: -55px;
        top: -55px;
    }


    .close-modal {
        right: 20px;
        font-size: 32px;
    }
.modal-content img {
    width: 100%;
    border-radius: 10px;
    max-width: 250px;
}

}

/* ▼ 超小型スマホ（〜480px） */
@media screen and (max-width: 480px) {
    .carousel-container {
        height: 300px;
        perspective: 700px;
    }

    .carousel-item {
        left: -50px;
        top: -50px;
    }
    /* ▼ 内側をまとめて白背景ボックスにするために wrap を追加 */
.works-section .inner {
    background: #fff;
    border-radius: 20px;
    padding: 40px 0px 100px;
}
.works-corner-peek {
    position: absolute;
    bottom: -27px;   /* はみ出し量（調整可） */
    right: -30px;    /* はみ出し量（調整可） */
    width: 140px;    /* 画像サイズ（調整可） */
    pointer-events: none; /* カルーセルに干渉させない */
    z-index: 5;

    /* ひょっこり感の演出（少し回転） */
}
}


.service-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.service_image {
  width: 100%;
  max-width: 400px;
}

.service_image img {
  width: 100%;
  height: auto;
  display: block;
}
.service_text {
  width: 100%;
  max-width: 550px;
  box-sizing: border-box;
}
.title6{
  width: 450px;
}
.title6 h4 {
  color: #444444;
  font-size: 1.4em;
}

.title6 h2 {
  color: #444444;
  font-size: 1.8em;
  margin-top: -10px;
  margin-bottom: 20px;
}

.estimate-btn3 {
  display: block;
  text-align: left;
  text-decoration: none;
  position: relative;
  width: 330px;
  padding: .5rem 1.5rem;
  font-weight: bold;
  border-radius: 10px;
  color: #525252;
  border: 3px solid #525252;
  box-shadow: 5px 5px #525252;
  transition: 0.3s ease-in-out;
  background-color: white;
  margin-top: 40px;
}
a.estimate-btn3:hover {
  box-shadow: none;
  transform: translate(5px, 5px);
  color: #525252;
}

.service-flex p{
  line-height: 1.5em;
}

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

@media (max-width: 500px) {
.title6{
  width: 380px;
}

.service_image {
  width: 100%;
  max-width: 300px;
}

.service_image img {
  width: 100%;
  height: auto;
  display: block;
}
.estimate-btn3 {
  display: block;
  text-align: left;
  text-decoration: none;
  position: relative;
  width: 290px;
  padding: .5rem 1.5rem;
  font-weight: bold;
  border-radius: 10px;
  color: #525252;
  border: 3px solid #525252;
  box-shadow: 5px 5px #525252;
  transition: 0.3s ease-in-out;
  background-color: white;
  margin-top: 40px;
}


.title6{
  width: 350px;
}
.title6 h4 {
  color: #444444;
  font-size: 1.4em;
}

.title6 h2 {
  color: #444444;
  font-size: 1.8em;
  margin-top: -10px;
  margin-bottom: 20px;
}

}
