@charset "UTF-8";
/*---------------
共通
-----------*/
:root {
  --header-height: 80px; /* ヘッダー高さを変数化 */
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  overflow-x: hidden;
  box-sizing: border-box;
  color: #4c5976;
  font-family: "Noto Sans", sans-serif;
}

.inner {
  margin: 0 auto;
  padding: 100px 60px;
  max-width: 1080px;
}
@media (max-width: 768px) {
  .inner {
    padding: 40px 16px;
  }
}

.section__head-main {
  color: #4c5976;
  font-size: 80px;
}

img {
  width: 100%;
  vertical-align: top;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #4c5976;
}

p {
  margin: 0;
}

.section_title {
  font-size: 40px;
}
@media (max-width: 768px) {
  .section_title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .sub_title {
    font-size: 14px;
  }
}

.js-fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

/*========= スマホ用 ===============*/
@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.4rem;
  }
  .loading-animation-text {
    font-size: 1.4rem;
  }
}
.area {
  background-color: #f8f7f5;
  overflow: hidden;
  padding: 100px 0;
  width: 100%;
}

body,
html {
  height: 100%;
  margin: 0 auto;
}

.parallax {
  background-attachment: fixed;
  background-image: url(../img/fv_img.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 50vh;
  width: 100%;
}
@media (max-width: 768px) {
  .parallax {
    height: 100%;
  }
}

.cd-bg-1 {
  background-image: url(../img/cd-bg-1.png);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.cd-bg-2 {
  background-attachment: fixed;
  background-image: url(../img/contact_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.bg {
  background: #f9f9f9;
}

.bg_2 {
  background: #fcf9f4;
}

/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  box-sizing: inherit;
}

.btn {
  display: block;
  margin: 100px auto 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.btn,
a.btn,
button.btn {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: block;
  padding: 16px 64px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  color: #4c5976;
}

a.btn-border {
  border-radius: 0;
}

a.btn-border:before,
a.btn-border:after {
  position: absolute;
  width: 100%;
  height: 2px;
  content: "";
  transition: all 0.3s;
  background: #4c5976;
}

a.btn-border:before {
  top: 0;
  left: 0;
}

a.btn-border:after {
  right: 0;
  bottom: 0;
}

a.btn-border:hover:before,
a.btn-border:hover:after {
  width: 0;
}

/* bouncing-textとcontainerの共通スタイルをまとめる */
.container,
.bouncing-text {
  font-weight: bold;
  text-align: center;
  margin-top: 100px;
  transform-origin: bottom center;
}

/* finishの各文字のアニメーション */
.container span {
  display: inline-block;
  -webkit-animation: progressive-text-bounce 2s ease-out forwards;
  animation: progressive-text-bounce 1.9s ease-out forwards;
  -webkit-animation-delay: var(--delay);
  animation-delay: var(--delay);
}

/* progressive-text-bounceアニメーションの定義 */
@-webkit-keyframes progressive-text-bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-80px);
  }
  50% {
    transform: translateY(0);
  }
  65% {
    transform: translateY(-40px);
  }
  80% {
    transform: translateY(0);
  }
  90% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes progressive-text-bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-80px);
  }
  50% {
    transform: translateY(0);
  }
  65% {
    transform: translateY(-40px);
  }
  80% {
    transform: translateY(0);
  }
  90% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ===== ローディング画面 ===== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  z-index: 10000;
  background: #fff;
  inset: 0;
}

@media (max-width: 768px) {
  .loader {
    font-size: 20px;
  }
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== メインコンテンツ ===== */
.block {
  opacity: 0;
  pointer-events: none;
  -webkit-clip-path: circle(0 at 50% 50%);
  clip-path: circle(0 at 50% 50%);
}

/* 初回だけアニメーション */
.block.active {
  opacity: 1;
  pointer-events: auto;
  -webkit-animation: clipPath 1.5s forwards;
  animation: clipPath 1.5s forwards;
}

/* 2回目以降はすぐ表示 */
.block.instant {
  opacity: 1 !important;
  pointer-events: auto !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  transition: none !important;
}

/*---------------
ヘッダー
-----------*/
.header {
  padding: 20px 16px;
  color: #4c5976;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
}

.header_name {
  max-width: 150px;
}
.header_name img {
  width: 100%;
}
.header_name a {
  color: #4c5976;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

.header_name {
  font-weight: 700;
}

.header_nav {
  display: flex;
}
.header_nav li {
  margin: 0 10px;
  font-weight: 700;
}
.header_nav li a {
  color: #4c5976;
  position: relative;
  display: inline-block;
}
.header_nav li a::after {
  background-color: #333; /* 下線の色 */
  bottom: -4px; /* 要素の下端からの距離 */
  content: ""; /* 要素に内容を追加 */
  height: 2px; /* 下線の高さ */
  left: 0; /* 要素の左端からの距離 */
  position: absolute; /* 絶対位置指定 */
  transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: left top; /* 変形の原点を左上に指定 */
  transition: transform 0.3s; /* 変形をアニメーション化 */
  width: 100%; /* 要素の幅 */
}
.header_nav li a:hover::after {
  transform: scale(1, 1);
}
@media (max-width: 768px) {
  .header_nav {
    display: none;
  }
}

/* === ドロワーアイコン === */
.drawer-icon {
  position: fixed;
  top: 20px;
  right: 15px;
  z-index: 500;
  display: none;
  cursor: pointer;
  transition: transform 0.5s ease 0s;
}

@media (max-width: 767px) {
  .drawer-icon {
    display: block;
  }
}

.drawer-icon-bars {
  width: 30px;
  height: 18px;
  position: relative;
}

.drawer-icon-bar1,
.drawer-icon-bar2,
.drawer-icon-bar3 {
  position: absolute;
  width: 30px;
  height: 2px;
  background: #4c5976;
  left: 0;
  transition: all 0.3s ease;
}

.drawer-icon-bar1 {
  top: 0;
}
.drawer-icon-bar2 {
  top: 8px;
}
.drawer-icon-bar3 {
  top: 16px;
}

/* アクティブ状態でXになる */
.drawer-icon.is-active .drawer-icon-bar1 {
  transform: rotate(-45deg);
  top: 8px;
}
.drawer-icon.is-active .drawer-icon-bar2 {
  opacity: 0;
}
.drawer-icon.is-active .drawer-icon-bar3 {
  transform: rotate(45deg);
  top: 8px;
}

/* === ドロワー中身 === */
.drawer-content {
  width: 270px;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  background: #e1deea;
  z-index: 499;
  transform: translateX(105%);
  transition: transform 0.4s ease;
  padding-top: 80px;
}

.drawer-content.is-active {
  transform: translateX(0);
}

.drawer-item a {
  display: block;
  color: #4c5976;
  font-size: 18px;
  text-decoration: none;
  padding: 20px 15px;
  text-align: right;
}

/* === 背景の黒いレイヤー === */
.drawer-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-background.is-active {
  opacity: 1;
  pointer-events: all;
}
/*---------------
contact
-----------*/
.contact {
  align-items: center;
  position: relative;
  z-index: 0;
  background-size: cover;
  background-image: linear-gradient(#eaddea, #d3e1ea);
}

.contact_title {
  text-align: center;
}

.contact_form {
  margin: 0 auto;
  border-radius: 30px;
  box-sizing: border-box;
}

.section_titles {
  text-align: center;
  margin-bottom: 40px;
}
.contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  margin-top: 40px;
}

.contact-form-label {
  box-sizing: border-box;
  padding-top: 8px;
}

.contact-form-label label {
  font-weight: 700;
  display: inline-block;
  position: relative;
}

.contact-form-label label.is-required::after {
  content: "必須";
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #e81919;
  text-align: center;
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1;
}

.contact-form-input {
  flex: 1;
}

.contact-form-input input,
.contact-form-input select,
.contact-form-input textarea {
  width: 100%;
  border: 1px solid #707070;
  background: #fff;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
  box-sizing: border-box;
  color: inherit;
  font-family: inherit;
}

.contact-form-input textarea {
  height: 200px;
  resize: none;
}

/* セレクトボックス用ラッパー */
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #707070;
  padding: 12px 16px;
  padding-right: 30px;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
}

/* ▼マーク */
.select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #707070;
  pointer-events: none;
}

.contact-form-button {
  margin: 50px auto 0;
  text-align: center;
}

.contact-form-button [type="submit"] {
  background: #ffffff;
  max-width: 300px;
  width: 100%;
  font-weight: 700;
  color: #4c5976;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-form-button [type="submit"]:hover {
  opacity: 0.7;
}

.contact-form-check {
  margin-top: 24px;
}

.privacy_check {
  display: flex;
  align-items: center;
  margin: 0 auto;
  font-size: 14px;
  justify-content: center;
}
/* -------------------------------
   レスポンシブ対応
--------------------------------*/
@media (max-width: 767px) {
  .contact_form {
    padding: 20px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .contact-form-label {
    width: 100%;
    margin-bottom: 8px;
  }

  .contact-form-input {
    margin-top: 20px;
  }

  .contact-form-button [type="submit"] {
    width: 100%;
  }
}

/* -------------------------------
   モーダル部分（フォーム送信確認など）
--------------------------------*/
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  max-height: 60vh;
  padding: 30px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  top: 10%;
}

/* ✕ボタン */
.modal-close {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  right: 0;
  background: #fff;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  float: right;
  margin: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background: #f0f0f0;
}

/* スマホ用モーダル */
@media (max-width: 767px) {
  .modal-content {
    width: 90%;
    max-height: 70vh;
    padding: 15px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 32px;
  }
}

.modal-body {
  line-height: 1.6;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  transition: all 0.3s ease 0s;
}
@media (min-width: 768px) {
  .to-top {
    right: 12px;
    bottom: 12px;
    max-width: 100%;
  }
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
}
.to-top a {
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
.to-top a:hover {
  opacity: 0.7;
}
.to-top a img {
  width: 60px;
}
@media (min-width: 768px) {
  .to-top a img {
    width: 40px;
    max-width: 100%;
  }
}

/***追従するトップへ戻るボタン***/
#page-top {
  position: fixed;
  right: 5px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 1.5rem;
  color: #737373;
  padding: 0 0 0 35px;
  border-top: solid 1px;
  z-index: 1000;
}

#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 15px;
  border-top: solid 1px;
  transform: rotate(35deg);
  transform-origin: left top;
}

/***トップへ戻るボタンここまで***/
.footer_copy {
  text-align: center;
}

.footer_copy_inner {
  padding: 16px;
}
/*---------------
main
-----------*/
.main {
  background-image: url(../img/fv_img.jpg);
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.main_inner {
  position: relative;
}

.main_tex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw; /* 画面幅いっぱい */
  box-sizing: border-box;
}
.main_title,
.border_left,
.border_right {
  opacity: 0;
  transform: translateY(20px);
}
.main_title {
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  color: #2f3a55;
  flex-shrink: 0; /* 文字が潰れないように固定 */
  letter-spacing: 1rem;
}

/* 左側 */
.border_left {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 24px;
  color: #2f3a55;
  padding-bottom: 100px;
}

.border_left::before {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #2f3a55;
  margin-right: 12px;
}

/* 右側 */
.border_right {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 24px;
  color: #2f3a55;
  justify-content: flex-end;
  padding-top: 100px;
}

.border_right::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #2f3a55;
  margin-left: 12px;
} /* =========================================
   レスポンシブ対応
   ========================================= */

@media screen and (max-width: 1024px) {
  .main {
    justify-content: center;
  }
}

/* スマホ (768px以下) */
@media screen and (max-width: 768px) {
  .main_tex {
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .main_title {
    font-size: 32px;
    letter-spacing: 0.5rem;
    text-align: center;
  }

  .border_left,
  .border_right {
    flex: none; /* 伸びを解除 */
    font-size: 18px;
    width: 100%; /* 横幅いっぱい */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .border_left::before,
  .border_right::after {
    content: "";
    flex: 1; /* 線を伸ばす */
    height: 2px;
    background-color: #2f3a55;
  }

  .border_left::before {
    margin-right: 8px;
  }

  .border_right::after {
    margin-left: 8px;
  }
}

/* 小さいスマホ (480px以下) */
@media screen and (max-width: 480px) {
  .main_title {
    font-size: 24px;
    letter-spacing: 0.3rem;
  }

  .border_left,
  .border_right {
    font-size: 16px;
  }
}

/*---------------
about
-----------*/
.about {
  height: 500px;
  display: flex;
  align-items: center;
}
@media (max-width: 1080px) {
  .about {
    height: 100% !important;
  }
}

.about_inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .about_inner {
    grid-template-columns: 1fr;
  }
}

.about_title {
  text-align: left;
  margin-bottom: 16px;
}

.about_img {
  margin: 0 auto;
}
.about_img img {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (max-width: 768px) {
  .about_img {
    max-width: 250px;
  }
}

.about_text {
  text-align: left;
}

.about_name {
  font-size: 40px;
  display: flex;
  align-items: center;
}
@media (max-width: 1080px) {
  .about_name {
    font-size: 20px;
  }
}
.about_name img {
  width: 50px;
}

.about_sub_name {
  font-size: 16px;
  padding-bottom: 40px;
}

.about_contents_item {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  margin-bottom: 16px;
}
@media (max-width: 1080px) {
  .about_contents_item {
    grid-template-columns: 1fr;
  }
}

.about_label {
  color: #ffffff;
  background: #4c5976;
  padding: 10px 20px;
  display: inline-block;
  width: 130px;
  text-align: center;
  margin-right: 16px;
}

/*---------------
skill
-----------*/
.section {
  text-align: center;
}

.section_titles {
  text-align: center;
  margin-bottom: 60px;
}
@media (max-width: 1080px) {
  .section_titles {
    margin-bottom: 40px;
  }
}

.skill_items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .skill_items {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.skill_item {
  border: 1px solid #2b6d76;
  padding: 20px;
  border-radius: 30px;
}

.skill_img_flex {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  max-width: 100px;
  padding-bottom: 16px;
}

.skill_img img {
  max-width: 40px;
}

.parallax img {
  position: absolute;
  z-index: 100;
  display: block;
  width: 100px;
}

/*---------------
.work 
-----------*/
.work {
  background-image: linear-gradient(#eaddea, #d3e1ea);
}

svg {
  display: block;
  width: 100%;
  height: 320px; /* 必要なら height: 100%; */
}
@media (max-width: 1080px) {
  svg {
    height: 220px;
  }
}

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

.swiper {
  width: 100%;
  height: 100%;
  max-width: 1000px;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  max-width: 300px;
  margin: 0 auto;
  background-position: center;
  background: #fff;
  width: 300px;
  border: 2px solid #4c5976;
  padding: 30px 20px;
  font-size: 18px;
  text-align: center;
  border-radius: 30px !important;
}
.swiper-slide img {
  max-width: 300px;
}

.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-bottom,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top {
  border-radius: 30px !important;
}

.swiper_skill {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
}

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

.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(240.25px, 0px, 0px);
}

.swiper-pagination-bullet-active {
  background: #2b6d76 !important;
}

.swiper_name {
  padding-bottom: 24px;
  font-size: 16px;
}

.swiper_skill {
  padding-top: 24px;
}

.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 100;
}

.work_button {
  background: #9b3d36;
  color: #fff;
  border-radius: 30px;
  padding: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  max-width: 250px;
  margin: 30px auto 0;
}

.swiper-pagination {
  bottom: -50px !important;
}

/*---------------
service
-----------*/
.service {
  background-image: linear-gradient(#eaddea, #d3e1ea);
  position: relative;
}
.service::after {
  position: absolute;
  bottom: 0;
  background-image: url(../img/);
}

.service_title {
  text-align: center;
}

.service_item {
  display: flex;
  margin-bottom: 40px;
  gap: 40px;
  text-align: left;
}
@media (max-width: 768px) {
  .service_item {
    display: block;
  }
}

.service_item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: left;
}

.service_item_text {
  padding-top: 60px;
  width: 50%;
}
@media (max-width: 768px) {
  .service_item_text {
    padding-top: 16px;
    margin-bottom: 40px;
    width: 100%;
  }
}

.service_item_title {
  font-size: 20px;
  background: #ffffff;
  color: #4c5976;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px 20px;
  margin-bottom: 16px;
  border-radius: 5px;
}
@media (max-width: 1080px) {
  .service_item_title {
    font-size: 14px;
  }
}

.service_img {
  margin: 0 auto;
  width: 50%;
  position: relative;
}

@media (max-width: 1080px) {
  .service_img {
    width: 100%;
  }
}

.service_img::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(255, 255, 255);
  opacity: 0.2;
  border-radius: 30px;
}

.service_img img {
  width: 100%;
  border-radius: 30px;
}

.flow_step {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  row-gap: 60px;
  text-align: left;
}
@media (max-width: 768px) {
  .flow_step {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

.flow_step_item {
  padding: 30px;
  position: relative;
  border-radius: 10px;
}

.number {
  position: absolute;
  top: -50px;
  left: 10px;
  font-size: 40px;
  line-height: 27px;
  text-align: center;
}

.icon10 {
  font-size: 16px;
  display: inline-block;
}

.step_item_title {
  font-size: 18px;
  display: block;
  text-align: center;
  padding-bottom: 16px;
}

.flow_step_item:nth-child(even) {
  background: #eaddea;
}

.flow_step_item:nth-child(odd) {
  background: #d3e1ea;
}

/* work */

.top_text {
  margin-top: 100px;
  text-align: center;
  font-size: 36px;
  color: #2b6d76;
  background: #d3e1ea;
  padding: 80px;
}

@media (max-width: 768px) {
  .top_text {
    padding: 30px 16px;
    font-size: 30px;
  }
}
.top_text span {
  display: inline-block;
  font-size: 16px;
}
@media (max-width: 768px) {
  .top_text span {
    font-size: 14px;
  }
}
.work_contents_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .work_contents_inner {
    grid-template-columns: 1fr;
  }
}

.work_contents_img img {
  width: 100%;
}

.work_contents_tx {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  margin-bottom: 26px;
  align-items: center;
}
@media (max-width: 768px) {
  .work_contents_tx {
    grid-template-columns: 1fr;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .work_contents_tx text {
    padding: 0 20px;
  }
}
.work_contents_label {
  padding: 5px 20px;
  background: #d3e1ea;
  font-size: 16px;
  height: 40px;
  text-align: center;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .work_contents_label {
    font-size: 14px;
    padding: 5px 0px;
  }
}

.work_contents_images {
  display: flex;
  gap: 60px;
  margin: 100px auto;
  justify-self: center;
}
.work_contents__images img {
  width: 100%;
}
.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
.work_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.work_item {
  border: 1px solid #ddd;
  padding: 15px;
  transition: box-shadow 0.3s;
}

.work_item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work_thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.works_title {
  font-size: 18px;
  margin-bottom: 8px;
}

.work_description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.work_list {
}

.work_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.work_item {
  border: 1px solid #ddd;
  padding: 15px;
  transition: box-shadow 0.3s;
}

.work_item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work_thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.work_item_imges {
  display: grid;
  grid-template-columns: 500px 150px;
  justify-content: center;
  gap: 78px;
  margin: 100px auto;
}

@media (max-width: 768px) {
  .work_item_imges {
    grid-template-columns: 1fr;
  }
}

.work_item_img img {
  max-width: 500px;
}

.sp_img img {
  max-width: 300px;
}
.work_item {
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work_item.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
/* --- タブ見た目 --- */
.category_tabs {
  display: flex;
  gap: 10px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.category_tabs .tab-btn {
  background: transparent;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.category_tabs .tab-btn:hover {
  transform: translateY(-2px);
}
.category_tabs .tab-btn.active {
  background: #2f3a55;
  color: #fff;
  border-color: #2f3a55;
}

/* --- グリッド --- */
.work_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* --- 各アイテムのアニメーション（フェード） --- */
.work_item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 300ms ease;
  will-change: opacity, transform;
}

/* 非表示にする際は .hidden を付ける */
.work_item.hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  /* display は JS で切り替えている（遅延で非表示） */
}
.work_pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 80px;
}

.work_pagination_prev {
  text-align: left;
}

.work_pagination_next {
  text-align: right;
}

.work_pagination_center {
  text-align: center;
}

.to_archive {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #000;
  text-decoration: none;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .work_pagination {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
  }

  .work_pagination_prev,
  .work_pagination_next {
    text-align: center;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination .page-numbers {
  padding: 6px 12px;
  border: 1px solid #ccc;
}

.pagination .current {
  background: #000;
  color: #fff;
}
.thank {
  align-items: center;
  position: relative;
  z-index: 0;
  background-size: cover;
  background-image: linear-gradient(#eaddea, #d3e1ea);
}
.thank_inner {
  padding: 200px 60px;
}
.thank_title {
  font-size: 40px;
  text-align: center;
}

.thank_txt {
  font-size: 16px;
  text-align: center;
  margin: 50px auto;
}
.thank_button {
  max-width: 300px;
  background: #2f3a55;
  text-align: center;
  padding: 14px 20px;
  margin: 0 auto;
}

.thank_button a {
  display: inline-block;
  color: #fff;
}

.error {
  text-align: center;
}
.error span {
  text-align: center;
  font-size: 60px;
  display: inline-block;
}
.error_text {
  padding-bottom: 60px;
}
