@charset "UTF-8";
:root {
  --noto: "Noto Sans JP", sans-serif;
  --mont: "Montserrat", sans-serif;
  --word: #1a1a1a;
  --footerBg: #2a2b2c;
  --white: #ffffff;
  --grayBg: #f3f3f3;
  --grayLine: #eeeeee;
  --blue: #1779cd;
  --green: #23bdbf;
  --ggreen: #006400;
  --fw4: 400;
  --fw5: 500;
  --fw6: 600;
  --fw7: 700;
  --fz10: calc(10 / 16 * 1rem);
  --fz12: calc(12 / 16 * 1rem);
  --fz14: calc(14 / 16 * 1rem);
  --fz16: 1rem;
  --fz18: calc(18 / 16 * 1rem);
  --fz10_12: clamp(0.625rem, 0.529rem + 0.29vw, 0.75rem);
  --fz12_16: clamp(0.75rem, 0.559rem + 0.59vw, 1rem);
  --fz14_16: clamp(0.875rem, 0.779rem + 0.29vw, 1rem);
  --fz14_18: clamp(0.875rem, 0.684rem + 0.59vw, 1.125rem);
  --fz16_18: clamp(1rem, 0.904rem + 0.29vw, 1.125rem);
  --fz16_20: clamp(1rem, 0.809rem + 0.59vw, 1.25rem);
  --fz16_24: clamp(1rem, 0.618rem + 1.18vw, 1.5rem);
  --fz18_20: clamp(1.125rem, 1.029rem + 0.29vw, 1.25rem);
  --fz18_24: clamp(1.125rem, 0.838rem + 0.88vw, 1.5rem);
  --fz20_24: clamp(1.25rem, 1.059rem + 0.59vw, 1.5rem);
  --fz20_32: clamp(1.25rem, 0.676rem + 1.76vw, 2rem);
  --fz24_28: clamp(1.5rem, 1.309rem + 0.59vw, 1.75rem);
  --fz22_28: clamp(1.375rem, 1.088rem + 0.88vw, 1.75rem);
  --fz24_32: clamp(1.5rem, 1.118rem + 1.18vw, 2rem);
  --fz28_40: clamp(1.75rem, 1.176rem + 1.76vw, 2.5rem);
  --fz28_48: clamp(1.75rem, 0.794rem + 2.94vw, 3rem);
  --fz32_40: clamp(2rem, 1.618rem + 1.18vw, 2.5rem);
  --fz48_56: clamp(3rem, 2.618rem + 1.18vw, 3.5rem);
  --pad: 32px;
  --max: 1024px;
}
@media (min-width: 520px) {
  :root :root {
    --pad: 80px;
  }
}

html{
  scroll-behavior: smooth;
}

body {
  font-size: var(--fz14_16);
  font-family: var(--noto);
  font-weight: var(--fw4);
  background-color: var(--white);
  color: var(--word);
  overflow-wrap: break-word;
  line-height: 1.75;
  letter-spacing: 0.08em;
  overflow-x: hidden;
}

picture,
figure {
  line-height: 1;
}

.tablet-in {
  display: none;
}
@media (min-width: 520px) {
  .tablet-in {
    display: inline-block;
  }
}

.desktop-in {
  display: none;
}
@media (min-width: 960px) {
  .desktop-in {
    display: inline-block;
  }
}

@media (min-width: 960px) {
  .desktop-none {
    display: none;
  }
}

.link a {
  display: inline-block;
  background-color: var(--white);
  color: var(--ggreen);
  font-weight: var(--fw5);
  padding-top: 24px;
  padding-bottom: 24px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  border-radius: 40px;
  position: relative;
  width: min(100%, 544px);
  transition: opacity 0.3s;
}
@media (hover: hover) {
  .link a:where(:-moz-any-link, :enabled, summary):hover {
    opacity: 0.6;
  }
  .link a:where(:any-link, :enabled, summary):hover {
    opacity: 0.6;
  }
}
.link a::before, .link a::after {
  content: "";
  background-color: var(--blue);
  position: absolute;
}

.target {
  opacity: 0;
}
.target.active {
  animation-name: fluffy;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

@media (min-width: 960px) {
  .service li:nth-child(1) {
    animation-delay: calc(1 * 0.3s) !important;
  }
  .service li:nth-child(2) {
    animation-delay: calc(2 * 0.3s) !important;
  }
  .service li:nth-child(3) {
    animation-delay: calc(3 * 0.3s) !important;
  }
  .service li:nth-child(4) {
    animation-delay: calc(4 * 0.3s) !important;
  }
}

@keyframes fluffy {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.sec {
  padding-top: 64px;
  width: min(100% - var(--pad), var(--max));
  margin-inline: auto;
}
@media (min-width: 960px) {
  .sec {
    padding-top: 120px;
  }
}

.secHeader {
  font-weight: var(--fw5);
  text-align: center;
}
.secHeader h2 {
  font-size: var(--fz28_40);
  font-family: var(--mont);
  color: var(--ggreen);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.1em;
}
.secHeader p {
  font-size: var(--fz16);
  margin-top: 8px;
}
@media (min-width: 960px) {
  .secHeader p {
    margin-top: 16px;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background-color: #FFF; /* お好みで背景色を設定 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 下に影をつける */
  position: fixed; /* ヘッダーを固定 */
  width: 100%; /* ビューポート全体の幅 */
  top: 0; /* 上部から0pxの位置に */
  left: 0; /* 左端から0pxの位置に */
  z-index: 1000; /* 他の要素より上に表示されるように */
};


.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff; /* 背景色はサイトのデザインに合わせて調整してください */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* スクロール時にヘッダーに影を追加 */
}


#nav{
  position:fixed;
  right:34px;
  top:25px;
}
 
.nav-list{
  list-style: none;
  display: flex;
  gap: 20px; /* ナビゲーションアイテム間の間隔 */
  margin: 0;
  padding: 0;
}

.nav-list li {
  padding: 10px; /* タップしやすいようにパディングを追加 */
}

.nav-list a {
  text-decoration: none;
  color: #333; /* リンクの色 */
  font-weight: bold;
}

.header a img {
  width: 160px; /* デフォルトサイズ */
  height: 62.68px;
}
/* ドロップダウン矢印 */
.service-dropdown > a {
  position: relative;
  padding-right: 10px;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
}

.service-dropdown > a .arrow {
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.service-dropdown:hover > a .arrow {
  transform: rotate(180deg);
}

/* ドロップダウンメニューのスタイル */
.service-dropdown {
  position: relative;
}

.service-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
  backdrop-filter: blur(10px);
  width: 220px;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
}

.service-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 8px 20px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.dropdown-menu li:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.dropdown-menu li a {
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}

.dropdown-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--ggreen);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.dropdown-menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-menu li a:hover {
  color: var(--ggreen);
  background-color: rgba(200, 230, 230, 0.2);
  border-radius: 5px;
}

/* モバイルデバイスの画面幅に基づいたメディアクエリ */
@media (max-width: 768px) {
  .header a img {
      width: 120px; /* モバイルデバイス用のサイズ */
      height: auto; /* 高さを自動調整 */
  }
  .nav-list {
    gap: 8px; /* タップしやすいようにパディングを追加 */
  }
}

/* モバイルデバイス向けのスタイル */
@media (max-width: 768px) {
  /* 'About', 'Service', '会社概要' のナビゲーションリンクを非表示にする */
  .nav-list li:not(:nth-last-child(-n+2)) {
      display: none;
  }
}


.main{
  padding-top:100px;
}

.top-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); 
  /* background-color: cadetblue; */
  z-index: 1;
}


.top-header {
  position:relative;
  padding-bottom: 120px;
  background-color: var(--ggreen);
  background-image: url(../images/web-design/top-image2.jpg);
  background-size: cover;
  background-position: center; /* 背景画像を中央に配置 */
}
@media (min-width: 520px) {
  .top-header {
    background-image: url(../images/web-design/top-image2.jpg);
  }
}
.top-header .inner {
  position: relative;
  z-index: 2; 
  --max: 814px;
  width: min(100% - var(--pad), var(--max));
  margin-inline: auto;
  text-align: center;
  padding-top: 80px;
  color: var(--white);
}
@media (min-width: 960px) {
  .top-header .inner {
    padding-top: 100px;
  }
}
.top-header h1 {
  font-weight: var(--fw5);
  font-size: var(--fz28_48);
  letter-spacing: 0.1em;
}
.top-header h1 span {
  display: block;
  font-size: var(--fz20_32);
  margin-bottom: 16px;
}
.label {
  height:200px;
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: center; /* 横方向の中央揃え */
}
.label h2{
  font-size:var(--fz24_32);
  color:black;
  font-weight:var(--fw6);
  line-height:1.5;
  font-family:serif;
}
.label h2 span{
  font-size:var(--fz28_40);
  color:#9c0000;
}
.label h2 .valop{
  color:var(--ggreen);
  text-transform:capitalize;
}
.persona .subTitle {
  font-size: var(--fz16_20);
}
.persona::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1;
}


.persona {
  position:relative;
  padding-bottom: 80px;
  background-color: var(--ggreen);
  background-image: url(../images/web-design/persona.jpg);
  background-size: cover;
  background-position: center; 
}
.persona h2{
  font-size:var(--fz24_32);
  color:black;
  font-weight:var(--fw6);
}
.persona h2 span{
  font-size:var(--fz28_40);
  color:#9c0000;
}
.persona ul {
  padding-top: 112px;
  padding-bottom: 54px;
  display: flex;
  justify-content: space-between;
  border-radius:60px;
  background-color: var(--grayBg);
}
@media (min-width: 960px) {
  .persona ul {
    padding-top: 128px;
    padding-bottom: 50px;
  }
}
.persona ul li {
  width: 320px;
  text-align: center;
}
/* @media (min-width: 520px) {
  .persona ul li:first-child .problem {
    padding-bottom: 62px;
  }
} */
.persona ul li .problem {
  padding: 115px 24px 24px;
  background-color: var(--grayBg);
  position: relative;
  border-radius: 100px;
}
/* .swiper-slide {
  height: auto !important;
  width: 100% !important;
} */

.swiper-horizontal {
  background-color: var(--grayBg);
  border-radius:60px;
}

@media (min-width: 960px) {
  .persona ul li .problem {
    padding-bottom: 32px;
  }
}
/* .persona ul li .problem::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 20px;
  height: 16px;
  background-color: var(--ggreen);
  -webkit-clip-path: polygon(100% 0, 0 0, 50% 100%);
          clip-path: polygon(100% 0, 0 0, 50% 100%);
} */
.persona ul li .problem figure {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}
.persona ul li .problem figure img {
  width: auto;
  height: 160px;
}
.persona ul li .problem h3 {
  font-weight: var(--fw5);
  font-size: var(--fz18);
  position: relative;
}
/* .persona ul li .problem h3::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 20px;
  height: 16px;
  background-color: var(--ggreen);
  -webkit-clip-path: polygon(100% 0, 0 0, 50% 100%);
          clip-path: polygon(100% 0, 0 0, 50% 100%);
} */
.persona ul li .problem h3 span {
  font-weight: var(--fw7);
  /* color: var(--ggreen); */
  /* color:#042E61;
   */
   color:crimson;
}
.persona ul li .problem p {
  margin-top: 48px;
  font-size: var(--fz14);
  line-height: 2;
}
@media (min-width: 960px) {
  .persona ul li .problem p {
    text-align: left;
  }
}
.persona ul li .solution {
  margin-top: 46px;
  width: 300px;
  height: 300px;
  line-height: 1;
  margin-inline: auto;
}
.persona ul li .solution img {
  width: 100%;
  height: auto;
}


.service {
  padding-bottom: 64px;
  background-color: var(--grayBg);
}
@media (min-width: 960px) {
  .service {
    padding-bottom: 120px;
  }
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top:60px;
}

/* ホームサービス各項目のスタイル */
.homeService {
  display: flex;
  flex-direction: column;
  margin-top: 52px;
  align-items: center;
  gap: 10px;
  text-align: center;
}

@media (min-width: 992px) {
  .homeService {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    max-width: 1195px;
    margin: 0 auto;
    gap: 85px;
    margin-top:20px;
  }
}

/* .homeService.reverse {
  flex-direction: column-reverse;
} */

@media (min-width: 992px) {
  .homeService.reverse {
    flex-direction: row-reverse;
  }
}

/* 画像のスタイル */
.img picture {
  text-align: center;
  padding: 0 16px;
}

.img img {
  width: min(100%, 300px);
  height: auto;
  border-radius:50px;
}

@media (min-width: 992px) {
  .img img {
    width: 680px;
    height: 300px;
  }
}

/* 本文のスタイル */
.body {
  padding: 0 16px;
  width: min(100%, 614px);
  margin: 0 auto;
}

@media (min-width: 992px) {
  .body {
    padding: 30px;
    width: 100%;
    margin: 0;
  }
}

/* タイトルコンテナのスタイル */
.titleContainer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .titleContainer {
    justify-content: center;
    margin-bottom: 20px;
  }
}

.title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  margin: 4px 0 16px;
  letter-spacing: 0.1em;
  position: relative;
}

@media (min-width: 992px) {
  .title {
    font-size: 32px;
  }
}

.title::after {
  content: '';
  position: absolute;
  width: 105%;
  height: 4px;
  background-color: #00552e;
  bottom: -15px;
  left: 0;
}

/* ボタンアイコンのスタイル */
.buttonIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #6fa24a;
  border-radius: 50%;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buttonIcon:hover {
  background-color: #54802f;
}

.iconArrowRight {
  width: 32px;
  height: 32px;
}

/* フェードインアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}


.flow {
  background-color: var(--grayBg);
  padding-bottom: 64px;
}
@media (min-width: 960px) {
  .flow {
    padding-bottom: 120px;
  }
}
.flow ol {
  margin-top: 32px;
}
@media (min-width: 960px) {
  .flow ol {
    margin-top: 64px;
  }
}
.flow ol li {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  gap: 26px;
}
@media (min-width: 960px) {
  .flow ol li {
    gap: 42px;
    align-items: center;
    margin-bottom:30px;
  }
}
.flow ol li:not(:first-of-type) {
  margin-top: 32px;
}
.flow ol li:nth-child(1)::before {
  content: "01";
  position: absolute;
  top: -12px;
  left: 0;
  color: var(--ggreen);
  font-size: var(--fz24_32);
  font-weight: var(--fw5);
  font-family: var(--mont);
}
.flow ol li:nth-child(2)::before {
  content: "02";
  position: absolute;
  top: -12px;
  left: 0;
  color: var(--ggreen);
  font-size: var(--fz24_32);
  font-weight: var(--fw5);
  font-family: var(--mont);
}
.flow ol li:nth-child(3)::before {
  content: "03";
  position: absolute;
  top: -12px;
  left: 0;
  color: var(--ggreen);
  font-size: var(--fz24_32);
  font-weight: var(--fw5);
  font-family: var(--mont);
}
.flow ol li:nth-child(4)::before {
  content: "04";
  position: absolute;
  top: -12px;
  left: 0;
  color: var(--ggreen);
  font-size: var(--fz24_32);
  font-weight: var(--fw5);
  font-family: var(--mont);
}
.flow ol li:nth-child(5)::before {
  content: "05";
  position: absolute;
  top: -12px;
  left: 0;
  color: var(--ggreen);
  font-size: var(--fz24_32);
  font-weight: var(--fw5);
  font-family: var(--mont);
}
.flow ol li .contents {
  flex: 1;
}
.flow ol li .contents h3 {
  color: var(--ggreen);
  font-size: var(--fz16_20);
  font-weight: var(--fw5);
}
.flow ol li .contents p {
  margin-top: 4px;
}
.flow ol li figure {
  width: 100px;
  height: auto;
}
@media (min-width: 960px) {
  .flow ol li figure {
    width: 150px;
  }
}
.flow ol li figure img {
  width: 100%;
  height: auto;
}


.contact {
  position: relative;
  height: 200px;
  background-image: url(../images/contact.jpg);
  background-size: cover;
  background-position: center center;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.contact .inner {
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2; /* 追加 */
}

.contact .link {
  position: relative;
  z-index: 3; /* innerより大きい値 */
}


.footer {
  background-color: var(--footerBg);
  color: var(--white);
  padding: 32px 16px; /* 上下のパディング */
  text-align: center; /* 中央揃え */
}

.footer-inner {
  display: flex;
  justify-content: space-between; /* アイテム間のスペースを均等に */
  align-items: flex-start; /* 上揃え */
  flex-wrap: wrap; /* コンテナが狭くなったら折り返す */
  margin-bottom: 16px; /* 下のマージン */
}

.footer-logo {
  flex: 1; /* 等間隔で表示 */
}

.footer-about,
.footer-services,
.footer-contact {
  flex: 1; /* 等間隔で表示 */
  margin: 0 16px; /* 左右のマージン */
}

.footer h4 {
  font-size: var(--fz16_20);
  font-weight: var(--fw6);
  margin-bottom: 8px; /* ヘッダーとリストの間隔 */
}

.footer ul {
  list-style: none; /* リストのデフォルトスタイルを削除 */
  padding: 0; /* パディングを削除 */
}

.footer ul li {
  margin: 4px 0; /* リストアイテム間のマージン */
}

.footer a {
  color: var(--white); /* リンクの色 */
  text-decoration: none; /* リンクの下線を削除 */
}

.footer a:hover {
  text-decoration: underline; /* ホバー時に下線を追加 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column; /* 縦に並ぶように */
    align-items: center; /* 中央に配置 */
  }

  .footer-logo,
  .footer-about,
  .footer-services,
  .footer-contact {
    margin: 8px 0; /* モバイル用のマージンを小さく */
    text-align: center; /* 中央揃え */
  }
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.swiper-button-next::before,
.swiper-button-prev::before {
  font-size: 24px;
  color: crimson;
}

.swiper-button-next {
  top: 230px !important;
}
.swiper-button-next::before {
  content: "＞";
}

.swiper-button-prev {
  top: 230px !important;
}
.swiper-button-prev::before {
  content: "＜";
}

.swiper-pagination {
  top: 150px !important;
  left: 28% !important;
}
.swiper-pagination .swiper-pagination-bullet {
  margin: 0 8px !important;
}
.swiper-pagination .swiper-pagination-bullet-active {
  /* background-color: var(--ggreen); */
  background-color: crimson;
}/*# sourceMappingURL=style.css.map */