@charset "UTF-8";

/*------------------------------------
 フォント読み込み
------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;1,700;1,800;1,900&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

/*
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400 500 700 900;

  font-family: "Poppins", sans-serif;
  font-weight: 700 800 900;
  font-style: italic;
*/



:root {
  /*--color--*/
  --color-main: #006666;
  /* メインカラー（緑） */
  --color-sub: #009999;
  /* サブカラー（緑） */
  --color-gray: #F5F5F5;
  /* 色（グレー） */
  --color-mint: #8FD4D9;
  /* 色（ミント） */
  --color-green: #D9E8E8;
  /* 色（薄緑） */
  --color-dark: #1B5855;
  /* 色（濃緑） */
  --color-yel: #FFF291;
  /* 色（黄色） */
  --color-bk: #000;
  /* 色（黒） */
  --color-bkgreen: #303838;
  /* 色（濃緑） */
  --color-en: #B9D9D9;
  /* 文字色（英字） */
  --color-red: #852525;
  /* 強調色（赤） */
  --color-blue: #004C79;
  /* 強調色（青） */
  --color-white: #FFF;
  /* 文字色（白） */
  --color-silver: #F0F0EC;
  /* 背景・文字色（シルバーホワイト） */

  /*--Layout--*/
  --header-height: 100px;
}


@media (max-width: 1024px) {
  :root {
    --header-height: 100px;
  }
}

/*------------------------------------
 ベース設定
------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08rem;
  color: var(--color-bk);
  min-height: 100vh;
  text-align: justify;
  text-justify: inter-ideograph;
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/*------------------------------------
 タイポグラフィ
------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.688rem, 0.243rem + 3.01vw, 2.5rem);
  letter-spacing: clamp(-0.05rem, -0.765rem + 1.15vw, 0.1rem);
  line-height: clamp(2.5rem, -0.167rem + 5.56vw, 4rem);
  margin-bottom: clamp(2.5rem, -9.423rem + 19.23vw, 5rem);
}

h3 {
  font-size: clamp(1.25rem, 0.576rem + 1.32vw, 1.563rem);
  letter-spacing: clamp(0rem, -0.178rem + 0.37vw, 0.1rem);
  line-height: clamp(2.5rem, 0.722rem + 3.7vw, 3.5rem);
  margin-bottom: clamp(1rem, -0.192rem + 1.92vw, 1.25rem);
}

p {
  margin-bottom: 0.8rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

ul.normal {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.5rem;
  margin: 0 0 1em 0;
}

ul.normal li {
  margin-bottom: 0.5rem;
  line-height: 1.5;

}

/*------------------------------------
 画像
------------------------------------*/
img {
  max-width: 100%;
  height: auto;
  width: 100%;
  display: block;
}

/*------------------------------------
 レスポンシブ表示切り替え
 min-width: 993px以上に適用
 max-width: 992px以下に適用
------------------------------------*/
@media (min-width: 993px) {
  .sp {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .pc {
    display: none !important;
  }
}

@media (min-width: 600px) and (max-width: 992px) {
  .sp, .pc {
    display: none !important;
  }

  .tablet {
    display: block !important;
  }
}

/*------------------------------------
 コンテナ（レスポンシブ対応）
------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.container_m {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container_s {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1400px) {
  .container_s {
    max-width: 800px;

  }

}

.container_full {
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/*------------------------------------
 グリッド・フレックスユーティリティ
------------------------------------*/
.flex {
  display: flex;
}

.flex_wrap {
  flex-wrap: wrap;
}

.flex_center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex_between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex_column {
  display: flex;
  flex-direction: column;
}

/* PC基準で記述 */
.grid_2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.grid_3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid_4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}


/* タブレット以下 */
@media (max-width: 992px) {
  .grid_4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid_2,
  .grid_3 {
    grid-template-columns: 1fr;
  }

  .grid_2.reverse,
  .grid_3.reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
    grid-template-columns: unset;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .grid_4 {
    grid-template-columns: 1fr;
  }

  .grid_4.reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
    grid-template-columns: unset;
  }

}

/*------------------------------------
 スペーシングユーティリティ
------------------------------------*/
/* マージン */
.mt_1 {
  margin-top: 1rem;
}

.mt_2 {
  margin-top: 2rem;
}

.mt_3 {
  margin-top: 3rem;
}

.mt_4 {
  margin-top: 4rem;
}

.mt_5 {
  margin-top: 5rem;
}

.mb_0 {
  margin-bottom: 0;
}

.mb_1 {
  margin-bottom: 1rem;
}

.mb_2 {
  margin-bottom: 2rem;
}

.mb_3 {
  margin-bottom: 3rem;
}

.mb_4 {
  margin-bottom: 4rem;
}

.mb_5 {
  margin-bottom: 5rem;
}

.mb_120 {
  margin-bottom: clamp(5rem, 2.5rem + 6.67vw, 7.5rem);
}

.mb_180 {
  margin-bottom: clamp(5rem, -24.808rem + 48.08vw, 11.25rem);
}

.mb_200 {
  margin-bottom: clamp(5rem, -30.769rem + 57.69vw, 12.5rem);
}

/* パディング */
.pt_0 {
  padding-top: 0;
}

.pt_1 {
  padding-top: 1rem;
}

.pt_2 {
  padding-top: 2rem;
}

.pt_3 {
  padding-top: 3rem;
}

.pt_4 {
  padding-top: 4rem;
}

.pt_5 {
  padding-top: 5rem;
}

.pb_0 {
  padding-bottom: 0;
}

.pb_1 {
  padding-bottom: 1rem;
}

.pb_2 {
  padding-bottom: 2rem;
}

.pb_3 {
  padding-bottom: 3rem;
}

.pb_4 {
  padding-bottom: 4rem;
}

.pb_5 {
  padding-bottom: 5rem;
}

.p_1 {
  padding: 1rem;
}

.p_2 {
  padding: 2rem;
}

.p_3 {
  padding: 3rem;
}

.p_4 {
  padding: 4rem;
}

.p_5 {
  padding: 5rem;
}

.p_10 {
  padding: 10rem;
}

/* ギャップ */
.g_0 {
  gap: 0;
}

.g_1 {
  gap: 1rem;
}

.g_2 {
  gap: 2rem;
}

.g_3 {
  gap: 3rem;
}

.g_4 {
  gap: 4rem;
}

.g_5 {
  gap: 5rem;
}

/* ポジション */
.relative {
  position: relative;
}

@media (max-width: 600px) {

  /* マージントップ */
  .mt_1, .mt_2, .mt_3, .mt_4, .mt_5 {
    margin-top: 1rem;
  }

  /* マージンボトム */
  .mb_1, .mb_2, .mb_3, .mb_4, .mb_5 {
    margin-bottom: 1rem;
  }

  /* パディング（全方向） */
  .p_1, .p_2, .p_3, .p_4, .p_5, .p_10 {
    padding: 1rem;
  }

  /* パディングトップ */
  .pt_1, .pt_2, .pt_3, .pt_4, .pt_5 {
    padding-top: 1rem;
  }

  /* パディングボトム */
  .pb_1, .pb_2, .pb_3, .pb_4, .pb_5 {
    padding-bottom: 1rem;
  }

  /* ギャップ */
  .g_1, .g_2, .g_3, .g_4, .g_5 {
    gap: 1rem;
  }
}



/*------------------------------------
 サイズユーティリティ
------------------------------------*/
.w-30 {
  width: 30%;
}

.w-40 {
  width: 40%;
}

.w-50 {
  width: 50% !important;
}

.w-70 {
  width: 70%;
}

@media (max-width: 600px) {
  .w-30 {
    width: 100%;
  }

  .w-40 {
    width: 100%;
  }

  .w-50 {
    width: 100%;
  }

  .w-70 {
    width: 100%;
  }
}

/*------------------------------------
 テキストユーティリティ
------------------------------------*/
.text_center {
  text-align: center;
}

.text_left {
  text-align: left;
}

.text_right {
  text-align: right;
}

.s-txt {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .sp_left {
    text-align: left;
  }

  .sp_center {
    text-align: center;
  }

  .sp_right {
    text-align: right;
  }
}

/*------------------------------------
 背景色ユーティリティ
------------------------------------*/
.bg_main {
  background-color: var(--color-main);
}

.bg_sub {
  background-color: var(--color-sub);
}

.bg_yel {
  background-color: var(--color-yel);
}

.bg_green {
  background-color: var(--color-green);
}

.bg_mint {
  background-color: var(--color-mint);
}

.bg_white {
  background-color: var(--color-white);
}

.bg_dark {
  background-color: var(--color-dark);
}

.bg_gray {
  background-color: var(--color-gray);
}

/*------------------------------------
 セクション
------------------------------------*/
section {
  padding: clamp(3.75rem, -1.966rem + 15.27vw, 7.5rem) 0;
}

.section_ft {
  margin-top: clamp(5rem, 1.19rem + 10.18vw, 7.5rem);
}


/*------------------------------------
 ナビゲーション
------------------------------------*/
.nav {
  position: relative;
  top: 0;
  z-index: 1000;
}

.nav_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 100px;
  padding: 0 3rem;
}

.nav_container h1 {
  margin: 0;
  margin-bottom: 0;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  flex-shrink: 1;
}

.nav_logo {
  width: clamp(16.25rem, 2.917rem + 27.78vw, 23.75rem);
  height: auto;
  display: block;
}

.nav_logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav_menu {
  display: flex;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.nav_link {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.nav_link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sub);
  transition: width 0.3s ease;
}

.nav_link:hover::after {
  width: 100%;
}

/* 画像を含むリンクはhoverライン非表示 */
.nav_link:has(img)::after {
  display: none;
}

.nav_link img {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

/* ハンバーガーメニュー  */
.nav_toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav_toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* 閉じるアイコン用 */
.nav_toggle .menu_icon {
  display: block;
}

.nav_toggle .close_icon {
  display: none;
}

.nav_toggle.active .menu_icon {
  display: none;
}

.nav_toggle.active .close_icon {
  display: block;
}

/* お問い合わせボタン */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-main);
  color: white;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.contact-btn::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url('../images/mail_wh.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

.contact-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



/* 992px以下でハンバーガーメニューに切り替え */
@media (max-width: 1024px) {

  /* JSで header タグに .is-open が付いた時だけ白くする */
  header.is-open {
    background-color: var(--color-white) !important;
  }

  .nav_container {
    padding: 0 2rem;
    height: 100px;
  }

  .nav_toggle {
    display: block;
  }

  .nav_menu {
    position: fixed;
    left: -100%;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    padding-bottom: 100px;
    margin-top: 0;
    gap: 1.5rem;
    transition: left 0.3s ease;
    overflow-y: auto;
    top: 100px;
    height: calc(100vh - 100px);
    box-shadow: none;
    border-top: 1px solid var(--color-gray);
  }

  .nav_menu.active {
    left: 0;
  }

  .nav_link {
    font-size: 1rem;
  }

}

/*------------------------------------
 ヘッダーセクション
------------------------------------*/
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
}

/*------------------------------------ 
HEROセクション 
------------------------------------*/
main {
  padding-top: var(--header-height);
}

main.top_page {
  padding-top: 0;
}

.hero {
  width: 100%;
  position: relative;
}

/* トップ */
.hero--top {
  position: relative;
  height: 100vh;
  background: url('../images/top_hero.webp') center / cover no-repeat;
  overflow: hidden;

}

.hero--top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-white);
  clip-path: polygon(90% 0%,
      100% 0%,
      100% 100%,
      40% 100%);
  z-index: 1;
}

.hero_inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 65%;
  padding-right: 6vw;
  padding-bottom: 6vh;

}

.hero--top .hero_inner h2 {
  color: var(--color-main);
  margin-bottom: 2rem;
  font-size: clamp(1.875rem, 1.319rem + 1.16vw, 2.188rem);
  letter-spacing: 0;
  line-height: 1.6;
  font-weight: 700;

}

.hero--top .hero_inner p {
  color: var(--color-bk);
  margin-bottom: 2rem;
  font-size: clamp(1rem, 0.778rem + 0.46vw, 1.125rem);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero--top {
    height: auto;
    aspect-ratio: 1 / 1.7;
    background-size: 150% auto;
    background-position: left top;
    display: flex;
    align-items: flex-end;

  }

  .hero--top::after {
    display: none;
  }

  .hero_inner {
    padding: 0 6vw 10vw;
  }
}

@media (max-width: 400px) {
  .hero--top {
    aspect-ratio: 1 / 1.9;

  }
}



/* 下層HERO */
.page-hero {
  color: var(--color-white);
  position: relative;
  padding-top: clamp(2rem, -12.308rem + 23.08vw, 5rem);
  background-size: cover;
  background-position: center;
  aspect-ratio: 1280 / 350;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero span.en {
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  display: block;
  font-size: clamp(2.5rem, -9.423rem + 19.23vw, 5rem);
  color: var(--color-white);

}

.page-hero h2 {
  color: var(--color-white) !important;
  text-align: center;
  font-size: clamp(1.125rem, 0.529rem + 0.96vw, 1.25rem) !important;
}

/*page hero images*/
#service {
  background: url('../images/hero02.webp') center / cover no-repeat;
}

#strengths {
  background: url('../images/hero03.webp') center / cover no-repeat;

}

#company {
  background: url('../images/hero04.webp') center / cover no-repeat;
}

#blog {
  background: url('../images/hero05.webp') center / cover no-repeat;
}

#contact {
  background: url('../images/hero_cnt.webp') center / cover no-repeat;
}


@media (max-width: 1024px) {
  /*.hero {
    aspect-ratio: 16 / 9;
  }*/

}

@media (max-width: 600px) {
  /*.hero {
    aspect-ratio: 2 / 3;
    
  }*/

  .hero-text {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    padding-top: 1rem;
  }


}

/*------------------------------------
 カード
------------------------------------*/
.card_grid_3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 993px) {
  .card_grid_3 {
    grid-template-columns: repeat(3, 1fr);
  }

}

.card {
  position: relative;
  border-radius: 5px;
  background-color: var(--color-white);
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: rotate(-2deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card_img {
  width: 100%;
  height: 230px;
  padding: 0.8rem 0.8rem 0;
  object-fit: cover;
}

.card_body {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-bk);
}

.card_body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0;
}

span.card-date {
  font-size: 0.9rem;
  display: block;
  text-align: end;
  padding-bottom: 1rem;
}

.card-btn {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0.6rem 2rem 0.6rem 1rem;
  background: var(--color-main);
  border: 1px solid var(--color-main);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-btn::after {
  position: absolute;
  right: 2rem;
  transform: translateY(-50%);
  transform-origin: left;
  width: 5rem;
  height: 0.5rem;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 100%, 90% 40%, 90% 90%, 0% 90%);
  content: "";
}

/*------------------------------------
 実績カードコンポーネント
------------------------------------*/
.card_wk {
  position: relative;
  border-radius: 5px;
  background: var(--color-green);
  overflow: visible;
  border: 1px solid var(--color-mint);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card_wk:hover {
  transform: rotate(-2deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card_wk_img {
  width: 100%;
  height: 230px;
  padding: 0.8rem 0.8rem 0;
  object-fit: cover;

}

.card_wk_body {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-bk);
}

.card_wk_body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0;
}

.card_wk-btn {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0.6rem 2rem 0.6rem 1rem;
  background: var(--color-main);
  border: 1px solid var(--color-main);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_wk-btn::after {
  position: absolute;
  right: 2rem;
  transform: translateY(-50%);
  transform-origin: left;
  width: 5rem;
  height: 0.5rem;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 100%, 90% 40%, 90% 90%, 0% 90%);
  content: "";
}


.cat_tab {
  display: inline-block;
  position: absolute;
  top: 20px;
  left: -20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #FFF;
  background: var(--color-main);
  z-index: 1;
  pointer-events: none;

}

.cat_tab:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

/*上部カテゴリーバッジ*/
.cat_badge_area {
  padding-bottom: 2rem;
}

span.cat_badge {
  padding: .5rem 1rem;
  font-size: 0.9rem;
  margin: 0 10px 0 0;
  background-color: var(--color-main);
  border-radius: 5px;
}

.cat_badge a {
  color: #fff;
}

.cat_badge a:hover {
  color: #fff;
  text-decoration: none;
}

/*------------------------------------
 ページネーション
------------------------------------*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  list-style-type: none;
  padding: 0;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: solid 2px var(--color-blue);
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.15s linear;
}

a.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--color-blue);
  font-weight: bold;
  transition: all 0.15s linear;
}

.page-numbers.current {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: solid 2px var(--color-blue);
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.15s linear;
  pointer-events: none;
}

.page-numbers.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 1rem;
  color: var(--color-blue);
  font-weight: bold;
  transition: all 0.15s linear;
}

/*------------------------------------
 ボタン
------------------------------------*/
/*矢印付きボタン*/
.arrow-btn {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 80px auto 0 auto;
  padding: 1rem 2rem 1rem 1rem;
  border: 1px solid var(--color-dark);
  background-color: var(--color-main);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arrow-btn::after {
  position: absolute;
  right: 2rem;
  transform: translateY(-50%);
  transform-origin: left;
  width: 5rem;
  height: 0.5rem;
  background-color: var(--color-white);
  clip-path: polygon(0 100%, 100% 100%, 90% 40%, 90% 90%, 0% 90%);
  content: "";

}

.arrow-btn:hover {
  text-decoration: none;
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);

}

.arrow-btn:hover::after {
  text-decoration: none;
  transform: translateY(-50%) scaleX(1.2);
  background-color: var(--color-white);
}

@media screen and (max-width: 600px) {
  .arrow-btn {
    width: 100%;
    margin: 40px auto 0 auto;
  }

  .arrow-btn::after {
    right: 1em;
    width: 1.5em;
  }

  .arrow-btn:hover::after {
    transform: translateY(-50%) scaleX(1.2);
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn_outline {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.btn_outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
}

.btn_gap {
  gap: 1rem;
}

/*------------------------------------
 table
------------------------------------*/
.info-list {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0.75rem 2rem;
}

.info-list div {
  display: contents;
}

.info-list dt {
  font-size: 1.125rem;
  padding: 1rem 1rem 1rem 2rem;
  background-color: var(--color-sub);
  color: var(--color-white);
}

.info-list dd {
  font-size: 1.125rem;
  padding: 1rem;
  margin: 0;
}

/* 下にマージンを付けるブロック */
.info-list.block {
  margin-bottom: 3rem;
}

/* 最後のブロックだけマージンなし */
.info-list:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .info-list {
    grid-template-columns: 1fr;
  }

  .info-list dt {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .info-list dd {
    font-size: 1rem;
    padding: 0 0.5rem 0.5rem;
  }

}


/*------------------------------------
 flow
------------------------------------*/
.flow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow_1 {
  padding-left: 0;
}

.flow_1>li {
  list-style-type: none;
  position: relative;
  padding-left: 80px;

}

.flow_1>li:not(:last-child) {
  padding-bottom: 10px;
}

.flow_1>li .icon05 {
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  border-radius: 100vh;
  display: inline-block;
  background: var(--color-mint);
  color: var(--color-white);
  position: absolute;
  left: 0;
}

.flow_1>li:not(:last-child)::before {
  content: '';
  background: var(--color-gray);
  width: 3px;
  height: 100%;
  position: absolute;
  top: calc(50% - -30px);
  left: 22px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.flow_1>li dl dt {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 0.694rem + 1.16vw, 1.563rem);
  font-weight: 600;
  color: var(--color-sub);
}

.flow_1>li dl dd {
  margin-left: 0;
  padding-bottom: 3rem;
  font-size: 1rem;
}


/*------------------------------------
 faq
------------------------------------*/
.faq dt {
  position: relative;
  font-size: clamp(1.125rem, 0.687rem + 1.17vw, 1.563rem);
  margin-bottom: clamp(1.25rem, 3.33vw, 2.5rem);
  padding-left: 100px;
  color: var(--color-bro);
  font-weight: 600;
}

/* Qアイコンを疑似要素で表示 */
.faq dt::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-image: url('../images/q.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Aのスタイル */
.faq dd {
  position: relative;
  padding: 1rem 2rem 0.5rem 100px;
  min-height: 80px;
  background: var(--color-white);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 5rem;
}

.faq dd::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 50px;
  height: 50px;
  background-image: url('../images/a.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.faq dd:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .faq dt {
    padding-left: 80px;
  }

  .faq dd {
    padding: 2rem 2rem 0.5rem 80px;

  }
}



/*------------------------------------
 フッターセクション
------------------------------------*/
.ft_contact {
  background: url('../images/ft_cnt.webp') left top / cover no-repeat;
  min-height: 500px;

}

.ft_contact h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 2px 1px 3px rgba(0, 0, 0, 1);

}

.ft_contact p {
  font-weight: 500;
  color: var(--color-white);
  text-shadow: 2px 1px 3px rgba(0, 0, 0, 1);

}

.cnt-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  background: var(--color-main);
  color: white;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 700;
}

.cnt-btn::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url('../images/mail_wh.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.tel-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  background: var(--color-main);
  color: white;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 700;
}

.tel-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url('../images/call_w.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.cnt-btn:hover,
.tel-btn:hover {
  text-decoration: none;
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cnt-btn:active,
.tel-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bn :hover {
  opacity: 1;
}

p.copyright {
  color: var(--color-white);
  background: var(--color-main);
  font-size: 0.8rem;
  text-align: end;
  padding: 0.3rem 4rem 0.5rem 0;
  margin: 0;

}


@media (max-width: 992px) {
  .ft_contact {
    background-position: 60% top;
    min-height: 500px;

  }

  footer .nav_container {
    height: auto;
    flex-direction: column;
    justify-content: center;
  }

  .footer_nav {
    position: relative;
    padding: 3rem 1rem 0;
  }

  .footer_nav .nav_menu {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 1.5rem;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: none;
  }

  p.copyright {

    text-align: center;
    padding: 0 0 1rem 0;
  }

  .cnt-btn {
    margin-bottom: 1rem;
  }


}

/*------------------------------------
 contact
------------------------------------*/
.tel-cnt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  color: var(--color-main);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 1.8rem;
  font-weight: 700;
}

.tel-cnt::before {
  content: "";
  width: 25px;
  height: 25px;
  background-image: url('../images/call_green.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.tel-cnt:hover {
  text-decoration: none;
  opacity: 1;
  transform: translateY(-4px);

}

.tel-cnt:active {
  transform: translateY(0);
}

.tel_stxt {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 2rem 33px;
}

img.line_bn {
  width: 100%;
  max-width: 600px;
}

/* フォームグループ（各入力フィールドのラッパー） */
.form-group {
  margin-bottom: 1.5rem;
}

/* ラベル */
.form-label {
  display: block;
  margin-bottom: 0.5rem;

}

/* 必須バッジ */
.badge-required {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
  color: #fff;
  background-color: #dc3545;
  border-radius: 0.25rem;
}

/* 入力フィールド共通スタイル */
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

/* プレースホルダーのスタイル */
.form-input::placeholder,
.form-textarea::placeholder {
  color: #6c757d;
  opacity: 0.6;
}

/* フォーカス時のスタイル */
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ホバー時のスタイル */
.form-input:hover,
.form-textarea:hover {
  border-color: #a0aec0;
}

/* テキストエリア特有のスタイル */
.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* エラー状態（オプション） */
.form-input.error,
.form-textarea.error {
  border-color: #dc3545;
}

.form-input.error:focus,
.form-textarea.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* 成功状態（オプション） */
.form-input.success,
.form-textarea.success {
  border-color: #28a745;
}

.form-input.success:focus,
.form-textarea.success:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* 無効状態 */
.form-input:disabled,
.form-textarea:disabled {
  background-color: #e9ecef;
  opacity: 0.6;
  cursor: not-allowed;
}

/* 送信ボタン */
.form-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  background-color: #0d6efd;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

.form-button:hover {
  background-color: #0b5ed7;
}

/* ポリシー表示ボックス */
.policy-box {
  margin-top: clamp(5rem, 1.19rem + 10.18vw, 7.5rem);
  width: 100%;
  height: 300px;
  overflow: auto;
  border: 1px solid #dee2e6;
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.375rem;
  box-sizing: border-box;
}

/* スクロールバーのカスタマイズ（Webkit系ブラウザ） */
.policy-box::-webkit-scrollbar {
  width: 8px;
}

.policy-box::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.policy-box::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.policy-box::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Firefox用スクロールバー */
.policy-box {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

/* 確認画面用grid */
.grid_confirm {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .grid_confirm {
    grid-template-columns: 1fr;
    /* スマホは縦積み */
  }
}


/*------------------------------------
 共通
------------------------------------*/
/* セクション背景 */
.right_top {
  position: relative;
  width: 100%;

}

.right_top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-main);
  clip-path: polygon(40% 0%, 100% 0%, 100% 90%, 100% 100%);
  z-index: -1;
  pointer-events: none;
  height: 800px;
}

@media (max-width: 992px) {
  .right_top::before {
    clip-path: polygon(60% 0%, 100% 0%, 100% 20%, 100% 20%);

  }

}

.left_bottom {
  position: relative;
  width: 100%;
  isolation: isolate;

}

.left_bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-main);
  clip-path: polygon(0% 100%, 0% 85%, 20% 100%);
  z-index: -1;
  pointer-events: none;

}



.top_page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-main);

}

/*------------------------------------
 個別
------------------------------------*/
/* トップページ */
/*英字タイトル*/
span.eng {
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
  line-height: 0.5;
  display: block;
  font-size: clamp(2.5rem, -2.389rem + 10.19vw, 5.25rem);
  color: var(--color-en);
  margin-bottom: 0;

}

/*英字タイトルトップ*/
.overlap_inner span.en {
  position: absolute;
  top: -3.125rem;
  z-index: -1;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  display: block;
  font-size: clamp(2.5rem, -2.389rem + 10.19vw, 5.25rem);
  color: var(--color-en);

}

/*日本語タイトルトップ*/
.overlap_inner h2 {
  position: absolute;
  top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: clamp(1.25rem, -0.972rem + 4.63vw, 2.5rem);

}

/* オーバーラップセクション */
.overlap_grid {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 40vw, 700px);
}

.overlap_grid.align-top {
  align-items: flex-start;
}

.overlap_inner {
  z-index: 2;
  width: 50%;
  padding-left: calc((100vw - 1200px) / 2 + 3rem);
  padding-right: 3rem;

}

.overlap_img_wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.message_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(clamp(1, 1.1 - 0.1 * (100vw - 1200px) / 720px, 1.2));
  object-position: center 30%;
}

.service_img_wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  z-index: 1;

}

.service_img {
  width: 55%;
  height: auto;
  object-fit: cover;
  display: block;

}

.service_img.s_up {
  position: absolute;
  top: 10%;
  right: 0;
}

.service_img_bottom {
  padding: 1rem 1rem clamp(5rem, 2.5rem + 6.67vw, 7.5rem) 1rem;
}

@media (max-width: 1200px) {
  .overlap_inner {
    padding-left: 3rem;
  }
}

@media (max-width: 992px) {
  span.eng {
    line-height: 1.2;

  }

  .overlap_inner span.en {
    position: static;

  }

  /*日本語タイトルトップ*/
  .overlap_inner h2 {
    position: static;

  }

  .overlap_grid {
    flex-direction: column;
    display: flex;
    min-height: auto;
  }

  .overlap_inner {
    width: 100%;
    padding: 0 1rem 3rem 1rem;

  }

  .overlap_img_wrap {
    position: relative;
    width: 100%;
    height: 500px;
  }

  .service_img_wrap {
    position: relative;
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 0 1rem;
    min-width: 0;
  }

  .service_img {
    width: calc(50% - 8px);
  }

  .service_img.s_up {
    position: static;
    top: auto;
    right: auto;
  }

}

/*強み*/
section.strengths {
  position: relative;
  min-height: 600px;
  background: url('../images/strengths_bg.webp') center / cover no-repeat;

}

/* 各項目の白いボックス */
.strengths_item {
  background-color: var(--color-white);
  padding: 1.5rem 3rem;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* 軽い影 */
}

/* 数字（01, 02...）のスタイル */
.strengths_item span {
  position: absolute;
  top: -2.5rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.75rem, 2.25rem + 4vw, 5.25rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-sub);
  line-height: 1;
  margin-bottom: 2rem;
}

/* 理由の見出し */
.strengths_item h3 {
  font-size: 1.25rem;
  color: var(--color-bk);
  padding-top: 2rem;
  margin-bottom: 0;
  font-weight: 700;
}


@media (max-width: 992px) {
  section.strengths {
    background-position: left 70% center;

  }

  .strengths_item span {
    top: -2rem;
    margin-bottom: 2rem;
  }

  .strengths_item {
    padding: 1.5rem 1.5rem 1rem;

  }

  .strengths_item h3 {
    padding-top: 0;

  }

}


/*------------------------------------
 下層ページ
------------------------------------*/
.st_items {
  position: relative;
  background: linear-gradient(to right, var(--color-gray) 90%, transparent 90%);
  margin-bottom: clamp(4rem, -36.538rem + 65.38vw, 12.5rem);

}

.st_text {
  padding: clamp(2rem, -7.538rem + 15.38vw, 4rem) clamp(1rem, -8.538rem + 15.38vw, 3rem);
  position: relative;
}

.st_num {
  position: absolute;
  top: -3rem;
  left: 2rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.75rem, 2.25rem + 4vw, 5.25rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-sub);
  line-height: 1;
}

.st_text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.st_img {
  position: absolute;
  top: 4rem;
  right: 0;
  width: 50%;
  min-height: 400px;
  overflow: hidden;
}

.st_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}


/* レスポンシブ：タブレット・スマホ */
@media (max-width: 992px) {
  .st_items {
    background: var(--color-gray);

  }

  .st_num {
    top: -2rem;
    left: 1rem;
  }

  .st_img {
    position: static;
    width: 100%;
    height: 250px;
  }
}

main.page h2 {
  font-size: clamp(1.25rem, -1.731rem + 4.81vw, 1.875rem);
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: clamp(1.25rem, -0.972rem + 4.63vw, 2.5rem);
}

h3.title {
  font-size: clamp(1.125rem, 0.687rem + 1.17vw, 1.563rem);
  color: var(--color-white);
  background: var(--color-sub);
  margin: clamp(2.5rem, -3.462rem + 9.62vw, 3.75rem) 0;
  padding: 0 1rem;
  text-align: center;

}

.gray-box {
  position: relative;
  background: var(--color-gray);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  /* 縦方向に並べる */
  justify-content: space-between;
  /* 上下でスペースを確保 */
  height: 100%;
}

.gray-box img {
  align-self: center;
  /* 横方向中央 */
}

/* 左上の三角 */
.gray-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 80px solid var(--color-mint);
  border-right: 80px solid transparent;
}

.gray-box h4 {
  font-size: clamp(1.125rem, 0.687rem + 1.17vw, 1.563rem);
  color: var(--color-sub);
  margin-bottom: clamp(1.25rem, -2.327rem + 5.77vw, 2rem);
  text-align: center;
}

/*markerつきタイトル*/
.marker-title h4 {
  font-size: clamp(1.125rem, 0.687rem + 1.17vw, 1.563rem);
  color: var(--color-sub);
  padding: 0 1rem;
  display: inline;
  background: linear-gradient(transparent 60%,
      var(--color-yel) 60%);
}

.marker-title p {
  padding: 1rem 1rem clamp(2.5rem, -3.462rem + 9.62vw, 3.75rem);
}


.area {
  border: 1px solid var(--color-main);
  padding: 1.25rem;
}

.area h4 {
  font-size: clamp(1.125rem, -0.365rem + 2.4vw, 1.438rem);
  text-align: center;
  padding: 0.5rem;
  color: var(--color-white);
  background-color: var(--color-sub);
  border-radius: 9999px;
  margin-bottom: clamp(1.25rem, -2.327rem + 5.77vw, 2rem);
}

.area p {
  text-align: center;
}

.works_list ul li {
  font-weight: 700;

}

.works_list ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0 clamp(1rem, -3.769rem + 7.69vw, 2rem);

}

.works_list ul li::before {
  content: "■";
  color: var(--color-sub);
  display: inline-block;
  width: 1rem;
  margin-right: 0.5em;

}

.works_list p {
  margin: 2rem;
  font-weight: 700;

}

/*会社概要*/
.jigyoukeikaku-logo {
  padding: clamp(5rem, 2.5rem + 6.67vw, 7.5rem) 0 0;
  display: flex;
  justify-content: center;
}

.jigyoukeikaku-logo img {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
}