/* ==========================================================================
   1. ベース設定
   ========================================================================== */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Yu Gothic', 'Meiryo', 'MS Gothic', sans-serif;
  line-height: 1.6;
}

div#baguetteBox-overlay {
  display: none;
}

section.body-section {
  max-width: 600px;
  margin: 0 auto;
}

img.button-simple.yureru-s {
  max-width: 600px;
  margin: auto;
}

img {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.slick-slide {
  height: auto !important;
}

.cta-button {
  background-color: #346579 !important;
}

/* ユーティリティクラス */
.hidden {
  display: none;
}

footer.inner {
  /* 初期値を設定（ボタンの高さ分 + マージン） */
}


.my-4,
p,
h1,
h2,
h3,
h4,
h5,
.waku {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.pb-4 {
  padding-bottom: 0 !important;
}

.pt-4 {
  padding-top: 0 !important;
}

.lpb-custom {
  overflow: hidden;
}

/* ==========================================================================
   2. スキルセクション
   ========================================================================== */
.skills-container {
  background-color: #306479;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  display: none;
  /* 初期状態 */
}

.skills-container.active {
  display: flex !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.skill-items.creative {
  color: #000;
}

.category-group {
  border-radius: 5px;
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.category {
  width: 50%;
  border-radius: 8px;
  padding: 10px;
}


.category-title {
  background: #2D4F63;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skill-item {
  background: #f8f9fa;
  padding: 6px 8px;
  margin-bottom: 5px;
  border-radius: 0 4px 4px 0;
  font-size: 10px;
  transition: transform 0.2s;
}

.skill-item:hover {
  transform: translateX(5px);
}

/* カテゴリー別ボーダー */
.creative .skill-item {
  border-left: 3px solid #f1c40f;
}

.ai .skill-item {
  border-left: 3px solid #ff6b4e;
}

.business .skill-item {
  border-left: 3px solid #2ecc71;
}

.management .skill-item {
  border-left: 3px solid #9b59b6;
}

/* ==========================================================================
   3. メリットセクション
   ========================================================================== */
.merit-wrapper {
  font-family: sans-serif;
  margin: 0 auto;
  background-color: #306479;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.merit-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  padding: 20px;
  color: white;
}

.merit-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.merit {
  background-color: white;
  margin: 7px;
  padding: 10px;
  border-radius: 10px 10px 0 3px;
  position: relative;
  transition: all 0.3s ease;
}

/* メリットの幅設定 */
.merit:nth-child(2) {
  max-width: 500px;
}

.merit:nth-child(3) {
  max-width: 650px;
}

.merit:nth-child(4) {
  max-width: 400px;
}

.merit:nth-child(5) {
  max-width: 550px;
}

.merit:nth-child(6) {
  max-width: 450px;
}

.merit:nth-child(7) {
  max-width: 600px;
}

.merit:nth-child(8) {
  max-width: 500px;
}

.merit:nth-child(9) {
  max-width: 700px;
}

.merit:hover {
  transform: translateX(10px);
}

.merit::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 0 0 10px 10px;
  background-color: #FF6B4E;
}

.merit-text {
  color: #2D4F63;
  font-size: 12px;
  margin: 0;
}

/* ==========================================================================
   4. ボタン関連
   ========================================================================== */
.show-more-btn {
  background-color: #FF6B4E;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.show-more-btn:hover {
  opacity: 0.9;
}

/* フローティングボタン */
.floating {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 2px;
  margin: auto;
  width: 90%;
  z-index: 998;
  max-width: 750px;
}

/* ==========================================================================
   5. CTAセクション
   ========================================================================== */
.cta {
  padding: 15px 0 10px 0;
  background-color: #346579;
}

.cta_btn {
  margin: 0 10px;
}

/* 吹き出しタイトル */
.bubble-title {
  z-index: 100;
  background-color: #ff5b3b;
  color: white;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 50px;
  position: relative;
  line-height: 1.5;
}

.bubble-title::after {
  z-index: -10;
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 50px 20px 0;
  border-style: solid;
  border-color: #ff5b3b transparent transparent transparent;
}


.radio-3 {
  border: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-inner {
  flex: 1;
  min-width: 250px;
}

.radio-inner label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-inner label:hover {
  background-color: #e3f2fd;
}

/* カスタムラジオボタン */
.custom-radio {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #ff5c3b;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* 選択時の円 */
.custom-radio.selected {
  border-color: #ddd;
  background-color: white;
}

/* チェックマーク */
.custom-radio::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 9px;
  border: solid #ff5c3b;
  border-width: 0 2px 2px 0;
  opacity: 1;
  transition: all 0.3s ease;
}

/* 選択時のチェックマーク表示 */
.custom-radio.selected::after {
  border-color: #4CAF50;
}

/* 実際のinputは非表示 */
input[type="radio"] {
  display: none;
}

/* ラジオボタングループ共通スタイル */
.radio-3,
.radio-3-second,
.radio-3-third {
  border: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.radio-inner {
  display: flex;
  padding: 5px;
  width: 50%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

/* ラジオラベル共通スタイル */
.radio-3 label,
.radio-3-second label,
.radio-3-third label {
  width: 40%;
  font-weight: 900;
  color: #33667a;
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  /* width: 100%; */
  margin: 0.3em;
  padding: 1em 0.9em;
  border: 1px solid #fff;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-wrap: nowrap;
  flex-direction: row;
}

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

  /* ラジオラベル共通スタイル */
  .radio-3 label,
  .radio-3-second label,
  .radio-3-third label {
    width: 100%;
    font-weight: 900;
    color: #33667a;
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    /* width: 100%; */
    margin: 0.3em;
    padding: 1em 0.9em;
    border: 1px solid #fff;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-wrap: nowrap;
    flex-direction: row;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Yu Gothic', 'Meiryo', 'MS Gothic', sans-serif;
  }
}

/* ラジオボタン状態スタイル */
.radio-3 label:hover,
.radio-3-second label:hover,
.radio-3-third label:hover,
.radio-3 label:has(:checked),
.radio-3-second label:has(:checked),
.radio-3-third label:has(:checked) {
  background-color: #ff5b3b;
  color: #fff;
}

.radio-3 input,
.radio-3-second input,
.radio-3-third input {
  display: none;
}

/* 回答エリア */
.answer-container {
  text-align: center;
  background: #346579;
  padding: 2rem 20px;
}

.answer-text {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: white;
}


.answer-paragraph {
  font-weight: 300;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  line-height: 1.8 !important;
  color: white;
}

.answer-paragraph:last-child {
  margin-bottom: 0 !important;
}

p.answer-paragraph-ttl {
  font-size: 1.1em;
  font-weight: bold;
  padding: 10px;
  background-color: #fe5b3b;
  border-radius: 10px 10px 0 0;
}

img.answer-paragraph-img {
  border-radius: 0 0 10px 10px;
}

.answer-paragraph u {
  text-decoration: underline;
  text-decoration-color: #ff5b3b;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* CTAボタン */
.cta-button-wrap {
  display: flex;
  text-align: center;
  margin-top: 30px;
  flex-direction: column;
  align-items: center;
}

.cta-button-lp {
  display: inline-block;
  color: white;
  transition: background-color 0.2s;
  width: 100%;
}

.answerContainer-btn {
  max-width: 100%;
  height: auto;
}

img.answer-check {
  margin-bottom: -20px;
  padding: 0px 20px;
}

img.answer-frow {
  padding: 20px 0;
}

/* ==========================================================================
   6. アニメーション
   ========================================================================== */
.yureru-s {
  animation: yureru-s 2s infinite;
}

@keyframes yureru-s {
  0% {
    transform: translate(2px, 0);
  }

  5% {
    transform: translate(-2px, 0);
  }

  10% {
    transform: translate(2px, 0);
  }

  15% {
    transform: translate(-2px, 0);
  }

  20% {
    transform: translate(2px, 0);
  }

  25% {
    transform: translate(-2px, 0);
  }

  30% {
    transform: translate(0, 0);
  }
}

/* ボタンアニメーション */
.answerContainer-btn,
.hidden .answerContainer-btn {
  display: inline-block;
  animation: poyopoyo 2s ease-out infinite;
}

@keyframes poyopoyo {

  0%,
  40%,
  60%,
  80% {
    transform: scale(1.0);
  }

  50%,
  70% {
    transform: scale(0.95);
  }
}

/* ==========================================================================
   7. フッター
   ========================================================================== */
.inner {
  width: 100%;
}

footer {
  background-color: #EBEFEF;
  margin: 0 auto;
  display: block;
}

footer .nav {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 20px;
}

footer .nav>li {
  line-height: 1.6;
  font-size: 11px;
  display: inherit;
  padding: 0 10px;
  margin-bottom: 10px;
}

footer .nav>li a {
  text-decoration: none;
  color: #969696;
}

footer .copyright {
  font-size: 10px;
  text-align: center;
  color: #fff;
  background-color: #555555;
  padding: 1rem 0;
}

/* ==========================================================================
   8. レスポンシブ設定
   ========================================================================== */
@media screen and (max-width: 800px) {
  .inner {
    margin-bottom: 0px;
  }

  footer .nav {
    padding: 40px 20px 0 20px;
  }
}

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

  .skills-columns {
    flex-direction: column;
  }

  .column {
    width: 100%;
  }
}

@media (max-width: 600px) {

  .radio-inner,
  .radio-3-second .radio-inner {
    width: 100%;
  }
}

@media screen and (min-width: 756px) {
  #question {
    display: none;
  }
}

/* ==========================================================================
   9. FQA（よくある質問）
   ========================================================================== */
.FQA {
  position: relative;
  z-index: 888;
  margin-top: -14px;
}

div#Question {
  max-width: 800px;
  width: 100%;
}

.s_03 .accordion_one {
  padding: 20px;
  border-radius: 40px;
  padding-bottom: 20px;
  margin: 0 auto 20px auto;
  overflow: hidden;
  background: #FFEEEB;
}

.section.s_03 {
  margin: auto;
  background: #fff;
  padding: 10px 10px 30px 10px;
}

.s_03 .accordion_one .accordion_header {
  border-radius: 40px;
  background: #fff;
  color: #fe5b3b;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 60px 15px 30px;
  text-align: left;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition-duration: 0.2s;
  display: flex;
  align-items: center;
}

.accordion_header p {
  margin: 0 !important;
  font-weight: 600;
  color: #FF6C04;
}

.s_03 .accordion_one .accordion_header .i_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 5%;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  margin-top: -20px;
  box-sizing: border-box;
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
}

.s_03 .accordion_one .accordion_header .i_box .one_i {
  display: block;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  position: relative;
}

.s_03 .accordion_one .accordion_header .i_box .one_i:before,
.s_03 .accordion_one .accordion_header .i_box .one_i:after {
  display: flex;
  content: '';
  background-color: #FF6C04;
  border-radius: 10px;
  width: 18px;
  height: 4px;
  position: absolute;
  top: 7px;
  left: 0;
  transform: rotate(0deg);
  transform-origin: center center;
}

.s_03 .accordion_one .accordion_header .i_box .one_i:before {
  width: 4px;
  height: 18px;
  top: 0;
  left: 7px;
}

.s_03 .accordion_one .accordion_inner {
  padding: 10px 30px;
  display: none;
  box-sizing: border-box;
}

.s_03 .accordion_one .accordion_inner.show {
  display: block;
}

.s_03 .accordion_one .accordion_inner p.txt_a_ac {
  margin: 0;
  font-size: 18px;
  color: #33667a;
}

/* アコーディオンの開閉状態 */
.s_03 .accordion_one .accordion_header.open .i_box {
  transform: rotate(-45deg);
}

/* ==========================================================================
   10. お客様の声セクション
   ========================================================================== */
/* セクション全体 */
section#voice {
  background-color: #e6e1f0;
}

.voice_box {
  padding: 20px 0;
}

/* カードスライダー */
.voice_card {
  width: 100%;
  margin: 0 auto;
}

.voice_card.slick-initialized.slick-slider {
  padding: 0px;
}

/* カード内部のスタイル */
.card {
  margin: 10px;
}

.card_inner {
  border-radius: 10px;
  padding: 15px;
}

.card_inner img.bc_img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  margin-top: -25px;
}

@media (max-width: 768px) {
  .card_inner img.bc_img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    margin-top: -5px;
  }
}

p.bc_p {
  padding: 0 30px 10px;
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* Slickスライダーのカスタマイズ */
.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

/* スライダーのドット */
.slick-dots {
  bottom: -30px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: #306479;
}

.slick-dots li.slick-active button:before {
  color: #FF6B4E;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .voice_box {
    padding: 10px;
  }

  .card {
    margin: 5px;
  }

  .card_inner {
    padding: 0px 14px 10px 10px;
  }
}


/*============================
 * カウントダウン デザイン
 * ===========================*/

/* 固定バー */
.countdown-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
}

/* 横幅・中央寄せ */
.countdown-container {
  width: 750px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* バー本体 */
.countdown-bar {
  width: 100%;
  height: 44px;
  background: #33677c;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 内側の横並び */
.countdown-row {
  width: 100%;
  padding: 6px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

/* 左側の説明文 */
.countdown-title {
  margin: 0;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

/* 右側のカウント群 */
.countdown-groups {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
}

/* 各グループ（「日」「時間」など） */
.group {
  display: flex;
  align-items: flex-end;
}

/* 数字ブロック（2桁） */
.digit {
  background: #fff;
  color: #4c6072;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 2px;
  text-align: center;
}

/* 左右の角丸を2桁で自然に見せたい場合（任意）
   .group .digit:first-child { border-radius: 2px 0 0 2px; padding-right: 2px; }
   .group .digit:last-child  { border-radius: 0 2px 2px 0; padding-left: 2px; }
*/

/* 単位 */
.unit {
  margin: 0 0 0 4px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

/* 装飾画像（任意） */
.countdown-image {
  display: none; /* 使う場合は display:block; にして background-image など指定 */
  width: 1px; height: 1px;
}

/* ====== レスポンシブ ====== */
@media (max-width: 840px) {
  .countdown-container { width: 100%; }
  .countdown-title {font-size: 11px;}
}

@media (max-width: 440px) {
  .countdown-bar { height: 44px; z-index: 2; }
  .countdown-row { gap: 8px; padding: 8px; }
  .digit { font-size: 18px; padding: 2px 2px; }
  .unit { font-size: 10px; margin-left: 2px; }
}

@media (max-width: 360px) {
  .countdown-row { gap: 8px; padding: 4px; }
  .digit { font-size: 16px; }
}
