@charset "utf-8";
/* =============================
   基本リセット
============================= */
:root {
  --main-color: #EC6E52;
  --gray-bg: #f7f7f7;
  --dark: #474241;
  --white: #FFFFFF;
  --red: #CC0000;
  --sub-color: #1A2E72;
  --accent-color: #52AE69;
  --wall-color-g: #E9EDEE;
  --wall-color-b: #262626;
  --wall-color-f: #FFFFFF;
  --main-bg-image: url("../images/contact-bg.png");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

a {
  color: var(--dark);
  font-size: 1.0625rem;
  font-weight: 700;
}  

a:hover {
    opacity: 0.8;
}

html {
    scroll-padding-top: 100px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--dark);
  background: var(--wall-color-f);
  line-height: 1.7;
  font-size: 87.5%;
  scroll-padding-top: 100px;
}

/* =========================
   ヘッダー
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90000000;
  overflow: visible !important;
  background: var(--wall-color-f);
  display: block;
}

.header-inner {
  max-width: 1280px;
  width: 100%;
  margin: 5px auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  min-height: 70px;
  box-sizing: border-box;
  overflow: visible;
}

.logo {
  margin-top: 0;
  margin-right: auto;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  height: 60px;
}

.logo img,
.logo a img {
  height: 70px;
  width: auto;
  transition: all 0.3s;
  margin: 5px 0 0 0;
  padding: 0;
}

.header-inner .nav,
.header-inner > ul {
  display: flex;
  align-items: center;
}

.header-inner .nav {
  margin-right: 32px;
}

.nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.nav ul li {
  list-style: none;
  display: flex;
  align-items: center;
}

.header-inner > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.header-inner > ul li {
  display: flex;
  align-items: center;
  list-style: none;
}

.btn-contact-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 0;
  height: 32px;
  color: var(--white);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
  width: 140px;
  text-align: center;
  font-size: 1rem;
}

.bg-color-main {
  background: var(--main-color);
}

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


/* =============================
   レスポンシブ（スマホ対応）
============================= */
@media (max-width: 1280px) {
  .header-inner {
    padding: 0 10px;
    height: 60px;
    position: relative;
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .header-inner {
    margin: 0 0 !important;
    padding: 0 10px !important;
    min-height: 60px !important;
    height: 60px !important;
    position: relative;
    overflow: visible;
  }
  .logo {
    height: 60px;
  }
  .logo img {
    height: 44px;
  }
  .btn-contact {
    width: 120px;
    font-size: 0.95rem;
    height: 36px;
  }
  
 .btn-contact {
    width: 90vw;
    max-width: 320px;
    height: 40px;
    font-size: 1rem;
    margin: 0 auto 20px;
  }
  /* ロゴの可変 */
  .logo img {
    max-height: 52px !important;
    height: auto;
    width: auto;
  }
}

@media (max-width: 768px) {
  .header {
    height: 46px;
  }
  .header-inner {
    margin: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 0px !important;
    margin: 0 auto !important;
  }
  .logo img,
  .logo a img{
    height: 36px;
    max-height: 36px !important;
  }
}

/* スマホ専用メニュー項目を非表示（PC） */
.nav ul .sp-only {
  display: none !important;
}

@media (max-width: 900px) {
  .nav ul .sp-only {
    display: flex !important;
  }
}

/* =============================
   メインビジュアル
============================= */
.hero {
  width: 100%;
  margin: 0;
  background: var(--wall-color-f);
  box-sizing: border-box;
  overflow: visible; 
}

.hero-container {
  width: 1280px;
  margin: 45px auto 0;
  padding: 60px 0 55px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
  transform-origin: top center;
}

/* ===== 左側テキスト部分 ===== */
.hero-left {
  flex: 1;
}

.catch {
  font-size: 3.0rem;
  font-weight: 700;
  margin-top: 3.0rem;
  margin-bottom: 0.8rem;
  white-space: nowrap
}

.sub {
  font-size: 1.8rem;
  color: var(--main-color);
  font-weight: 700;
  line-height: 4.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2.0rem;
  padding-left: 20px;
}

.app-name {
  display: inline-block;
  line-height: 1;
  font-size: 4.2rem;
  font-weight: 900;
  color: var(--main-color);
  margin-left: -10px;
}

.lead {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 1.0rem;
}

.underline {
  display: inline-block;
  background-image: linear-gradient(transparent, transparent), linear-gradient(rgba(236,110,82,0.5), rgba(236,110,82,0.5));
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 0.45em, 100% 0.45em;
  background-position: 0 90%, 0 90%;
  padding-bottom: 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.laurel {
  margin-top: 40px;
}

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

.note {
  font-size: 0.9rem;
  color: var(--dark);
  margin-top: 0px;
  text-align: center;
}

/* ===== 右側パソコン部分 ===== */
.hero-right {
  flex: 1;
  position: relative;
  margin-top: 0;
  padding: 0
}

.pc-wrap {
  position: relative;
  width: 600px;
}

.mv-button {
  position: absolute;
  top: 0px;
  left: 121px;
  display: inline-block;
  z-index: 0;
}

.mv-button img {
  width: 364px;
  height: auto;
}

.pc-frame {
  position: relative;
  width: 100%;
}

.pc-base {
  width: 456px;
  height: 379px;
  display: block;
  position: absolute;
  left: 75px;
  top: 60px;
  z-index: 2;
}

.video {
  position: absolute;
  top: 72px;
  left: 83px;
  width: 437px;
  max-width: calc(100% - 120px);
  height: auto;
  aspect-ratio: 16 / 9; 
  border-radius: 5px;
  object-fit: cover;
  z-index: 3;
}

.smartphone {
  position: absolute;
  top: 355px;
  right: -17px;
  width: 385px;
  height: auto;
  z-index: 3
}

.char-left {
  position: absolute;
  top: 235px;
  left: -15px;
  width: 81px;
}

.char-right {
  position: absolute;
  top: 380px;
  left: 170px;
  width: 72px;
  z-index: 4;
}

.char-w {
  position: absolute;
  top: 145px;
  right: 0px;
  width: 63px;
}

@media (max-width: 1280px) and (min-width: 901px) {
  .hero {
    padding: 0 20px;
  }

  .hero-container {
    --scale: calc((100vw - 40px) / 1280);
    transform: scale(var(--scale));
    margin-top: 45px;
    margin-left: calc((100% - 1280px) / 2); 
  }

  .logo img,
  .logo a img {
    max-height: calc(70px * var(--scale));
    height: auto;
    width: auto;
  }

  .pc-wrap { width: 600px; }
  .mv-button { left: 121px; top: 0; }
  .pc-base  { left: 75px; top: 60px; }
  .video    { left: 83px; top: 72px; }
  .smartphone { right: -17px; top: 355px; }
}

/* ===== レスポンシブ ===== */
@media (max-width: 1280px) and (min-width: 901px) {
  .header-inner {
    width: 100%;
    padding: 0 20px;
    height: auto;
  }

  .logo img,
  .logo a img { 
    height: 60px !important;
  }

  .hero {
    width: 100%;
    margin: 0;
    padding: 40px 2%;
    box-sizing: border-box;
  }

  .hero-container {
    width: 100%;
    margin: 0 auto;
    gap: 32px;
    padding: 40px 0;
  }

  /* 左右カラム比率を調整 */
  .hero-left { flex: 0 0 50%; min-width: 420px; }
  .hero-right { flex: 0 0 50%; min-width: 420px; }

  /* テキスト縮小 */
  .catch { font-size: 2.4rem; margin-top: 2.0rem; }
  .sub { font-size: 1.4rem; line-height: 3.2rem; gap: 6px; }
  .app-name { font-size: 3.2rem; margin-left: -12px; }
  .lead { font-size: 2.0rem; }

  /* 右側イラスト（絶対配置要素）を全体サイズに合わせて縮小調整 */
  .pc-wrap { width: 520px; max-width: 100%; }
  .mv-button { left: 96px; top: 0; }
  .mv-button img { width: 320px; }
  .pc-base { width: 380px; height: auto; left: 64px; top: 50px; }
  .video { left: 71px; top: 62px; width: 96%; max-width: 364px; height: auto; }
  .smartphone { top: 300px; right: -8px; width: 330px; }
  .char-left { top: 200px; left: -10px; width: 72px; }
  .char-right { top: 320px; left: 28%; width: 64px; }
  .char-w { top: 120px; right: 0; width: 56px; }

  /* マーカー・その他微調整 */
  .underline { background-size: 100% 0.42em, 100% 0.42em; background-position: 0 88%, 0 88%; padding-bottom: 0.06em; }
}

@media (min-width: 901px) and (max-width: 990px) {
  .hero-container {
    padding: 36px 16px;
    gap: 24px;
  }

  /* 左カラムをやや縮めてテキストを小さく */
  .hero-left {
    flex: 0 0 56%;
    min-width: 220px;
  }

  .catch { font-size: 2.1rem; margin-top: 1.8rem; }
  .sub { font-size: 1.35rem; line-height: 3.2rem; }
  .app-name { font-size: 3.0rem; margin-left: -10px; }
  .lead { font-size: 1.9rem; }

  /* 右カラム全体を縮小（幅固定を減らす） */
  .hero-right {
    flex: 0 0 42%;
    min-width: 240px;
  }

  .pc-wrap {
    width: 100%;
    max-width: 520px;
  }

  /* PCフレーム／ボタン等を相対的に縮小・移動 */
  .mv-button {
    left: 16%;
    width: 80%;
    max-width: 320px;
  }
  .mv-button img { width: 100%; height: auto; }

  .pc-base {
    left: 6%;
    top: 47px;
    width: 100%;
    max-width: 380px;
  }

  .video {
    left: 8%;
    top: 57px;
    width: 96%;
    max-width: 360px;
    height: auto;
  }

  /* スマホ（右側人物）を小さくしてはみ出しを抑える */
  .smartphone {
    right: -6%;
    top: 275px;
    width: 280px;
    max-width: 100%;
  }

  /* 補助キャラを小さくして位置を調整 */
  .char-left { top: 180px; left: -16px; width: 56px; z-index:6; }
  .char-right { top: 300px; left: 50px; width: 48px; }
  .char-w { top: 110px; right: 0; width: 44px; }

  .logo img { max-height: 62px; }

  .hero { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero {
    width: 100%;
    margin: 0;
    padding: 70px 5% 0;
    box-sizing: border-box;
  }

  .hero-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    padding: 0;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    flex: none;
    text-align: center;
  }

  .hero-left {
    order: 1;
    padding: 0;
    text-align: center;
  }

  .hero-container { padding-top: 0px; padding-bottom: 24px; gap: 28px; }
  .catch { font-size: 3.0rem; margin-top: 1.2rem; }
  .sub {
    width: 100%;
    display: flex !important;
    flex-direction: row;
    justify-content: center !important; 
    align-items: center !important;     
    text-align: center !important;
    gap: 6px;
    white-space: nowrap;
  }
  .sub .app-name {
    margin-left: 0 !important;
    font-size: 4.0rem;
    line-height: 1;
  }
  .pc-wrap { max-width: 480px; }
  .mv-button img { width: 300px; }

  .hero-right {
    order: 2;
    margin-top: 0;
    padding: 0;
    position: relative;
  }

  .pc-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    height: auto;
    display: block;
    padding: 0;
  }

  .mv-button,
  .pc-base,
  .video,
  .smartphone,
  .char-left,
  .char-right,
  .char-w {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: block;
    margin: 8px auto;
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .pc-frame {
    position: absolute;
    top: 45px;
  }

  .pc-base {
    max-width: 456px;
    width: 100%;
    height: auto;
  }

  .video {
    width: calc(100% - 24px);
    max-width: 437px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    position: absolute !important;
    left: 40px !important;
    top: 11px !important;
  }

  .smartphone {
    width: 60%;
    max-width: 360px;
    margin-top: 0;
    z-index: 4 !important;
    position: absolute!important;
    top: 325px !important;
    right: 0!important;
  }

  .char-left {
    width: 10%;
    max-width: 80px;
    opacity: 0.95;
    z-index: 5 !important;
    position: absolute !important;
    top: 200px !important;
    left: 0 !important;
  }

  .char-right {
    width: 10%;
    max-width: 80px;
    opacity: 0.95;
    z-index: 5 !important;
    position: absolute !important;
    top: 350px !important;
    left: 170px !important;
  }

  .char-w {
    width: 10%;
    max-width: 80px;
    opacity: 0.95;
    z-index: 5 !important;
    position: absolute !important;
    top: 150px !important;
    right: 0 !important;
  }
}

/* さらに小さい画面向け微調整 */
@media (max-width: 600px) {
  .hero {
    padding: 50px 6%;
  }

  .pc-wrap {
    max-width: 360px;
  }

  .catch {
    font-size: 1.6rem;
    margin-top: 0.8rem;
  }

  .sub {
    font-size: 1.2rem;
  }

  .sub .app-name {
    margin-left: -20px !important;
    font-size: 3.0rem;
    line-height: 1;
  }

  .lead {
    font-size: 1.6rem;
  }

  .smartphone {
    width: 80%;
    max-width: 360px;
    margin-top: 0;
    z-index: 4 !important;
    position: absolute!important;
    top: 270px !important;
    right: 0!important;
  }

  .char-left {
    width: 12%;
    max-width: 100px;
    opacity: 0.95;
    z-index: 5 !important;
    position: absolute !important;
    top: 180px !important;
    left: -30px !important;
  }

  .char-right {
    width: 12%;
    max-width: 100px;
    opacity: 0.95;
    z-index: 5 !important;
    position: absolute !important;
    top: 300px !important;
    left: 40px !important;
  }

  .char-w {
    width: 12%;
    max-width: 100px;
    opacity: 0.95;
    z-index: 5 !important;
    position: absolute !important;
    top: 100px !important;
    right: -30px !important;
  }
}

@media (max-width: 480px) {
  .sub {
    display: flex !important;
    margin-top: -10px !important; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  .sub .app-name {
    display: block !important;
    margin-left: 0 !important;
    margin-top: -20px !important; 
    font-size: 3.0rem;
    line-height: 1;
  }
}

@media (max-width: 600px) {
  .pc-wrap {
    width: 100%;
    margin: 0 auto;
  }

  .mv-button {
    width: 80% !important;
    height: auto;
  }

  .mv-button img { width: 242px; }

  .pc-frame {
    position: absolute;
    top: 35px;
  }

  .video {
    width: 95%;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    position: absolute !important;
    left: 6px !important;
    top: 10px !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 1180px !important; 
    padding-bottom: 24px !important;
    overflow: visible !important;
  } 
}

@media (max-width: 647px) {
  .hero {
    min-height: 1220px !important; 
    padding-bottom: 24px !important;
    overflow: visible !important;
  } 
}

@media (max-width: 601px) {
  .hero {
    min-height: 1300px !important; 
    padding-bottom: 24px !important;
    overflow: visible !important;
  } 
}

@media (max-width: 600px) {
  .hero {
    min-height: 950px !important; 
    padding-bottom: 24px !important;
    overflow: visible !important;
  } 
}

@media (max-width: 390px) {
  .hero {
    min-height: 930px !important; 
    padding-bottom: 24px !important;
    overflow: visible !important;
  } 
}

/* =============================
   補助金バナー
============================= */
.subsidy {
  max-width: 1200px;
  margin: 10px auto 0;
}
.subsidy img{
  width: 100%;
}

@media (max-width: 1280px) {
  .subsidy {
    max-width: 90%;
  }
}

/* =============================
   お悩み紹介
============================= */
.trouble {
  background: var(--wall-color-g);
  margin: 70px 0 0;
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 3.0rem;
}

.section-title {
  position: relative;
}

/* 下にオレンジのマーカー風アンダーライン（幅25%、高さ4px、中央寄せ） */
.section-title::after {
  content: "";
  display: block;
  width: 12%;
  max-width: 12%;
  height: 4px;
  background: var(--main-color);
  margin: 0px auto 0;
}

/* 小さい画面で幅を少し広げたい場合（任意） */
@media (max-width: 480px) {
  .section-title::after {
    width: 60%;
  }

  .section-title::after {
    width: 24%; 
    max-width: 24%;
  }

}

.trouble-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 60px auto 25px;
}

.trouble-item {
  text-align: center;
  width: calc((1280px - 80px) /3 );
}

.trouble-item img {
  width: 280px;
  height: 280px;
  margin-bottom: 10px;
}

.trouble h3 {
  text-align: center;
  margin: 0px 0 40px;
  font-size: 1.5rem;
  line-height: 1.4;
}

.solution-title {
  text-align: center;
  font-size: 3.0rem;
}

.solution-title span{
  color: var(--main-color);
}

.solution-title {
  text-align: center;
  font-size: 3.0rem;
  margin-bottom: 0px;
}

.solution-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1280px;
  margin: 22px auto;
}

.solution-card {
  background: var(--wall-color-f);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: calc((1280px - 80px) /3 );
  margin-right: 40px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-card:last-child {
  margin-right: 0px !important;
}

.solution-label {
  position: relative;
  background: var(--sub-color);
  color: #fff;
  font-weight: 700;
  padding: 0;
  border-radius: 9999px;
  margin-bottom: 16px;
  display: inline-block;   /* 幅を内容に合わせる */
  width: 100%;
  font-size: 1.75rem;
  text-align: center;
  height: 44px;
  line-height: 44px;
}
/* 下向きの吹き出し（三角） */
.solution-label::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px; /* 三角の高さに合わせて位置を調整 */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;   /* 横を細く */
  border-right: 8px solid transparent;  /* 横を細く */
  border-top: 16px solid var(--sub-color); /* 縦（高さ）を長く */
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.06));
}

.solution-heading {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 16px;
}

.highlight-orange {
  color: var(--main-color);
}

.solution-img {
  width: 100%;
  max-width: 358px;
  margin: 6px auto 16px;
  position: relative;
  box-sizing: border-box;
  padding-top: 12px;
  overflow: visible;
}

.solution-img::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--dark);  /* 見えやすいオレンジ色に変更 */
  border-radius: 2px;
  z-index: 999;
  pointer-events: none;
}

.solution-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--dark);
  text-align: left;
  padding: 0 0px 10px 5px;
  font-weight: 700;
}

.solution-btn-wrap {
  margin-top: 86px;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 12px;
  box-sizing: border-box;
}

.solution-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* テキストを中央に */
  position: relative;      /* ::after を右に配置する基準 */
  background: var(--main-color);
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 4px 48px 4px 36px; /* 右側に矢印用スペースを確保 */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  height: 54px;
  line-height: 54px;
  width: 600px;
  box-sizing: border-box;
}

/* 右端に「＞」を表示（テキストは真ん中、記号は右寄せ） */
.solution-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 89px;
  transform: translateY(-50%);
  width: 12px;
  height: 19px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 19px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 19'><path d='M1 1 L10 9.5 L1 18' stroke='%23FFFFFF' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  pointer-events: none;
}

.solution-btn:hover {
  background: var(--main-color);
  transform: translateY(-2px);
}

.solution-btn span{
  font-size: 70%;
  margin-right: 20px;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
  border-radius: 40px;
  width: 640px;
  height: 80px;
  font-weight: bold;
  border-bottom: 5px solid #924432;
  transition: 0.3s;
  background-color: #EC6E52;
  margin: 0 auto;
}

.faq-btn span{
  font-size: 80%;
  margin-right: 20px;
  margin-top: 5px;
}

@media (max-width: 480px) {  
  .faq-btn {
    font-size: 1.125rem;
  }

  .faq-btn span{
    font-size: 80%;
    margin-right: 12px;
    margin-top: 4px;
  }

  .faq-btn {
    height: 60px;
  }

  .solution-text {
    font-size: 1rem;
  }

}


/* =============================
   タブレット（
============================= */
@media (min-width: 901px) and (max-width: 1294px) {
  .pc-only {
    display: none;
  }

  .trouble {
    padding: 60px 0;
    width: 100%;
    margin: 60px auto;
  }

  .section-title {
    font-size: 2.6rem;
  }

  .trouble-list {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 40px auto;
  }

  .trouble-item {
    width: 33%;
    padding: 0 3%;
    box-sizing: border-box;
  }

  .trouble-item img {
    width: 100%;
				max-width: 280px;
    height: auto;
    margin-bottom: 15px;
  }

  .trouble h3 {
    font-size: 1.3rem;
  }

  .solution-title {
    font-size: 2.6rem;
  }

  .solution-cards {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .solution-card {
    display: flex;
    width: 31%;
    max-width: 31%;
    padding: 20px 2%;
    box-sizing: border-box;
    margin-right: 2%;
  }

  .solution-label {
    font-size: 1.4rem;
    height: 38px;
    line-height: 38px;
  }
  
  .solution-heading {
    font-size: 1.2rem;
  }

  .solution-img {
    width: 100%;
    max-width: 100%
  }

  .solution-img img{
    width: 100%;
  }

  .solution-btn {
    width: 100%;
  }


}

@media (max-width: 900px) {  
  .pc-only {
    display: none;
  }

  .trouble {
    padding: 56px 0;
    width: 100%;
    margin: 60px auto;
  }

  .section-title {
    font-size: 2.0rem;
  }

  .trouble-list {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 40px auto;
  }

  .trouble-item {
    width: 33%;
    padding: 0 2%;
    box-sizing: border-box;
  }

  .trouble-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  .trouble h3 {
    font-size: 1.2rem;
  }

  .solution-title {
    font-size: 2.0rem;
  }

  .solution-cards {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 20px auto 40px;
  }

  .solution-card {
    display: flex;
    width: 31%;
    max-width: 31%;
    padding: 20px 2%;
    box-sizing: border-box;
    margin-right: 2%;
  }

  .solution-label {
    font-size: 1.4rem;
    height: 38px;
    line-height: 38px;
  }
  
  .solution-heading {
    font-size: 1.2rem;
  }

  .solution-img {
    width: 100%;
    max-width: 100%
  }

  .solution-img img{
    width: 100%;
  }
}

/* =============================
   スマホ（<= 740px）：1カラム縦積み、余白確保
============================= */
@media (max-width: 768px) {

  .section-title {
    font-size: 1.6rem;
    white-space: nowrap;
  }

  .trouble {
    padding: 36px 36px 60px;
  }

  .trouble .section-title {
    margin-left: -36px;
    margin-right: -36px;
    width: calc(100% + 72px);
    text-align: center; 
  }

 /* .trouble .section-title {
    font-size: 1.6rem;
    margin-bottom: 18px;
  } */

  .trouble-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    margin: 40px auto 0;
    width: 90%;
  }

  .trouble-item {
    padding: 12px 0 0;
    width: 100%;
  }

  .trouble-item img {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin-bottom: 12px;
  }

  .trouble-item h3 {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .solution-title {
    margin-top: 28px;
    font-size: 1.375rem;
  }

  .solution-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .solution-card { 
    min-height: auto; 
    padding: 20px 20px 16px; 
    width: 100%; 
    max-width: 100%; 
    margin-right: 0; 
    margin-bottom: 20px;
  }

  .solution-heading {
    font-size: 1.25rem;
  }

  .solution-img {
    width: 100%;
    max-width: 100%;
  }

  .solution-img {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    display: flex;
    justify-content: center; 
    align-items: center; 
  }

  .solution-img img {
    display: block; 
    margin: 0 auto;
    width: 100%;
    max-width: 358px;
    height: auto;
  }

  .solution-label {
    font-size: 1.25rem;
    height: 38px;
    line-height: 38px;
  }

  .solution-btn-wrap {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .solution-btn {
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-size: 1.125rem;
  }

  .solution-btn::after {
    right: 20px;
  }
}

/* 追加：リンクやボタンが重ならないよう上下の余白を確保 */
.trouble + .solution-cards,
.trouble + .solution-title {
  margin-top: 24px;
}

/* =============================
   選ばれる理由
============================= */
.reason {
  padding: 65px 0px 0;
  text-align: center;
  position: relative;
}

.reason-title {
  text-align: center;
  font-size: 3.0rem;
  position: relative;
}

.reason-title::after {
  content: "";
  display: block;
  width: 12%;
  max-width: 12%;
  height: 4px;
  background: var(--main-color);
  margin: -20px auto　0;
}

/* 小さい画面で幅を少し広げたい場合（任意） */
@media (max-width: 480px) {
  .reason-title::after {
    width: 60%;
  }

  .reason-title::after {
    width: 24%; 
    max-width: 24%;
  }

}

.reason-block {
  display: flex;
  margin: 30px auto 0;
  flex-wrap: wrap;
  text-align: left;
  width: 1280px;
}

.reason-block02 {
  display: flex;
  margin-top: -40px;
  flex-wrap: wrap;
  text-align: left;
  width: 100%;
  height: 530px;
  background: url(../images/reason-bg.png) no-repeat center top;
  background-size: cover;
}

.reason-block03 {
  display: flex;
  margin: -85px auto 0;
  flex-wrap: wrap;
  text-align: left;
  width: 1280px;
}

.reason-inner {
  width: 1280px;
  margin: 0 auto;
  display: flex;
  }

.reason-bg-light {
  padding: 60px 20px;
  border-radius: 40px;
}

.reason-text {
  flex: 1;
  max-width: 50%;
  padding: 138px 0 0 90px;
  box-sizing: border-box;
}

.reason-block02 .reason-text {
  flex: 1;
  max-width: 50%;
  padding: 165px 0 0 20px;
  box-sizing: border-box;
}

.reason-image {
  flex: 1;
  max-width: 50%;
  padding: 0px 0 0 55px;
  box-sizing: border-box;
}

.reason-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.reason-block02 .reason-image {
  flex: 1;
  max-width: 50%;
  padding: 70px 0 0 30px;
  box-sizing: border-box;
}

.reason-block02 .reason-image img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.reason-block03 .reason-image {
  flex: 1;
  max-width: 50%;
  padding: 0px 0 0 75px;
  box-sizing: border-box;
}

.reason-block03 .reason-image img {
  width: 100%;
  max-width: 510px;
  height: auto;
}

.reason-subtitle,
.reason-block02 .reason-inner .reason-subtitle {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 700;
  position: relative;
}

.reason-subtitle::after {
  content: "";
  display: block;
  width: 17%;
  max-width: 17%;
  height: 2px;
  background: var(--main-color);
  margin: 6px 0 18px;
}

.reason-block02 .reason-inner .reason-subtitle::after {
  content: "";
  display: block;
  width: 15%;
  max-width: 15%;
  height: 2px;
  background: var(--main-color);
  margin: 6px 0 18px;
}
.reason-heading {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.6;
}

.highlight {
  color: var(--main-color);
}

.reason-list {
  list-style: none;
  margin-top: 32px;
  padding-left: 0;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 600;;
}

.reason-list li {
  position: relative;
  padding-left: 1em;
}

.reason-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--dark);
}

.wave-section {
  position: relative;
  background-color: rgba(63, 113, 252, 0.2); /* 背景ブルー透過20% */
  padding: 120px 0;
  overflow: hidden;
}

.reason-btn {
  position: absolute;
  bottom: 13px;
  left: -320px;
}

/* =============================
   タブレット
============================= */
@media (min-width: 901px) and (max-width: 1294px) {
  .reason {
    padding: 0px 0px;
    text-align: center;
  }
  .reason-block,
  .reason-block03 {
    width: 90%;
  }
  .reason-title {
    font-size: 2.6rem;
  }
  .reason-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--main-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    padding: 4px 0px 4px 0px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 54px;
    line-height: 54px;
    width: 600px;
    margin: 75px 0 0 0;
  }
  
  .reason-btn {
    position: absolute;
    bottom: 50px;
    left: 5%;
    width: 540px ;
  }

  .reason-text {
    padding: 64px 0 0 0px;
  }

  .solution-btn {
    width: 540px;
    padding: 4px 0;
  }

  .solution-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 12px;
    height: 19px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 19px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 19'><path d='M1 1 L10 9.5 L1 18' stroke='%23FFFFFF' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    pointer-events: none;
  }
}

/* =============================
   タブレット
============================= */
@media (min-width: 901px) and (max-width: 1130px) {
  
  .reason-btn {
    position: absolute;
    bottom: -50px;
    left: 5%;
    width: 540px ;
  }

}

@media (max-width: 900px) {  
  .reason {
    padding: 0px 0px;
    text-align: center;
  }
  .reason-title {
    font-size: 1.6rem;
  }
  .reason-block,
  .reason-block03 {
    width: 100%;
  }
  .reason-text {
    max-width: 50%;
    padding: 40px 0 0 5%;
    box-sizing: border-box;
  }
  .reason-subtitle, 
  .reason-block02 .reason-inner .reason-subtitle {
    font-size: 1.2rem;
  }
  .reason-heading {
    font-size: 1.2rem;
  }
  .reason-list {
    margin-top: 20px;
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .reason-image {
    flex: 1;
    max-width: 50%;
    padding: 0px 20px 0 0;
  }

  .reason-inner {
    width: 96%;
    margin: 0 auto;
    display: flex;
  }

  .reason-block02 .reason-image {
    padding: 70px 0 0 0px;
    box-sizing: border-box;
  }

  .reason-btn {
    position: absolute;
    bottom: -100px;
    left: 16px;
    width: calc( 100% - 32px ) ;
  }

}

@media (max-width: 640px) {  
  .reason-block {
    display: block;
    width: 90%;
  }

  .reason-text {
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  
  .reason-image {
    max-width: 100%;
    padding: 20px 0 0 0px;
    box-sizing: border-box;
  }
  
  .reason-image img,
  .reason-block03 .reason-image img,
  .reason-block02 .reason-image img {
    width: 80%;
    max-width: 100%;
    text-align: center;
    margin: 0 10%;
  }

  .reason-block02 {
    display: block;
    width: 100%;
    margin-top: 0px;
  }

  .reason-inner {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  .reason-block02 .reason-image {
    max-width: 100%;
    padding: 20px 0 0 0px;
    box-sizing: border-box;
  }

  .reason-block02 .reason-text {
    max-width: 100%;
    padding: 0px 0 0 0px;
    box-sizing: border-box;
  }

  .reason-block03 {
    display: block;
    margin: 0px auto 0;
    width: 90%;
  }

  .reason-block03 .reason-image {
    max-width: 100%;
    padding: 20px 0 0 0;
    box-sizing: border-box;
  }

  .reason-btn {
    position: absolute;
    bottom: -100px;
    left: 5%;
    width: 90%;
  }
}


/* =============================
   導入事例
============================= */
.case {
  background: var(--wall-color-g);
  width: 100%;
  margin: 40px 0 0;
  padding: 66px 0 40px;
  text-align: center;
}

.case-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 80px auto;
}

.case-card {
  background: #fff;
  width: calc((1280px - 80px) / 3);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover,
.case-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.case-img {
  width: 100%;
  height: 236px;
  object-fit: cover;
}

.case-body {
  text-align: left;
  padding: 25px 6% 30px;
}

.case-company {
  font-size: 0.875rem;
  margin-bottom: 0px;
}

.case-heading {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.case-heading::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 100%;
  height: 1px;
  background: var(--dark);
  margin: 6px auto 0;
  border-radius: 2px;
}

.case-section-block {
  margin-top: 20px;
  margin-bottom: 14px;
}

.case-label {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.case-label.red {
  color: var(--red);
}

.case-list {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.case-list li::before {
  content: "●";
  margin-right: 6px;
}

.case-btn {
  display: block;
  background: var(--sub-color);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  padding: 15px 0;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.case-card-full {
  background: #fff;
  width: 1000px;
  padding: 30px 4% 30px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-company-full {
  font-size: 1.125rem;
  margin-bottom: 0px;
}

.case-heading-full {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.case-heading-full::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 100%;
  height: 1px;
  background: var(--dark);
  margin: 6px auto 0;
  border-radius: 2px;
}

.case-body-full {
  display: flex;
  text-align: left;
}

.case-body-full-img {
  width: 45%;
  object-fit: cover;
}

.case-body-full-txt {
  width: 50%;
  margin-left: 5%;
}

.case-section-block-full {
  margin-bottom: 20px;
  margin-bottom: 14px;
}

.case-btn-full {
  display: block;
  background: var(--sub-color);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 6px;
  padding: 10px 0;
  text-decoration: none;
  margin: 15px 20%;
  transition: background 0.3s ease;
}

.case-btn:hover {
  background: #0e2159;
}


@media (min-width: 901px) and (max-width: 1110px ) {

  .case-btn {
    font-size: .8rem;
  }

}

@media (max-width: 1280px) {
  .case {
    width: 100%;
    margin: 140px 0 0;
    padding: 60px 0;
    text-align: center;
    display: block;
  }

  .case-cards {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    row-gap: 30px;
    margin: 60px auto;
    width: 100%;
    display: flex;
  }

  .case-card {
    width: calc((96% - 4%) / 3);
  }

  .case-card {
    margin-right: 2%;
  }

  .case-card::lase-child {
    margin-right: 0%;
  }

} 

@media (max-width: 1280px) and (min-width: 901px) {

  .case-cards {
    margin: 60px 5%;
    width: 90%;
  }

  .case-card-full {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
  }

}

@media (max-width: 900px) {
  .case {
    width: 100%;
    margin: 140px 0 0;
    padding: 60px 0;
    text-align: center;
    display: block;
  }

  .case-cards {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    margin: 60px auto;
    width: 90%;
  }

  .case-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .case-card-full {
    width: 100%;
  }
}


@media (max-width: 640px) {  
  .case {
    width: 100%;
    margin: 160px 0 0;
    padding: 60px 0 30px;
    text-align: center;
    display: block;
  }

  .case-cards {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    margin: 60px auto;
    width: 90%;
  }

  .case-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .case-heading-full {
    font-size: 1.125rem;
    text-align: left;
  }

  .case-body-full {
    display: block;
  }

  .case-body-full-img {
    width: 100%;
  }
 
  .case-body-full-txt {
    width: 100%;
    margin-left: 0%;
  }

  .case-btn-full {
    margin: 15px 0%;
  }

}




.w90 { 
  width: 90%; 
  margin: 0 auto;
}


/* =============================
   FAQ（アコーディオン）
============================= */
.faq-section {
  width: 100%;
  margin: 25px 0 0;
  padding: 30px 0;
}

.faq-list {
  max-width: 1200px;
  margin: 85px auto 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item-wrapper {
  background: var(--wall-color-f, #fff);
  border-radius: 4px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-bottom: 25px;
  margin-left: 15px;
  position: relative;
  width: calc(100% - 15px);
}

.faq-item.active {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}

/* Qマーク */
.faq-q {
  background: var(--sub-color);
  color: #fff;
  font-weight: bold;
  font-size: 2.25rem;
  position: absolute;
  left: -15px;
  top: 15px;
  width: 98px;
  height: 60px;
  z-index: 200;
  text-align: center;
  line-height: 60px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 60px;
}

.faq-q:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px rgb(149, 158, 155); /* 折り返し部分 */
}

/* 質問タイトル */
.faq-q-title {
  padding: 25px 100px 25px 120px;
  font-weight: 600;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 右側の矢印ボタン */
.faq-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  position: relative;
  position: absolute;
  right: 20px;
  flex-shrink: 0;
  transition: background 0.3s ease;
  cursor: pointer;
  background: var(--sub-color);
}

.faq-toggle-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.3s ease;
}

/* 開いた時に矢印を回転 */
.faq-item.active .faq-toggle-btn::before {
  transform: translate(-50%, -40%) rotate(-135deg);
}

/* 回答部分 */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 60px 0 120px;
  line-height: 1.8;
  font-size: 1rem;
}

.faq-item.active .faq-a {
  max-height: 1000px;
  padding: 0 60px 30px 120px;
}

.faq-item.active .faq-a P{
  padding-top: 1rem;
}

/* ▼ 900px以下（タブレット） */
@media screen and (max-width: 1200px) {
  .faq-list {
    margin: 50px 10px 80px;
  }

  .faq-item-wrapper {
    margin-left: 0;
    margin-left: 5%;
    position: relative;
    width: 90%;
  }

  .faq-q {
    width: 70px;
    height: 45px;
    font-size: 1.8rem;
    line-height: 45px;
    position: absolute;
    left: -15px;
    top: 10px;
  }

  .faq-q:before {
    border-right: solid 10px rgb(149, 158, 155);
  }

  .faq-q-title {
    font-size: 1.25rem;
    padding: 20px 70px 20px 100px;
  }

  .faq-toggle-btn {
    width: 32px;
    height: 32px;
    right: 15px;
  }

  .faq-toggle-btn::before {
    width: 8px;
    height: 8px;
  }

  .faq-a {
    font-size: 0.95rem;
    padding: 0 40px 0 100px;
  }

  .faq-item.active .faq-a {
    padding: 0px 25px 25px 25px;
    margin-top: -10px;
  }

}

/* ▼ 600px以下（スマホ） */
@media screen and (max-width: 600px) {
  .faq-list {
    margin: 30px 10px 60px;
  }

  .faq-item-wrapper {
    margin-left: 10px;
    position: relative;
    width: calc(100% - 15px);
  }

  .faq-q {
    width: 55px;
    height: 38px;
    font-size: 1.5rem;
    line-height: 38px;
    position: absolute;
    left: -10px;
    top: 10px;
  }

  .faq-q-title {
    font-size: 1rem;
    line-height: 1.2;
    padding: 22px 60px 22px 75px;
  }

  .faq-toggle-btn {
    width: 28px;
    height: 28px;
    right: 10px;
  }

  .faq-toggle-btn::before {
    width: 7px;
    height: 7px;
  }

  .faq-a {
    font-size: 0.9rem;
    padding: 0 25px 0 75px;
  }

  .faq-item.active .faq-a {
    padding: 0px 25px 20px 25px;
    margin-top: -10px;
  }
}


/* =============================
   お役立ち情報
============================= */
.blog-list {
  background: var(--wall-color-g);
  width: 100%;
  margin: 55px 0 0;
  padding: 60px 0 80px;
  text-align: center;
}

.blog-list P{
  width: 100%;
  margin: 0;
  padding: 35px 0 0;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 700;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px auto 80px;
}

.card {
  background: #fff;
  width: calc((1280px - 80px) / 3);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.card-content {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
}

.card-content span.tag{
  width: 145px;
  height: 22px;
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  background: var(--main-color);
  border-radius: 50px;
}

.card-content h3{
  display: block;
  font-weight: 700;
  text-align: left;
  line-height: 1.4;
  margin-top: 5px;
}

.card-content h3 span{
  color: var(--main-color);
}

.card img{ 
  width: 100%;
  margin: 10px 0;
}

.card P{ 
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  padding: 0;
}


@media (max-width: 1280px) {
  .blog-list {
    width: 100%;
    margin: 140px 0 0;
    padding: 60px 0;
    text-align: center;
    display: block;
  }

  .card-container {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 60px auto;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .card {
    width: calc((100% - 4%) / 3);
    margin-right: 2%;
  }

  .card:last-child {
    margin-right: 0%;
  }
} 
  
@media (max-width: 900px) {
  .blog-list {
    width: 100%;
    margin: 80px 0 0;
    padding: 60px 0;
    text-align: center;
    display: block;
  }

  .blog-list P{
    font-size: 1rem;
  }

  .card-container {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    margin: 60px auto;
    width: 90%;
  }

  .card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {  
  .blog-list {
    width: 100%;
    margin: 140px 0 0;
    padding: 60px 0;
    text-align: center;
    display: block;
  }

  .blog-list P{
    font-size: 1rem;
    text-align: left;
    margin: 0 5%;
    width: 90%;
  }

  .card-container {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    margin: 60px auto;
    width: 90%;
  }

  .card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

}

@media (max-width: 480px) {  

  .blog-list {
    margin: 60px 0 0;
    padding: 60px 0;
    text-align: center;
    display: block;
  }

  .card-content h3{
    font-size: 1rem;
  }

  .blog-list P {
    font-size: 0.875rem;
  }

}

/* =============================
   新着情報
============================= */
.news-section {
  width: 100%;
  margin: 35px 0 0;
  padding: 30px 0 100px;
}

.news-list {
  list-style: none;
  max-width: 1200px;
  margin: 85px auto 60px;
}

/* =============================
   PC（横並び・中央揃え調整）
============================= */
.news-item {
  border-bottom: 1px solid #ddd;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 600;
}

/* ★カテゴリラベル 共通化 */
.news-item span[class^="news-label"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-right: 24px;
  flex-shrink: 0;
  width: 155px;
  text-align: center;
  line-height: 20px;
}

.news-label01 { background: var(--sub-color); }
.news-label02 { background: var(--main-color); }
.news-label03 { background: var(--accent-color); }

.news-item .news-date {
  margin-right: 24px;
  padding: 4px 0;
}

.news-item .news-text {
  padding: 4px 0;
}

/* =============================
   1200px以下
============================= */
@media screen and (max-width: 1200px) {
  .news-list {
    margin: 60px 20px;
    width: calc(100% - 40px);
  }
}

/* =============================
   1024px以下
============================= */
@media screen and (max-width: 1024px) {
  .news-item {
    padding: 18px 15px;
    font-size: 1.0625rem;
  }

  .news-item span[class^="news-label"] {
    width: 140px;
    font-size: 0.8rem;
    margin-right: 20px;
  }

  .news-item .news-date {
    margin-right: 20px;
  }
}

/* =============================
   768px以下（テキストが勝手に横並びになる問題を解決）
============================= */
@media screen and (max-width: 768px) {

  .news-item {
    flex-wrap: wrap;
    align-items: center; /* ★中央揃えに修正 */
    padding: 12px 10px;
  }

  /* ★1行目：カテゴリ＋日付（横並び・中央） */
  .news-item span[class^="news-label"],
  .news-item .news-date {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-bottom: 4px;
    margin-top: 2px;
  }

  .news-item span[class^="news-label"] {
    width: 130px;
    padding: 5px 12px;
    font-size: 13px;
  }

  .news-item .news-date {
    font-size: 12px;
  }

  /* ★2行目：テキストは必ず改行し、上にずれないよう margin-top を調整 */
  .news-item .news-text {
    width: 100%;
    display: block;
    margin-top: 8px; /* ★テキストが上に行かないよう調整 */
    font-size: 14px;
  }


  /* ★1行目：カテゴリ＋日付（横並び） */
  .news-item span[class^="news-label"],
  .news-item .news-date {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    margin-top: 2px;
  }

  /* カテゴリ */
  .news-item span[class^="news-label"] {
    width: 140px;
    padding: 5px 15px;
    font-size: 13px;
    height: 26px;
  }

  /* 日付 */
  .news-item .news-date {
    font-size: 12px;
  }

  /* ★2行目：テキストは必ず改行して全幅へ */
  .news-item .news-text {
    width: 100%;
    display: block;
    margin-top: 6px;
    font-size: 14px;
  }
}

/* =============================
   600px以下（スマホ）
============================= */
@media (max-width: 600px) {
  .news-item {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* ★1行目：カテゴリ＋日付（横並び） */
  .news-item span[class^="news-label"],
  .news-item .news-date {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    margin-right: 10px;
    flex-shrink: 0;
    white-space: nowrap; /* ★折り返し防止 → テキストが押し上がらないように */
  }

  /* ★カテゴリ */
  .news-item span[class^="news-label"] {
    width: 130px;
    height: 24px;
    padding: 2px 0;
    font-size: 12px;
  }

  /* ★日付 */
  .news-item .news-date {
    font-size: 12px;
  }

  /* ★2行目：テキストを必ず下に落とす */
  .news-item .news-text {
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
    font-size: 14px;
    clear: both !important;
    order: 99; /* ★テキストを最下段に強制配置 */
  }


  /* ★1行目：カテゴリ＋日付（横並び） */
  .news-item span[class^="news-label"],
  .news-item .news-date {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    margin-right: 10px;
  }

  /* ★カテゴリ */
  .news-item span[class^="news-label"] {
    width: 130px;
    height: 24px;
    padding: 2px 0;
    font-size: 12px;
  }

  /* ★日付 */
  .news-item .news-date {
    font-size: 12px;
  }

  /* ★2行目：テキストは必ず改行し、横並び禁止 */
  .news-item .news-text {
    width: 100% !important;
    display: block !important;
    margin-top: 6px;
    font-size: 14px;
    clear: both;
  }


}

/* =============================
   420px以下
============================= */
@media screen and (max-width: 420px) {
  .news-section {
    padding: 30px 0 40px;
  }

  .news-item {
    font-size: 0.85rem;
  }

  .news-item span[class^="news-label"] {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .news-item .news-date {
    font-size: 0.8rem;
  }
}

/* =============================
   共通お問い合わせ部
============================= */
.contact-section {
  width: 100%;
  margin: 0px 0 0;
  padding: 30px 0;
  background: url(../images/contact-bg.png) no-repeat center top;
  background-size: cover;
}

.contact-section h2{
  width: 100%;
  margin: 20px 0 0;
  text-align: center;
  color: var(--white);
  font-size: 2.25em;
}

.contact-section p{
  width: 100%;
  margin: 5px 0 0;
  text-align: center;
  color: var(--white);
  font-size: 1.25rem;
}

.contact-section p .sp-only {
  display: none;
}

.contact-grid{
  width: 1102px;
  margin: 25px auto;
  display: flex;
}

.contact-card{
  margin: 0px 30px 0 0;
  background: #fff;
  width: calc((1102px - 60px) / 3);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px 50px 20px;
  box-sizing: border-box;
}

.contact-card:last-child{
  margin: 0px 0px 0 0;
}

.contact-card img{
  margin: 0;
  display: block;
  width: 100%;
}

.contact-card h3{
  margin: 0;
  display: block;
  background: var(--main-color);
  font-weight: 800;
  font-size: 1.0625rem;
  text-align: center;
  width: 100%;
  height: 55px;
  line-height: 55px;
  border-radius: 50px;
  position: relative;
}

.contact-card h3::after {
  position: absolute;
  font-size: 22px;
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 600;
  color: var(--white);
  right: 20px;
  top: 0;

}

.contact-card h3 a{
  color: #FFF;
  display: block;
}

.contact-card p{
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--dark);
}

span.freetel a{
  font-size: 1.4375rem;
}

/* ▼ 1200px以下（大画面ノートPC） */
@media screen and (max-width: 1200px) {
  .contact-grid {
    width: 96%;
    gap: 25px;
  }

  .contact-card {
    width: calc((100% - 40px) / 3);
    padding: 10px 20px 20px;
  }

  .contact-card img {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }

}

/* ▼ 1024px以下（タブレット横） */
@media screen and (max-width: 1024px) {
  .contact-section h2 {
    font-size: 2rem;
  }

  .contact-section p {
    font-size: 1.125rem;
  }

  .contact-section p .sp-only {
    display: none;
  }

  .contact-grid {
    width: 96%;
    gap: 20px;
  }

  .contact-card {
    width: calc((100% - 20px) / 3);
    padding: 10px 10px 20px;
  }
  
  .contact-card {
    margin-right: 10px;
  }

  .contact-card h3 {
    font-size: 90%;
  }

  .contact-card img {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }

  .contact-card p {
    font-size: 0.9375rem;
    white-space: nowrap;
  }

}

/* ▼ 768px以下（タブレット縦） */
@media screen and (max-width: 768px) {
  .contact-section {
    padding: 30px 5%;
    background: url(../images/contact-bg.png) repeat-y center top;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-section p {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .contact-section p .sp-only {
    display: block;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 25px;
  }

  .contact-card {
    width: 100%;
    max-width: 500px;
    padding: 15px 40px 25px;
  }

  .contact-card {
    margin-right: 0;
  }

  .contact-card img {
    margin: 0 auto;
    text-align: center;
  }

  .contact-card h3 {
    font-size: 1rem;
    height: 50px;
    line-height: 50px;
  }

  .contact-card p {
    font-size: 0.9rem;
  }

  .contact-card p span {
    font-size: 1.25rem;
  }
}

/* ▼ 480px以下（スマホ） */
@media screen and (max-width: 480px) {
  .contact-section {
    width: 100%;
    margin: 0px 0 0;
    padding: 40px 5% 15px;
    background: url(../images/contact-bg.png) repeat-y center top;
  }

  .contact-section h2 {
    margin: 0px 0 0;
    font-size: 1.25rem;
  }

  .contact-section p {
    font-size: 0.95rem;
  }

  .contact-section p .sp-only {
    display: block;
  }

  .contact-card {
    padding: 15px 25px 25px;
  }

  .contact-card h3 {
    font-size: 0.95rem;
  }

  .contact-card p {
    font-size: 0.9375rem;
  }

  .contact-card p span {
    font-size: 1.1rem;
  }
}


/* ▼ 420px以下（スマホ） */
@media screen and (max-width: 420px) {
  .contact-section h2 {
    font-size: 1rem;
  }

  .contact-section p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

}


/* ▼ 360px以下（小型スマホ） */
@media screen and (max-width: 360px) {
  .contact-card {
    padding: 10px 20px 20px;
  }

  .contact-card h3 {
    font-size: 0.9rem;
  }

  .contact-card p {
    font-size: 0.8rem;
  }
}



/* =============================
   フッター
============================= */
.footer {
  background: var(--wall-color-b);
  color: var(--white);
  padding: 70px 0;
}

.footer-contact {
  width: 1280px;
  margin: 0 auto;
}

.footer-contact .f-logo img{
  width: 150px;
  height: auto;
  margin-top: 0px;
  margin-bottom: 60px;
}

.footer p {
  margin-bottom: 40px;
  font-size: 1.125rem;
}

.footer p a{
  color: var(--white);
}

.footer p .sp-only{
  display: none;
}

.footer p.copy {
  font-size: 0.875rem;
}

/* ▼ 1200px以下（ノートPC） */
@media screen and (max-width: 1280px) {
  .footer-contact {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

/* ▼ 1024px以下（タブレット横） */
@media screen and (max-width: 1024px) {
  .footer {
    padding: 60px 0;
  }

  .footer-contact {
    width: 90%;
  }

  .footer-contact .f-logo img {
    width: 130px;
    height: auto;
    margin-bottom: 40px;
  }

  .footer p {
    font-size: 0.875rem;
    margin-bottom: 30px;
  }

  .footer p .sp-only{
    display: none;
  }

  .footer p.copy {
    font-size: 0.85rem;
  }
}

/* ▼ 768px以下（タブレット縦） */
@media screen and (max-width: 768px) {
  .footer {
    padding: 50px 0;
  }

  .footer-contact {
    width: 92%;
  }

  .footer-contact .f-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 40px;
  }

  .footer p {
    font-size: 0.875rem;
    margin-bottom: 25px;
  }

  .footer p .sp-only{
    display: block;
    line-height: 1.6;
  }

  .footer p.copy {
    font-size: 0.8rem;
  }
}

/* ▼ 480px以下（スマホ） */
@media screen and (max-width: 480px) {
  .footer {
    padding: 40px 0;
  }

  .footer-contact {
    width: 90%;
    padding: 0;
  }

  .footer-contact .f-logo img {
    width: 100px;
    height: auto;
    margin-bottom: 40px;
  }

  .footer p,
  .footer a {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .footer p.copy {
    font-size: 0.6rem;
  }
}

/* ▼ 420px以下（スマホ） */
@media screen and (max-width: 420px) {
  
  .footer-contact .f-logo img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
  }

  .footer p,
  .footer a {
    font-size: 0.8125rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}


/* ▼ 360px以下（小型スマホ） */
@media screen and (max-width: 360px) {
  .footer {
    padding: 35px 0;
  }

  .footer p {
    font-size: 0.75rem;
    margin-bottom: 15px;
  }

  .footer p.copy {
    font-size: 0.6rem;
  }
}



/* ----------------------------------------------------------------- */
/* 連絡ボタンのグループ設定 */
/* ----------------------------------------------------------------- */
.fixed-contact-group {
  position: fixed;
  right: 0;
  top: 40%;
  display: flex;
  writing-mode: vertical-rl;
  z-index: 999; 
}

/* ▼ 480px以下（スマホ） */
@media screen and (max-width: 480px) {
  .fixed-contact-group {
    position: fixed;
    right: 0;
    bottom: 30%;
    display: flex;
    writing-mode: vertical-rl;
    z-index: 999; 
  }
}





/* ----------------------------------------------------------------- */
/* ページTOP設定 */
/* ----------------------------------------------------------------- */
#page_top {
width: 50px;
height: 50px;
position: fixed;
right: 10px;
bottom: 20px;
background: var(--main-color);
border-radius: 50%;
opacity: 0.6;
}

/* Font Awesome */
#page_top::before {
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: '\f0d8';
font-size: 40px;
color: rgb(255, 255, 255);
position: absolute;
top: 50%;
left: 50%;
translate: -50% -50%;
}

@media (max-width: 900px) {
  #page_top {
    display: none;
  }
}


/* ============================================== */
/* 固定お問い合わせボタン */
/* ============================================== */
.contact-button {
  /* ボタンの共通スタイル */
  display: block; 
  padding: 15px 10px;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 1.0rem;
  font-weight: bold;
  color: var(--white);
  border-radius: 8px 0 0 8px;
  font-family: monospace;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* アイコンの調整 */
.contact-button i {
  margin-left: -5px;
}

/* 資料請求ボタン（色を設定） */
.contact-button.materials {
  background: var(--main-color);
}

/* お問い合わせボタン（色を設定） */
.contact-button.contact {
  background: var(--sub-color);
}


@media (min-width: 601px) and (max-width: 900px) {
  .contact-button {
    padding: 10px 5px;
    font-size: 0.875rem;
  }
}


@media (max-width: 768px) {
    .fixed-contact-group {
        position: fixed !important; 
        bottom: 0 !important;       
        top: auto !important;      /* PC側の top:40% を解除 */
        left: 0 !important; 
        right: 0 !important; 
        width: 100%;
        z-index: 9999;
        display: flex !important; 
        flex-direction: row !important; 
        justify-content: flex-start; 
        align-items: stretch;
        border-top: 1px solid #ddd;
        background-color: #fff;
        padding: 0;
        margin: 0; 
        height: auto;
    }

    .fixed-contact-group .contact-button {
        display: flex !important; 
        width: 50% !important; 
        flex-basis: 50%; 
        flex-grow: 0; 
        flex-shrink: 0; 
        writing-mode: horizontal-tb !important; 
        white-space: nowrap; 
        border-radius: 0; 
        margin-bottom: 0 !important; 
        flex-direction: row; /* 横並びに変更 */
        align-items: center; /* 垂直方向中央寄せ */
        justify-content: center; /* 水平方向中央寄せ */
        padding: 10px 0; 
        font-size: 14px; 
        border-right: 1px solid rgba(255, 255, 255, 0.2); 
        position: static; 
        left: auto;
        right: auto;
    }
    
    .fixed-contact-group .contact-button:last-child {
        border-right: none;
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .fixed-contact-group .contact-button:first-child {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .contact-button i {
        margin: 0; 
        margin-right: 5px; /* アイコンとテキストの間に少しスペース */
        order: 0; /* デフォルトの順序（テキストより前）*/
        font-size: 18px;
    }
}