
.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}

.chat-widget__launcher {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: calc(100vw - 40px);
}

.chat-widget .chat-widget__launcher-toggle {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 8px 30px 8px 12px;
  color: #26384f;
  background: #fff;
  border: 1px solid #d8e0ec;
  border-radius: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font: inherit;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.chat-widget__launcher-text {
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}

.chat-widget__launcher-pill {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: 40px;
  padding: 0 11px;
  color: #fff;
  background: #6087bf;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.chat-widget__launcher--icon-only .chat-widget__launcher-toggle {
  justify-content: center;
  width: 54px;
  min-height: 54px;
  padding: 0;
  border-radius: 50%;
}

.chat-widget__launcher--icon-only .chat-widget__launcher-pill {
  width: 54px;
  height: 54px;
  padding: 0;
  background: #6087bf;
  border-radius: 50%;
}

.chat-widget__launcher.chat-widget__launcher--icon-only .chat-widget__guide-icon {
  width: 40px;
  height: 26px;
}

.chat-widget__launcher--icon-only .chat-widget__launcher-label {
  display: none;
}

.chat-widget__launcher[hidden] {
  display: none;
}

.chat-widget .chat-widget__launcher-dismiss {
  appearance: none;
  position: absolute;
  top: 6px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #26384f;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.chat-widget .chat-widget__launcher-dismiss[hidden],
.chat-widget__launcher--icon-only .chat-widget__launcher-dismiss {
  display: none;
}

.chat-widget__launcher-dismiss .material-symbols-outlined {
  font-size: 19px;
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: flex;
  flex-direction: column;
}
.chat-widget__panel[hidden] {
  display: none;
}
.chat-widget__panel {
  width: calc(100vw - 32px);
  max-width: 360px;
  height: calc(100vh - 96px);
  max-height: 560px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(13, 12, 11, 0.18);
}

.chat-widget--open .chat-widget__panel {
  bottom: 0;
}

.chat-widget__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 2px;
  padding: 14px 16px;
  color: #fff;
  background: #6087bf;
}

.chat-widget__header-actions {
  display: inline-flex;
  gap: 2px;
  flex: 0 0 auto;
  grid-column: 2;
  grid-row: 1;
}

.chat-widget__title {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}

.chat-widget__guide-icon {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 20px;
  object-fit: contain;
}

.chat-widget__launcher .chat-widget__guide-icon {
  width: 36px;
  height: 22px;
}

.chat-widget__subtitle {
  grid-column: 1/-1;
  grid-row: 2;
  font-size: 11px;
  opacity: 0.9;
}

.chat-widget__reload,
.chat-widget__close,
.chat-widget__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.chat-widget__reload,
.chat-widget__close {
  width: 28px;
  height: 28px;
  color: #fff;
  background: transparent;
}

.chat-widget__reload:disabled {
  cursor: default;
  opacity: 0.45;
}

.chat-widget__reload .material-symbols-outlined,
.chat-widget__close .material-symbols-outlined {
  font-size: 22px;
}

.chat-widget__messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f6f8fb;
}

.chat-widget__message {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.chat-widget__message--user {
  align-items: flex-end;
}

.chat-widget__message--assistant {
  align-items: stretch;
}

.chat-widget__bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.chat-widget__message--assistant .chat-widget__bubble {
  max-width: 100%;
  color: #26384f;
  background: #fff;
  border: 1px solid #d8e0ec;
}

.chat-widget__message--user .chat-widget__bubble {
  color: #fff;
  background: #6087bf;
}

.chat-widget__components {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.chat-widget__choices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chat-widget__choice,
.chat-widget__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.chat-widget__choice {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #315b91;
  background: #fff;
  border: 1px solid #b8cbe5;
}

.chat-widget__cta {
  gap: 6px;
  color: #0d0c0b;
  background: #F2D479;
  border: 1px solid #F2D479;
}

.chat-widget__cta-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

.chat-widget__package,
.chat-widget__price {
  padding: 10px 12px;
  color: #26384f;
  background: #fff;
  border: 1px solid #b8cbe5;
  border-radius: 6px;
}

.chat-widget__package-label,
.chat-widget__price-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #6087bf;
}

.chat-widget__package-name,
.chat-widget__price-amount {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.chat-widget__package-summary,
.chat-widget__price-conditions {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
}

.chat-widget__package .chat-widget__cta {
  min-height: auto;
  padding: 4px 10px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
}

.chat-widget__price-conditions {
  color: #5f6f83;
}

.chat-widget__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #d8e0ec;
}

.chat-widget__choice-panel {
  padding: 12px 12px 0;
  background: #fff;
  border-top: 1px solid #d8e0ec;
}

.chat-widget__choice-panel[hidden] {
  display: none;
}

.chat-widget__choice-panel:not([hidden]) + .chat-widget__form {
  padding-top: 8px;
  border-top: 0;
}

.chat-widget__input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #c8d3e2;
  border-radius: 6px;
  font-size: 13px;
}

.chat-widget__submit {
  width: 40px;
  height: 40px;
  color: #fff;
  background: #6087bf;
  border-radius: 6px;
}

.chat-widget__submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.chat-widget__typing {
  color: #8a96a5;
}

.chat-widget__dots span {
  animation: chat-dot-blink 1.4s infinite;
  opacity: 0.2;
}

.chat-widget__dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-widget__dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chat-dot-blink {
  0%, 80%, 100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}
@media (max-width: 575.98px) {
  .chat-widget {
    right: 12px;
    bottom: 12px;
  }
  .chat-widget__launcher {
    width: max-content;
    max-width: calc(100vw - 24px);
  }
  .chat-widget .chat-widget__launcher-toggle {
    gap: 8px;
    min-height: 60px;
    padding: 8px 30px 8px 10px;
    border-radius: 14px;
  }
  .chat-widget__launcher-text {
    font-size: 12px;
    line-height: 1.4;
  }
  .chat-widget__launcher-pill {
    min-width: auto;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }
  .chat-widget__launcher .chat-widget__guide-icon {
    width: 30px;
    height: 19px;
  }
}
.skip-link {
  --skip-link-bg: oklch(22% 0.02 75);
  --skip-link-focus-ring: oklch(86% 0.14 88);
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.5rem 0.75rem;
  color: #fff;
  background-color: var(--skip-link-bg);
  border-radius: 0.25rem;
}

.skip-link:focus,
.skip-link:focus-visible {
  color: #fff;
  outline: 3px solid var(--skip-link-focus-ring);
  outline-offset: 3px;
}

.skip-link:not(:focus):not(:focus-visible) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
}

:root {
  --main-color: #0D0C0B;
  --sub-color: #6087BF;
  --sub-color2: #A3B9D9;
  --sub-color3: #6087BF;
  --accent-color: #F2D479;
  --accent-color2: #F2B6D4;
  --accent-color3: #8c8b8b;
  --bg-color: #E6EBF2;
}

body {
  font-family: "Helvetica Neue", Arial, "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--main-color);
  overflow-x: hidden;
  max-width: 100vw;
}

.nowrap {
  white-space: nowrap;
  display: inline-block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.public-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.public-header,
.public-header * {
  box-sizing: border-box;
}

.public-header__nav {
  display: flex;
  align-items: center;
  max-width: 1200px;
  box-sizing: content-box;
  min-height: 60px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #fff;
}

.public-header__logo {
  height: 100%;
  transition: all 0.3s ease;
}

.public-header__logo-image {
  display: block;
  width: 220px;
  height: auto;
  margin-bottom: -0.4em;
  margin-left: 1em;
  transition: all 0.3s ease;
}

.public-header__logo-image.scrolled {
  width: 140px;
  margin-bottom: -0.3em;
}

.public-header__links {
  display: flex;
  gap: 1rem;
  align-items: center;
  height: 100%;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 85%;
  list-style: none;
  white-space: nowrap;
}

.public-header__item {
  list-style: none;
}

.public-header__item:not(.public-header__item--login) > a {
  position: relative;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  vertical-align: middle;
  padding-bottom: 10px;
}

.public-header__item:not(.public-header__item--login) > a::after {
  content: "";
  display: block;
  width: 90%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 5%;
  background-color: #6087bf;
  transform: scaleX(0);
  transform-origin: center;
  transition: 0.5s ease;
}

.public-header__item:not(.public-header__item--login) > a:hover,
.public-header__item:not(.public-header__item--login) > a:focus-visible {
  color: #6087bf;
}

.public-header__item:not(.public-header__item--login) > a:hover::after,
.public-header__item:not(.public-header__item--login) > a:focus-visible::after {
  transform: scaleX(1);
}

.public-header__separator {
  color: #8c8b8b;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.public-header__separator + .public-header__item {
  margin-left: 0.25rem;
}

.public-header__login-button {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.5rem;
  color: #0d0c0b !important;
  background-color: #f2d479;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 700 !important;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.public-header__login-button:hover,
.public-header__login-button:focus-visible {
  background-color: #6087bf;
}

@media only screen and (max-width: 700px) {
  .public-header__item:not(.public-header__item--login),
  .public-header__separator {
    display: none;
  }
  .public-header__nav {
    padding: 0 10px;
  }
}
.hero {
  background-color: var(--bg-color);
  background-image: url(/assets/hero-cf44c4a738dde54f896aef730dae26694181693257095311acc5b82eaf5921a3.webp);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: var(--main-color);
  text-align: left;
  padding: 7rem 0rem 5rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .hero {
    background-size: 1400px;
  }
}
@media (max-width: 768px) {
  .hero {
    background-size: contain;
    background-position: bottom;
  }
}
.release {
  width: 100px;
  text-align: center;
  border: solid 1px var(--main-color);
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 100%;
  font-weight: 300;
  color: var(--main-color);
}

.hero h1 {
  font-size: 28px;
  margin: 1.5rem 0;
  color: var(--main-color);
  line-height: 1.8;
}

.hero-bg {
  background-color: var(--bg-color);
  display: inline;
}

.hero p {
  font-size: 14px;
  line-height: 30px;
  background-color: var(--bg-color);
  display: inline;
}

@media (max-width: 1200px) {
  .hero {
    padding: 7rem 0rem 5rem 4rem;
  }
}
@media (max-width: 920px) {
  .hero {
    padding: 7rem 0rem 5rem 2rem;
  }
}
@media (max-width: 700px) {
  .hero {
    padding: 5rem 0rem 5rem 1rem;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }
  .hero .cta-button {
    font-size: 1.1rem;
    min-width: 154px;
    width: 154px;
  }
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.hero .cta-button {
  font-size: 1.2rem;
  min-width: 154px;
  width: 154px;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.mark {
  background: linear-gradient(transparent 70%, #f6ff5f 70%);
  display: inline;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 2.5s;
}

.mark.on {
  background-size: 100% 100%;
}

.appeal-banner {
  background-color: var(--sub-color);
  color: white;
  padding: 0.8rem 0;
  text-align: center;
  font-weight: bold;
}

.appeal-banner p {
  margin: 0;
  font-size: 1.3rem;
}

.appeal-banner a {
  text-decoration: none;
  color: inherit;
}

.appeal-banner .highlight {
  background-color: rgba(255, 255, 255, 0.2) !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 4px !important;
  margin-right: 0.5rem !important;
  display: inline-block !important;
}

/* flowing-text内のhighlightスタイルを確実に適用 */
.flowing-text .highlight,
.appeal-content .highlight {
  background-color: rgba(255, 255, 255, 0.25) !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 4px !important;
  margin-right: 0.5rem !important;
  display: inline-block !important;
  color: inherit !important;
}

/* Appeal banner layout for support text and WordPress titles */
.appeal-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.support-text {
  margin: 0;
  flex-shrink: 0;
}

.wordpress-titles {
  flex: 1;
  min-width: 0;
}

.titles-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  /* Remove scroll properties for marquee effect */
  /* overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none; */
}

/* .titles-list::-webkit-scrollbar {
  display: none;
} */
.article-title-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.article-title-link {
  color: white;
  text-decoration: underline !important;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  transition: color 0.3s ease;
  display: block;
}

.article-title-link:hover,
.article-title-link:focus,
.article-title-link:active {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline !important;
}

/* アニメーション停止: 記事リンクがホバーされた時 */
.article-title-link:hover ~ *,
.article-title-item:hover,
.wordpress-titles:hover .flowing-text,
.flowing-text:has(.article-title-link:hover) {
  animation-play-state: paused !important;
}

/* より具体的なアニメーション停止ルール */
.titles-list:hover ~ .flowing-text,
.titles-list:hover,
.appeal-content:hover {
  animation-play-state: paused !important;
}

/* 記事アイテムがホバーされた時のアニメーション停止 */
.article-title-item:hover * {
  animation-play-state: paused !important;
}

.titles-loading {
  color: white;
  font-size: 0.9rem;
}

.article-title-error {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .appeal-banner p {
    font-size: 1.1rem;
  }
  .appeal-content {
    flex-direction: row;
    gap: 1.5rem;
    text-align: left;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .titles-list {
    justify-content: flex-start;
    gap: 1rem;
  }
  .article-title-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
  }
  /* モバイルでのmarquee調整 */
  .text-box {
    width: 100%;
  }
  .flowing-text {
    animation: marquee-left 90s linear infinite;
  }
}
/* Marquee animations */
/* 左へ流れる文字 */
.flowing-text {
  padding-left: 100%;
  width: fit-content;
  white-space: nowrap;
  animation: marquee-left 75s linear infinite;
}

@keyframes marquee-left {
  100% {
    transform: translateX(-100%);
  }
}
/* 基本設定 */
.text-box {
  width: 100%;
  overflow: clip;
}

.seminar-banner {
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.seminar-banner .seminar-link {
  display: inline-block;
}

.seminar-banner .seminar-banner-image {
  width: 850px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.kadai-area {
  font-size: 1.3rem;
  margin-top: 2rem;
}

#kadai {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  font-size: 125%;
}

.features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 1rem auto 5rem auto;
}

.feature-card {
  flex: 1;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 3rem;
  display: flex;
  flex-direction: column;
  font-size: 100%;
  border: 1.5px solid black;
  box-sizing: border-box;
}

.problem-section {
  text-align: center;
  padding: 1rem 0;
}

.problem-image {
  width: auto;
  height: 130px;
  margin: 0 auto;
}

.problem-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  font-weight: 600;
  text-align: left;
}

.arrow-divider {
  width: 77px;
  height: auto;
  margin: 0rem auto;
  display: block;
}

.solution-section {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-icon {
  width: auto;
  height: 84px;
  margin-bottom: 1.5rem;
}

.solution-text {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 600;
  text-align: left;
  margin: 0;
}

/* タブレット画面用のレイアウト調整 */
@media (max-width: 1200px) {
  .features {
    flex-wrap: wrap;
  }
  .feature-card {
    flex: 0 1 calc(50% - 1rem);
  }
}
/* スマホ画面用のレイアウト調整 */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin: 1rem auto 3rem auto;
    padding: 0 1rem;
  }
  .feature-card {
    flex: 1;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    box-sizing: border-box;
  }
  .problem-text {
    font-size: 1.2rem;
  }
  .solution-text {
    font-size: 1.2rem;
  }
  .problem-image {
    width: auto;
    height: 100px;
  }
  .solution-icon {
    width: auto;
    height: 60px;
  }
}
.details {
  background-color: white;
  padding: 2rem 4rem;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-row-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.detail-row-bottom {
  display: flex;
  justify-content: center;
}

.detail-row-bottom .detail-item {
  max-width: calc(50% - 1.5rem);
}

.detail-item {
  flex: 1;
  margin-bottom: 1rem;
  text-align: center;
}

.detail-item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0rem;
  font-size: 150%;
}

.point-label {
  background-color: var(--sub-color);
  color: #FFFFFF;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: normal;
  margin-right: 1rem;
}

.detail-item .cta-button {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  width: auto;
  min-width: auto;
}

.detail-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.detail-text {
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: 110%;
  text-align: left;
}

.point-2-text {
  text-align: center;
}

.detail-image,
.detail-image2,
.detail-image3 {
  width: 170%;
  max-width: 400px;
  align-self: center;
}

.detail-image img,
.detail-image2 img,
.detail-image3 img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 920px) {
  .detail-item h3 {
    font-size: 20px;
  }
  .detail-image,
  .detail-image2,
  .detail-image3 {
    width: 140%;
    max-width: 350px;
  }
}
@media (max-width: 768px) {
  .detail-row-top {
    flex-direction: column;
    gap: 2rem;
  }
  .detail-row-bottom {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .detail-row-bottom .detail-item {
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }
  .detail-item {
    width: 100%;
    margin-bottom: 2rem;
  }
  .detail-text {
    font-size: 95%;
  }
  .detail-image,
  .detail-image2,
  .detail-image3 {
    width: 100%;
    max-width: 350px;
  }
}
#packages {
  padding: 2rem 4rem;
}

#packages h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 170%;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 1200px;
  font-size: 100%;
}

.package {
  background-color: #FFFFFF;
  padding: 0 0.8rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  color: var(--main-color);
  transition: all 0.3s ease;
  place-content: center;
  place-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-height: 80px;
  min-width: auto;
  line-height: 1.8;
}
.package a {
  text-decoration: none;
  color: var(--main-color);
}

.package:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.under_c {
  font-weight: normal;
  background-color: rgba(243, 243, 243, 0.8901960784);
  color: var(--main);
  font-size: 90%;
}

.under_c:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jittai_k {
  background-color: var(--sub-color);
  color: #FFFFFF;
  border-radius: 7px;
  padding: 3px;
  font-size: 70%;
  font-weight: normal;
}

.test_k {
  background-color: var(--accent-color2);
  color: #FFFFFF;
  border-radius: 7px;
  padding: 3px;
  font-size: 70%;
  font-weight: normal;
}

.ai_k {
  background-color: var(--accent-color);
  color: #FFFFFF;
  border-radius: 7px;
  padding: 3px;
  font-size: 70%;
  font-weight: normal;
}

.jizen_k {
  background-color: var(--accent-color3);
  color: #FFFFFF;
  border-radius: 7px;
  padding: 3px;
  font-size: 70%;
  font-weight: normal;
}

#packages .notice {
  font-size: 80%;
  text-align: left;
}

.cta-section {
  padding: 0;
  color: white;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-top {
  background-color: var(--sub-color);
  background-image: radial-gradient(var(--sub-color2) 1px, transparent 1px), radial-gradient(var(--sub-color2) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.cta-top p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: bold;
}

.cta-bottom {
  display: flex;
  min-height: 300px;
  width: 100%;
}

.left-column, .right-column {
  flex: 1;
  position: relative;
}

.left-column {
  background-color: #FFFFFF;
  color: var(--main-color);
}

.right-column {
  background-color: var(--sub-color2);
  color: var(--main-color);
}

.left-column::before,
.right-column::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50vw;
  z-index: -1;
  max-width: 50vw;
}

.left-column::before {
  right: 0;
  background-color: #FFFFFF;
}

.right-column::before {
  left: 0;
  background-color: var(--sub-color2);
}

.cta-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.cta-column {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-column h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
  font-weight: bold;
}

.column-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.icon-container {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background-color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 4px;
}

.cta-icon {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 8px;
}

.siryo-icon {
  width: 179px;
  height: 132px;
  border-radius: 0;
}

.column-text {
  flex: 1;
}

.bullet-points {
  margin-bottom: 1rem;
}

.bullet-point {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.check-mark {
  color: #0D0C0B;
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.column-text p {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
  color: var(--main-color);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-width: 200px;
  justify-content: center;
}

.cta-button:hover {
  transform: scale(1.1);
  background-color: var(--bg-color);
}

.register-button {
  min-width: auto;
}

.siryo-button {
  background-color: var(--sub-color2);
}

.download-buttons-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.download-button {
  margin: 0;
  min-width: 0;
  flex: 1 1 0;
  font-size: 0.95rem;
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
}

.download-button svg {
  display: none;
}

.cta-button svg {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .cta-top {
    padding: 2rem 1rem;
  }
  .cta-top p {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  .cta-bottom {
    flex-direction: column;
  }
  .cta-column {
    padding: 1.5rem;
  }
  .cta-column h3 {
    font-size: 1.5rem;
  }
  .column-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .icon-container {
    width: 100px;
    height: 100px;
  }
  .cta-icon {
    width: 60px;
    height: 60px;
  }
  .bullet-point {
    font-size: 1rem;
  }
  .column-text p {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
  }
  .download-buttons-row {
    flex-direction: column;
    align-items: center;
  }
  .download-button {
    flex: none;
    width: 80%;
  }
  .register-button {
    font-size: 1.2rem;
  }
}
.news {
  margin: 2rem auto;
  max-width: 800px;
}

.news h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.news-list {
  list-style-type: none;
  padding: 0;
}

.news-item {
  background-color: white;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-date {
  font-weight: bold;
  color: var(--sub-color);
  margin-right: 0.5rem;
}

.rss-feed {
  margin: 2rem auto;
  max-width: 1200px;
}

.rss-feed h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.rss-list {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.rss-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.rss-item-header {
  padding: 1rem 1rem 0 1rem;
}

.rss-date {
  font-size: 0.85rem;
  color: var(--sub-color);
  font-weight: 500;
  background-color: var(--bg-color);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  display: inline-block;
}

.rss-title {
  margin: 0.8rem 0 1rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0 1rem;
  flex: 1;
}

.rss-title a {
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.rss-title a:hover {
  color: var(--sub-color);
}

.rss-item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rss-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.rss-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rss-item:hover .rss-image img {
  transform: scale(1.05);
}

.rss-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  .rss-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 968px) {
  .rss-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .rss-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .rss-image {
    height: 120px;
  }
  .rss-title {
    font-size: 0.85rem;
    margin: 0.6rem 0 0.8rem 0;
  }
  .rss-date {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .rss-feed {
    margin: 1.5rem auto;
  }
  .rss-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .rss-image {
    height: 160px;
  }
  .rss-title {
    font-size: 0.9rem;
  }
}
.rss-loading {
  text-align: center;
  padding: 2rem;
  color: var(--sub-color);
}

.rss-error {
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 5px;
  color: #666;
  text-align: center;
}

footer {
  background-color: var(--sub-color);
  color: white;
  border-top: #666 1px solid;
  text-align: center;
  padding: 1rem 0;
  font-size: 80%;
}

.footer-nav {
  background-color: var(--sub-color) !important;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  margin: 5px 10px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

footer p {
  margin: 0;
}

footer p a {
  color: white;
  text-decoration: none;
}

footer p a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
  .feature {
    flex-basis: 100%;
    max-width: 300px;
  }
}
/* スクロールアニメーション用スタイル */
section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.scroll-animation-ready {
  opacity: 0;
  transform: translateY(8px);
}

section.scroll-animation-ready.animate {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ */
#faq {
  background-color: white;
  padding: 1rem 0 3rem 0;
}

.faq {
  max-width: 700px;
  text-align: center;
}

.accordion {
  margin-bottom: 1rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--sub-color2);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  background-color: var(--bg-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.accordion-button::-webkit-details-marker {
  display: none;
}

.accordion-button:hover {
  background-color: white;
}

.accordion-button::after {
  content: "+";
  margin-left: 1rem;
  font-weight: bold;
}

.accordion-item[open] > .accordion-button::after {
  content: "-";
}

.accordion-content {
  text-align: left;
  padding: 0 1.5rem 0rem 1.5rem;
  background-color: white;
  font-size: 90%;
}

.seemore {
  font-size: 90%;
}

.copyright {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #fff;
}

/* カルーセル全体のスタイル */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 10px;
}

/* カルーセルの内容部分 */
.carousel-content {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 40px;
  /* スライド間の間隔をさらに増やす (30px→40px) */
}

/* 各アイテムのスタイル - 縦長長方形だが縦幅を少し縮めた */
.item {
  flex: 0 0 calc((100% - 80px) / 3);
  /* 間隔が広がったため計算式を調整 */
  min-width: calc((100% - 80px) / 3);
  /* 間隔が広がったため計算式を調整 */
  background-color: #fff;
  border-radius: 1rem;
  /* 角をより丸く */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 20px;
  aspect-ratio: 3/4;
  transition: transform 0.3s ease;
  box-sizing: border-box;
  border: 1.5px solid black;
}

/* スクロール時に拡大するアニメーション */
.item:hover {
  transform: scale(1.03);
}

/* アイテム内のコンテンツレイアウト */
.item-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* 画像エリア */
.image-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
  /* 画像を中央寄せ */
}

/* 個別の画像コンテナ */
.image-container {
  width: 100%;
  border-radius: 0.6rem;
  /* 画像コンテナの角も少し丸く */
  overflow: hidden;
  text-align: center;
  /* 画像コンテナ内の要素を中央寄せ */
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-container.mark-container img {
  width: 80%;
  height: 70px; /* 高さを指定 */
  object-fit: cover; /* 画像をクロップしてコンテナに収める */
  object-position: center; /* 中央を基準に表示 */
  margin: 0 auto; /* 中央寄せ */
  display: inline-block;
}

/* タイトルコンテナ */
.title-container {
  width: 100%;
  text-align: center;
  /* タイトルを中央寄せ */
}

.title-container h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  /* タイトルのフォントサイズを大きく */
  line-height: 1.3;
  font-weight: 600;
}

.title-container p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  text-align: left;
  /* サブタイトルを左寄せ */
}

/* テキストエリア */
.text-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-container {
  width: 100%;
}

.text-container h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  /* タイトルのフォントサイズを大きく */
  line-height: 1.3;
  text-align: center;
  /* タイトルを中央寄せ */
}

.text-container p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  text-align: left;
  /* サブタイトルを左寄せ */
}

/* ナビゲーションボタン */
.nav-buttons {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.nav-buttons button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-buttons .prev {
  margin-left: 0;
}

.nav-buttons .next {
  margin-right: 0;
}

/* インジケーター */
.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}

.item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.item-link:hover {
  opacity: 0.9;
  transition: opacity 0.3s;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .carousel-container {
    display: none;
  }
  .carousel-content {
    gap: 30px;
    /* タブレットでは間隔を少し狭く */
  }
  .item {
    flex: 0 0 calc((100% - 30px) / 2);
    /* 間隔が広がったため計算式を調整 */
    min-width: calc((100% - 30px) / 2);
    /* 間隔が広がったため計算式を調整 */
  }
  .title-container h3,
  .text-container h3 {
    font-size: 1.3rem;
    /* タブレットではやや小さめに */
  }
}
@media (max-width: 480px) {
  .carousel-content {
    gap: 25px;
    /* モバイルでは間隔をさらに狭く */
  }
  .item {
    flex: 0 0 100%;
    min-width: 100%;
    aspect-ratio: 3/4;
    /* モバイルでもやや縦長に */
  }
  .title-container h3,
  .text-container h3 {
    font-size: 1.2rem;
    /* スマホではさらに小さめに */
  }
}
/* 利用の流れ */
.riyou-nagare {
  background-color: white;
  padding: 3rem 0 6rem 0;
  text-align: center;
}

.riyou-nagare h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.riyou-nagare p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

.flow-container {
  max-width: 961px;
  margin: 0 auto;
}

.flow-image {
  width: 100%;
  max-width: 961px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .riyou-nagare {
    padding: 2rem 0;
  }
  .riyou-nagare h2 {
    font-size: 1.8rem;
  }
  .riyou-nagare p {
    font-size: 1rem;
  }
  .flow-image {
    max-width: 650px;
  }
}
@media (max-width: 480px) {
  .riyou-nagare h2 {
    font-size: 1.5rem;
  }
  .riyou-nagare p {
    font-size: 0.9rem;
  }
  .flow-image {
    max-width: 450px;
  }
}
