@charset "UTF-8";

/* =========================================================
   趣味コースページ専用CSS
   HTML本文を変更せず、PC・タブレット・スマートフォン対応
   ========================================================= */

#hoby {
  --hoby-green: #0f796b;
  --hoby-green-dark: #063f3a;
  --hoby-lime: #71ad46;
  --hoby-wine: #990033;
  --hoby-gold: #9f825c;
  --hoby-navy: #1e3260;
  --hoby-text: #263330;
  --hoby-muted: #65716e;
  --hoby-line: #dbe5e1;
  --hoby-soft: #f5f8f6;
  --hoby-white: #ffffff;
  font-family: "Noto Sans Japanese", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--hoby-text);
  line-height: 1.9;
  overflow: hidden;
}

#hoby *,
#hoby *::before,
#hoby *::after {
  box-sizing: border-box;
}

#hoby img {
  width: auto;
  max-width: 100%;
  height: auto;
}

#hoby .breadcrumbs {
  margin-top: 70px;
}

#hoby .coursewrap {
  position: relative;
  padding: 72px 0 100px;
  background:
    radial-gradient(circle at 10% 5%, rgba(113, 173, 70, .10), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(15, 121, 107, .10), transparent 32%),
    linear-gradient(180deg, #fbfcfa 0%, #f2f6f3 100%);
}

#hoby .coursewrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(15, 121, 107, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 121, 107, .03) 1px, transparent 1px);
  background-size: 34px 34px;
}

#hoby .coursewrap > .l-container {
  position: relative;
  z-index: 1;
}

/* ---------- 上部タイトル ---------- */
#hoby .top_title {
  min-height: 260px;
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(100deg, rgba(4, 43, 38, .985) 0%, rgba(15, 121, 107, .965) 55%, rgba(71, 125, 74, .94) 100%),
    url(../images/hoby/system_img01.webp) center 42% / cover no-repeat;
  box-shadow: 0 20px 48px rgba(20, 67, 59, .16);
}

#hoby .over_title {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(620px, 100%);
  min-height: 260px;
  padding: 56px 64px;
  color: #fff;
  background: transparent;
}

#hoby .over_title h2 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.25;
  letter-spacing: .06em;
  text-align: left;
}

#hoby .over_title p {
  width: auto;
  max-width: 430px;
  margin: 0;
  padding: 17px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .68);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .04em;
}

/* ---------- 上部コースリンク ---------- */
#hoby .course_btn {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}

#hoby .course_btn > div {
  flex: 1 1 0;
  width: calc(50% - 10px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(28, 63, 56, .10);
}

#hoby .course_btn a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 14px 56px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#hoby .course_btn a:hover {
  transform: translateY(-3px);
  filter: saturate(1.06);
  box-shadow: 0 14px 26px rgba(20, 70, 61, .14);
}

#hoby .course_btn a::before {
  content: "▼";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 30px;
  text-align: center;
  transform: translateY(-50%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .10);
}

#hoby .course_btn .accessory a {
  justify-content: flex-start;
  padding-left: 72px;
  padding-right: 54px;
  border: 2px solid var(--hoby-wine);
  color: #4b2632;
  text-align: left;
  background: #fff url(../images/hoby/accessory_btn.webp) no-repeat right bottom / auto 100%;
}

#hoby .course_btn .accessory a::before {
  left: 18px;
  color: var(--hoby-wine);
}

#hoby .course_btn .technology a {
  justify-content: flex-end;
  padding-left: 54px;
  padding-right: 86px;
  border: 2px solid var(--hoby-green-dark);
  color: #123c38;
  text-align: right;
  background: #fff url(../images/hoby/technology_btn.webp) no-repeat left bottom / auto 100%;
}

#hoby .course_btn .technology a::before {
  right: 18px;
  color: var(--hoby-green-dark);
}

#hoby .course_btn .technology a span {
  position: static;
  display: inline-block;
  margin: 0;
  padding: 0;
  transform: none;
}

#hoby .mypace {
  margin: 0 0 42px;
  text-align: center;
}

#hoby .mypace a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 18px 24px;
  border: 1px solid rgba(179, 145, 88, .30);
  border-radius: 16px;
  color: #5d4d32;
  background: linear-gradient(135deg, #fffdf7, #f7f0df);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(109, 83, 37, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

#hoby .mypace a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(109, 83, 37, .12);
}

/* ---------- コース本文 ---------- */
#hoby .course-r {
  margin: 0 0 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 72, 64, .14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(25, 65, 57, .10);
}

#hoby .course-r-box {
  padding: 0;
  border: 0;
}

#hoby .acc_over,
#hoby .tec_over {
  position: relative;
  padding: 50px 56px;
  color: #fff;
  overflow: hidden;
}

#hoby .acc_over {
  background: linear-gradient(135deg, #6f4422 0%, #9a6234 50%, #c88a4d 100%);
}

#hoby .tec_over {
  background: linear-gradient(135deg, #063d3a 0%, #075c55 55%, #0f796b 100%);
}

#hoby .acc_over::after,
#hoby .tec_over::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .05), 0 0 0 68px rgba(255, 255, 255, .035);
}

#hoby .acc_over h2,
#hoby .tec_over h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  padding: 0 0 .5em;
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  color: inherit;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
}

#hoby .acc_over p,
#hoby .tec_over p {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

#hoby .white-link {
  color: #f3f1ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  transition: color .2s ease;
}

#hoby .white-link:hover {
  color: #ffe58d;
}

#hoby strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

/* ---------- 募集状況・料金 ---------- */
#hoby .detail_block {
  padding: 48px 52px 52px;
  background: #fff;
}

#hoby .detail_block > h2 {
  margin: 0 0 14px;
  color: var(--hoby-green-dark);
  font-size: 28px;
  text-align: center;
}

#hoby .time {
  margin: 0 0 24px;
  color: var(--hoby-muted);
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

#hoby .detail_block > table {
  width: min(620px, 100%);
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid #d8e3df;
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
}

#hoby .detail_block > table th {
  width: 50%;
  padding: 13px 10px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  background: var(--hoby-green);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

#hoby .detail_block > table td {
  padding: 20px 10px;
  border: 0;
  border-right: 1px solid #e3e9e6;
  color: var(--hoby-text);
  background: #fbfcfb;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

#hoby .detail_box {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

#hoby .detail_box .left,
#hoby .detail_box .right {
  flex: 1 1 0;
  max-width: none;
  margin: 0;
}

#hoby .detail_box .left > div {
  height: 100%;
  padding: 24px;
  border: 1px solid #e5e9e7;
  border-radius: 16px;
  background: var(--hoby-soft);
}

#hoby .detail_box .left p {
  margin: 0;
}

#hoby .price-table {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9e2de;
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 15px;
}

#hoby .price-table th {
  padding: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--hoby-green-dark), var(--hoby-green));
  font-size: 19px;
  text-align: center;
}

#hoby .price-table td {
  padding: 14px 12px;
  border: 0;
  border-bottom: 1px solid #e6ebe8;
  color: var(--hoby-text);
  background: #fff;
  text-align: center;
  vertical-align: middle;
}

#hoby .price-table td:first-child {
  width: 38%;
  background: #f4f7f5;
  font-weight: 700;
}

#hoby .price-table span {
  color: #666;
  font-size: .9em;
}

#hoby .price-table .note {
  background: #fffaf0;
  font-size: 14px;
  line-height: 1.7;
}


/* ---------- アクセサリー製作コース専用配色 ---------- */
#hoby #hoby02 .detail_block > h2 {
  color: #8a552d;
}

#hoby #hoby02 .detail_block > table {
  border-color: #ddc7b4;
}

#hoby #hoby02 .detail_block > table th {
  background: linear-gradient(135deg, #8b562b 0%, #b6733f 55%, #d59657 100%);
}

#hoby #hoby02 .detail_block > table td {
  border-right-color: #eaded3;
  background: #fffaf6;
}

#hoby #hoby02 .price-table th {
  background: linear-gradient(135deg, #8b562b 0%, #b6733f 55%, #d59657 100%);
}

#hoby #hoby02 .price-table td:first-child {
  background: #faf2eb;
}

/* ---------- 申込ボタン：木目調＋シャンパンゴールド額縁 ---------- */
#hoby .hoby-entry-btn {
  margin: 38px auto 4px;
  text-align: center;
}

#hoby .hoby-entry-btn a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 100%);
  min-height: 60px;
  padding: 14px 52px;
  overflow: hidden;
  border: 4px solid #c9a75e;
  border-radius: 40px;
  color: #fff;
  background:
    repeating-linear-gradient(
      7deg,
      rgba(103, 58, 25, .12) 0,
      rgba(103, 58, 25, .12) 2px,
      transparent 2px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -4deg,
      rgba(255, 248, 229, .12) 0,
      rgba(255, 248, 229, .12) 1px,
      transparent 1px,
      transparent 15px
    ),
    linear-gradient(
      135deg,
      #b9783f 0%,
      #cf9457 48%,
      #dda96c 100%
    );
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow:
    0 0 0 2px #f4df9c,
    0 0 0 5px #a77f35,
    0 10px 22px rgba(102, 61, 28, .28),
    inset 0 0 0 2px rgba(255,255,255,.45),
    inset 0 0 0 5px rgba(120,76,30,.20),
    inset 0 1px 0 rgba(255,255,255,.50);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

#hoby .hoby-entry-btn a::before {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 1px solid rgba(255, 239, 181, .78);
  border-radius: 32px;
  box-shadow:
    inset 0 0 0 1px rgba(128, 87, 37, .28),
    0 0 0 1px rgba(255,255,255,.15);
}

#hoby .hoby-entry-btn a::after {
  content: "❯";
  position: absolute;
  top: 50%;
  right: 19px;
  z-index: 2;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  transform: translateY(-50%);
  text-shadow: 0 1px 2px rgba(94, 55, 22, .35);
}

#hoby .hoby-entry-btn a:hover {
  background:
    repeating-linear-gradient(
      7deg,
      rgba(91, 49, 20, .15) 0,
      rgba(91, 49, 20, .15) 2px,
      transparent 2px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -4deg,
      rgba(255, 248, 229, .10) 0,
      rgba(255, 248, 229, .10) 1px,
      transparent 1px,
      transparent 15px
    ),
    linear-gradient(
      135deg,
      #a96832 0%,
      #c28246 48%,
      #d39a5d 100%
    );
  transform: translateY(-3px);
  filter: saturate(1.06) brightness(1.02);
  box-shadow:
    0 0 0 2px #f7e7ae,
    0 0 0 5px #b58b3c,
    0 14px 26px rgba(102, 61, 28, .34),
    inset 0 0 0 2px rgba(255,255,255,.48),
    inset 0 0 0 5px rgba(120,76,30,.22),
    inset 0 1px 0 rgba(255,255,255,.56);
}

#hoby .hoby-entry-btn a span {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(94, 55, 22, .35);
}

#hoby .hoby-entry-btn a span::before {
  content: "💍";
  position: absolute;
  top: 50%;
  left: -31px;
  font-size: 18px;
  transform: translateY(-52%);
}

@media screen and (max-width: 576px) {
  #hoby .hoby-entry-btn a {
    min-height: 58px;
    border-width: 3px;
    box-shadow:
      0 0 0 2px #f4df9c,
      0 0 0 4px #a77f35,
      0 8px 18px rgba(102, 61, 28, .26),
      inset 0 0 0 2px rgba(255,255,255,.42),
      inset 0 0 0 4px rgba(120,76,30,.18);
  }
}

/* ---------- マイペースシステム ---------- */
#hoby .system {
  margin: 0;
  padding: 90px 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(179, 145, 88, .12), transparent 26%),
    linear-gradient(180deg, #f8f5ef 0%, #fff 100%);
}

#hoby .system .system_title {
  margin-bottom: 54px;
}

#hoby .system .system_title h3 {
  margin: 0;
  color: #3f493f;
  font-size: 36px;
  line-height: 1.5;
  text-align: center;
}

#hoby .system_box {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0 0 38px;
  padding: 34px;
  border: 1px solid rgba(113, 104, 80, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 34px rgba(74, 66, 49, .07);
}

#hoby .system_box .left {
  flex: 0 0 38%;
  max-width: 38%;
  margin: 0;
}

#hoby .system_box .right {
  flex: 1 1 auto;
  max-width: none;
}

#hoby .system_box img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(44, 58, 50, .12);
}

#hoby .system_box h3 {
  margin: 0 0 12px;
  padding: 0;
  color: #3f5b50;
  font-size: 26px;
  line-height: 1.5;
}

#hoby .system_box p {
  margin: 0;
}

/* ---------- FAQ ---------- */
#hoby .faq {
  margin-bottom: 72px;
}

#hoby .faq:first-of-type {
  padding-top: 88px;
}

#hoby .faq h2 {
  margin: 0 0 50px;
  color: var(--hoby-navy);
  font-size: 32px;
  text-align: center;
}

#hoby .faq dl {
  margin: 0;
}

#hoby .faq .faq_content {
  position: relative;
  display: block;
  min-height: 50px;
  margin: 0 0 46px;
}

#hoby .faq .faq_content p {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 430px;
  min-height: 50px;
  margin: 0;
  padding: 7px 30px;
  border-radius: 40px;
  color: #fff;
  background: var(--hoby-navy);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

#hoby .faq .faq_content .border {
  position: absolute;
  top: 24px;
  right: 0;
  width: 74%;
  height: 2px;
  background: var(--hoby-navy);
}

#hoby .faq .question,
#hoby .faq .answer {
  position: relative;
}

#hoby .faq .question {
  margin-bottom: 24px;
}

#hoby .faq .question::before,
#hoby .faq .answer::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#hoby .faq .question::before {
  top: -18px;
  left: 0;
  background-image: url(../images/hoby/q_icon.webp);
}

#hoby .faq .answer::before {
  top: -18px;
  right: 0;
  background-image: url(../images/hoby/a_icon.webp);
}

#hoby .faq .question p,
#hoby .faq .answer p {
  position: relative;
  width: calc(100% - 250px);
  max-width: 620px;
  min-height: 84px;
  margin-top: 0;
  margin-bottom: 0;
  border: 2px solid var(--hoby-navy);
  border-radius: 28px;
  color: var(--hoby-navy);
  background: #f6f7f9;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

#hoby .faq .question p {
  margin-left: 180px;
  padding: 18px 20px 18px 76px;
}

#hoby .faq .answer p {
  margin-left: auto;
  margin-right: 180px;
  padding: 18px 20px 18px 76px;
}

#hoby .faq .question p::before,
#hoby .faq .answer p::before {
  content: "";
  position: absolute;
  top: 36px;
  width: 0;
  height: 0;
  border-style: solid;
}

#hoby .faq .question p::before {
  left: -14px;
  border-width: 10px 13px 10px 0;
  border-color: transparent var(--hoby-navy) transparent transparent;
}

#hoby .faq .answer p::before {
  right: -14px;
  border-width: 10px 0 10px 13px;
  border-color: transparent transparent transparent var(--hoby-navy);
}

#hoby .faq .question p::after,
#hoby .faq .answer p::after {
  position: absolute;
  top: 50%;
  left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

#hoby .faq .question p::after {
  content: "Q";
  background: var(--hoby-gold);
}

#hoby .faq .answer p::after {
  content: "A";
  background: #bc2646;
}

/* ---------- 関連記事 ---------- */
#hoby .article_footer {
  max-width: 990px;
  margin: 60px auto 120px;
}

/* ---------- SEO用H1 ---------- */
#hoby .seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* =========================================================
   タブレット
   ========================================================= */
@media screen and (max-width: 1050px) {
  #hoby .coursewrap {
    padding: 50px 0 76px;
  }

  #hoby .top_title {
    min-height: 240px;
  }

  #hoby .over_title {
    min-height: 240px;
    padding: 42px 46px;
  }

  #hoby .over_title h2 {
    font-size: 44px;
  }

  #hoby .course_btn {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  #hoby .course_btn > div {
    width: 72%;
    flex-basis: auto;
  }

  #hoby .detail_box {
    gap: 20px;
  }

  #hoby .system {
    padding: 66px 0;
  }

  #hoby .system_box {
    gap: 30px;
  }

  #hoby .faq dl {
    max-width: 680px;
    margin: 0 auto;
  }

  #hoby .faq .faq_content {
    text-align: center;
  }

  #hoby .faq .faq_content p {
    min-width: 360px;
  }

  #hoby .faq .faq_content .border {
    display: none;
  }

  #hoby .faq .question,
  #hoby .faq .answer {
    padding-top: 150px;
  }

  #hoby .faq .question::before {
    top: 0;
    left: 0;
  }

  #hoby .faq .answer::before {
    top: 0;
    right: 0;
  }

  #hoby .faq .question p,
  #hoby .faq .answer p {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  #hoby .faq .question p::before {
    top: -16px;
    left: 75px;
    transform: rotate(90deg);
  }

  #hoby .faq .answer p::before {
    top: -16px;
    right: 75px;
    transform: rotate(-90deg);
  }

  #hoby .article_footer {
    margin-right: 15px;
    margin-left: 15px;
  }
}

/* =========================================================
   スマートフォン
   ========================================================= */
@media screen and (max-width: 576px) {
  #hoby .breadcrumbs {
    margin-top: 54px;
  }

  #hoby .coursewrap {
    padding: 28px 0 54px;
  }

  #hoby .top_title {
    min-height: 220px;
    margin-bottom: 22px;
    border-radius: 18px;
    background:
      linear-gradient(100deg, rgba(4, 43, 38, .99) 0%, rgba(15, 121, 107, .98) 58%, rgba(71, 125, 74, .96) 100%),
      url(../images/hoby/system_img01.webp) center 42% / cover no-repeat;
  }

  #hoby .over_title {
    min-height: 220px;
    padding: 32px 24px;
  }

  #hoby .over_title h2 {
    font-size: 34px;
  }

  #hoby .over_title p {
    font-size: 16px;
  }

  #hoby .course_btn > div {
    width: 100%;
  }

  #hoby .course_btn a {
    min-height: 78px;
    font-size: 16px;
  }

  #hoby .course_btn .accessory a {
    justify-content: flex-start;
    padding-left: 62px;
    padding-right: 36px;
    background-size: auto 92%;
  }

  #hoby .course_btn .technology a {
    justify-content: flex-end;
    padding-left: 38px;
    padding-right: 68px;
    background-size: auto 92%;
  }

  #hoby .mypace a {
    padding: 15px 18px;
    font-size: 15px;
  }

  #hoby .course-r {
    border-radius: 18px;
  }

  #hoby .acc_over,
  #hoby .tec_over {
    padding: 30px 22px;
  }

  #hoby .acc_over h2,
  #hoby .tec_over h2 {
    font-size: 25px;
  }

  #hoby .acc_over p,
  #hoby .tec_over p {
    font-size: 14px;
    line-height: 1.9;
  }

  #hoby .detail_block {
    padding: 30px 18px 34px;
  }

  #hoby .detail_block > h2 {
    font-size: 22px;
  }

  #hoby .detail_box,
  #hoby .system_box {
    flex-direction: column;
  }

  #hoby .detail_box .left,
  #hoby .detail_box .right,
  #hoby .system_box .left,
  #hoby .system_box .right {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #hoby .system {
    padding: 52px 0;
  }

  #hoby .system .system_title h3 {
    font-size: 27px;
  }

  #hoby .system_box {
    gap: 20px;
    padding: 20px;
    border-radius: 18px;
  }

  #hoby .system_box h3 {
    font-size: 22px;
  }

  #hoby .faq {
    margin-bottom: 54px;
  }

  #hoby .faq:first-of-type {
    padding-top: 58px;
  }

  #hoby .faq h2 {
    font-size: 27px;
  }

  #hoby .faq .faq_content p {
    min-width: 0;
    width: 100%;
    padding: 9px 18px;
    font-size: 21px;
  }

  #hoby .faq .question,
  #hoby .faq .answer {
    padding-top: 126px;
  }

  #hoby .faq .question::before,
  #hoby .faq .answer::before {
    width: 126px;
    height: 126px;
  }

  #hoby .faq .question p,
  #hoby .faq .answer p {
    padding: 58px 18px 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  #hoby .faq .question p::after,
  #hoby .faq .answer p::after {
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #hoby .faq .question p::before {
    left: 54px;
  }

  #hoby .faq .answer p::before {
    right: 54px;
  }

  #hoby .article_footer {
    margin-top: 44px;
    margin-bottom: 80px;
  }
}

/* =========================================================
   上部コースリンク枠：四隅の欠け防止
   枠線を親要素へ集約し、リンク背景と角丸を完全一致させる
   ========================================================= */
#hoby .course_btn > div {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background-clip: padding-box;
  transform: translateZ(0);
}

#hoby .course_btn .accessory {
  border: 2px solid var(--hoby-wine);
}

#hoby .course_btn .technology {
  border: 2px solid var(--hoby-green-dark);
}

#hoby .course_btn .accessory a,
#hoby .course_btn .technology a {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 16px;
  background-clip: padding-box;
}

/* リンク自体を動かすと親枠で角が切れるため、ホバー時は枠全体を動かす */
#hoby .course_btn a:hover {
  transform: none;
  box-shadow: none;
}

#hoby .course_btn > div {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#hoby .course_btn > div:hover {
  transform: translateY(-3px);
  filter: saturate(1.06);
  box-shadow: 0 14px 26px rgba(20, 70, 61, .14);
}

@media screen and (max-width: 576px) {
  #hoby .course_btn > div {
    border-radius: 16px;
  }

  #hoby .course_btn .accessory a,
  #hoby .course_btn .technology a {
    border-radius: 14px;
  }
}
