/* Shared SEO course guide styles, based on professional.css */

/* Highlight underline decorations shared with professional.css */
.yellow-line {
  display: inline;
  padding-bottom: 4px;
  background-image: linear-gradient(
    transparent 72%,
    #ffd83d 72%,
    #ffd83d 88%,
    transparent 88%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.yellow-marker {
  position: relative;
  display: inline-block;
  color: inherit;
  z-index: 1;
}

.yellow-marker::after {
  position: absolute;
  left: -1%;
  bottom: -1px;
  z-index: -1;
  width: 102%;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20'%3E%3Cpath d='M3 11 C25 5 40 16 65 10 C90 4 110 15 135 10 C160 6 185 16 210 10 C235 4 260 15 285 10 C310 6 335 15 360 10 C380 8 392 9 397 11' stroke='%23FFD84D' stroke-width='8' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: .95;
  content: "";
}

.seo-index-boost__links a:nth-child(1){
    background:
    linear-gradient(135deg,
        #73172d 0%,
        #99304a 42%,
        #b8455d 70%,
        #7b1b33 100%);
}

/* 1日体験コース（アンティークゴールド） */
.seo-index-boost__links a:nth-child(2){
    background:
    linear-gradient(135deg,
        #5d4713 0%,
        #82611b 32%,
        #a68134 60%,
        #6c5318 100%);
}

/* 無料見学・相談（ディープフォレストグリーン） */
.seo-index-boost__links a:nth-child(3){
    background:
    linear-gradient(135deg,
        #173d33 0%,
        #23584b 40%,
        #2e7161 70%,
        #18463b 100%);
}

/* 彫金コラム（ブルーグリーングレー） */
.seo-index-boost__links a:nth-child(4){
    background:
    linear-gradient(135deg,
        #42585c 0%,
        #567175 40%,
        #6d878a 70%,
        #485d61 100%);
}

/* ========================================
   初めての方向け案内
======================================== */

.beginner-guide {
  padding: 90px 20px;
  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(255, 255, 255, 0.9) 0,
      rgba(255, 255, 255, 0) 34%
    ),
    linear-gradient(
      135deg,
      #f7f5f1 0%,
      #ffffff 48%,
      #f2f4f3 100%
    );
  color: #303434;
}

.beginner-guide *,
.beginner-guide *::before,
.beginner-guide *::after {
  box-sizing: border-box;
}

.beginner-guide__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* 見出し */

.beginner-guide__header {
  max-width: 850px;
  margin: 0 auto 55px;
  text-align: center;
}

.beginner-guide__label {
  margin-bottom: 12px;
  color: #8e754a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.beginner-guide__title {
  margin: 0 0 25px;
  color: #293536;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.beginner-guide__title::after {
  display: block;
  width: 70px;
  height: 2px;
  margin: 24px auto 0;
  background: linear-gradient(
    90deg,
    #786039 0%,
    #c2a568 50%,
    #786039 100%
  );
  content: "";
}

.beginner-guide__lead {
  margin: 0;
  color: #545b5b;
  font-size: 17px;
  line-height: 2;
}

/* 基礎説明 */

.beginner-guide__basic {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 55px;
  align-items: center;
  margin-bottom: 80px;
  padding: 50px;
  border: 1px solid #d8dddd;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(247, 248, 247, 0.98) 100%
    );
  box-shadow: 0 18px 45px rgba(31, 47, 47, 0.08);
}

.beginner-guide__heading {
  margin: 0 0 24px;
  padding-left: 18px;
  border-left: 4px solid #8e754a;
  color: #293536;
  font-size: 25px;
  line-height: 1.5;
}

.beginner-guide__basic-content p {
  margin: 0 0 18px;
  color: #525959;
  font-size: 16px;
  line-height: 2;
}

.beginner-guide__basic-content p:last-child {
  margin-bottom: 0;
}

.beginner-guide__basic-content strong {
  color: #785f33;
  font-weight: 700;
}

.beginner-guide__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.beginner-guide__points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #d8dddd;
}

.beginner-guide__points li:first-child {
  padding-top: 0;
}

.beginner-guide__points li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.beginner-guide__point-number {
  flex: 0 0 42px;
  color: #9a804e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.beginner-guide__points strong {
  display: block;
  margin-bottom: 5px;
  color: #303a3a;
  font-size: 17px;
}

.beginner-guide__points p {
  margin: 0;
  color: #606767;
  font-size: 14px;
  line-height: 1.8;
}

/* コース */

.beginner-guide__course {
  margin-bottom: 70px;
}

.beginner-guide__course-heading {
  margin-bottom: 35px;
  text-align: center;
}

.beginner-guide__course-label {
  margin-bottom: 8px;
  color: #8e754a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.beginner-guide__course-heading h3 {
  margin: 0;
  color: #293536;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
}

.beginner-guide__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.beginner-guide__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  padding: 36px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(23, 35, 35, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.beginner-guide__card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255, 255, 255, 0.2) 0,
      rgba(255, 255, 255, 0) 42%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 9px
    );
  pointer-events: none;
  content: "";
}

.beginner-guide__card > * {
  position: relative;
  z-index: 1;
}

/* プロ育成 */

.beginner-guide__card--professional {
  background:
    linear-gradient(
      135deg,
      #65182c 0%,
      #8d2940 45%,
      #a53b53 72%,
      #6c1d31 100%
    );
}

/* 1日体験 */

.beginner-guide__card--oneday {
  background:
    linear-gradient(
      135deg,
      #51401c 0%,
      #715a25 42%,
      #91763a 70%,
      #5a471e 100%
    );
}

/* 無料見学 */

.beginner-guide__card--consultation {
  background:
    linear-gradient(
      135deg,
      #173d34 0%,
      #245548 42%,
      #356c5d 72%,
      #1a4439 100%
    );
}

.beginner-guide__card-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.beginner-guide__card h4 {
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 23px;
  line-height: 1.5;
}

.beginner-guide__card > p:not(.beginner-guide__card-label) {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.9;
}

.beginner-guide__card ul {
  flex-grow: 1;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.beginner-guide__card li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.beginner-guide__card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
  content: "✓";
}

.beginner-guide__button {
  display: block;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.beginner-guide__button:hover {
  background: #fff;
  color: #2e3838;
  transform: translateY(-2px);
}

/* 最後の案内 */

.beginner-guide__message {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 35px 40px;
  border-top: 1px solid #cad2d1;
  border-bottom: 1px solid #cad2d1;
  background: rgba(255, 255, 255, 0.68);
}

.beginner-guide__message-mark {
  display: flex;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid #879896;
  border-radius: 50%;
  color: #526e6b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.beginner-guide__message h3 {
  margin: 0 0 8px;
  color: #293536;
  font-size: 21px;
  line-height: 1.5;
}

.beginner-guide__message p {
  margin: 0;
  color: #596160;
  font-size: 15px;
  line-height: 1.9;
}

.sp-only {
  display: none;
}

/* ========================================
   タブレット
======================================== */

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

  .beginner-guide {
    padding: 70px 20px;
  }

  .beginner-guide__basic {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 40px;
  }

  .beginner-guide__cards {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .beginner-guide__card {
    min-height: auto;
  }
}

/* ========================================
   スマートフォン
======================================== */

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

  .beginner-guide {
    padding: 55px 15px;
  }

  .beginner-guide__header {
    margin-bottom: 40px;
  }

  .beginner-guide__title {
    font-size: 27px;
    line-height: 1.55;
  }

  .beginner-guide__lead {
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
  }

  .beginner-guide__basic {
    margin-bottom: 60px;
    padding: 30px 22px;
  }

  .beginner-guide__heading {
    font-size: 21px;
  }

  .beginner-guide__basic-content p {
    font-size: 15px;
    line-height: 1.9;
  }

  .beginner-guide__points li {
    gap: 12px;
  }

  .beginner-guide__point-number {
    flex-basis: 35px;
    font-size: 18px;
  }

  .beginner-guide__course-heading h3 {
    font-size: 24px;
  }

  .beginner-guide__card {
    padding: 30px 23px 25px;
  }

  .beginner-guide__card h4 {
    font-size: 21px;
  }

  .beginner-guide__message {
    align-items: flex-start;
    padding: 28px 22px;
  }

  .beginner-guide__message-mark {
    flex-basis: 45px;
    width: 45px;
    height: 45px;
    font-size: 23px;
  }

  .beginner-guide__message h3 {
    font-size: 18px;
  }

  .beginner-guide__message p {
    font-size: 14px;
  }

  .sp-only {
    display: block;
  }
}