/* =====================================================
   SOL Common CSS 完成版 v2
   固定ページ：980px
   イベント記事・詳細：1120px

   使い方：
   現在の sol-common.css をこの内容で丸ごと差し替え。
   追加貼り付けではなく、全差し替え。
===================================================== */

:root {
  --sol-fixed-width: 980px;
  --sol-post-width: 1120px;
  --sol-navy: #1f3a5f;
  --sol-yellow: #ffce32;
  --sol-blue: #237fbd;
  --sol-light: #f7fbff;
  --sol-border: #dbe6f2;
  --sol-text: #333333;
  --sol-white: #ffffff;
  --sol-shadow: 0 10px 24px rgba(31, 58, 95, 0.05);
  --sol-shadow-photo: 0 12px 28px rgba(31, 58, 95, 0.08);
}

/* =====================================================
   固定ページ上部タイトル
   TCD自動出力：headline / sub_title / desc
===================================================== */

#page_header,
.page_header {
  position: relative;
  padding: 34px 20px 30px !important;
  background: var(--sol-white) !important;
  border: none !important;
  overflow: hidden;
}

#page_header,
.page_header,
#page_header_inner,
.page_header_inner {
  background-color: var(--sol-white) !important;
  border-top: none !important;
  border-bottom: none !important;
}

#page_header .headline,
.page_header .headline {
  display: inline-block !important;
  margin: 0 32px 0 0 !important;
  padding: 0 !important;
  color: var(--sol-navy) !important;
  background: none !important;
  border: none !important;
  font-size: 46px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  vertical-align: middle;
}

#page_header .sub_title,
.page_header .sub_title {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 0 0 32px !important;
  color: var(--sol-navy) !important;
  background: none !important;
  border-left: 3px solid var(--sol-yellow) !important;
  font-size: 26px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  vertical-align: middle;
}

#page_header .desc,
.page_header .desc {
  max-width: var(--sol-fixed-width) !important;
  margin: 16px auto 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

#page_header .desc .post_content,
.page_header .desc .post_content {
  max-width: var(--sol-fixed-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: var(--sol-text) !important;
  background: none !important;
  font-size: 17px !important;
  line-height: 1.85 !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
}

#page_header .desc::after,
.page_header .desc::after {
  content: none !important;
  display: none !important;
}

/* =====================================================
   SOLページ土台
===================================================== */

.post_content .sol-page,
.sol-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--sol-white);
  color: var(--sol-navy);
  font-family: inherit;
}

.post_content .sol-page *,
.sol-page * {
  box-sizing: border-box;
}

.post_content .sol-page img,
.sol-page img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.post_content .sol-inner,
.sol-inner {
  width: 100%;
  max-width: var(--sol-fixed-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.post_content .sol-page p,
.sol-page p {
  margin: 0;
  color: var(--sol-navy);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.post_content .sol-page p + p,
.sol-page p + p {
  margin-top: 14px;
}

/* =====================================================
   セクション
===================================================== */

.post_content .sol-section,
.sol-section {
  width: 100%;
  margin: 0;
  padding: 45px 20px;
}

.sol-section--white {
  background: var(--sol-white);
}

.sol-section--light {
  background: var(--sol-light);
}

/* =====================================================
   メインビジュアル
===================================================== */

.post_content .sol-visual,
.sol-visual {
  width: 100%;
  max-width: var(--sol-fixed-width) !important;
  margin: 0 auto 56px !important;
  padding: 0;
  overflow: hidden;
  border-radius: 22px !important;
  background: var(--sol-light) !important;
  box-shadow: var(--sol-shadow-photo) !important;
}

.post_content .sol-visual img,
.sol-visual img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  object-position: center;
}

/* =====================================================
   見出し・リード文
===================================================== */

.post_content .sol-page .custom_h2,
.post_content .sol-title,
.sol-page .custom_h2,
.sol-title {
  margin: 0 0 40px !important;
  padding: 0 !important;
  text-align: center !important;
  color: var(--sol-navy) !important;
  background: none !important;
  border: none !important;
  font-size: 42px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
}

.post_content .sol-page .custom_h2::after,
.post_content .sol-title::after,
.sol-page .custom_h2::after,
.sol-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 6px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: var(--sol-yellow);
}

.post_content .sol-lead,
.sol-lead {
  max-width: 900px;
  margin: -10px auto 38px !important;
  text-align: center;
  font-size: 18px !important;
  line-height: 1.95 !important;
}

/* =====================================================
   レイアウト・ボックス
===================================================== */

.post_content .sol-two-column,
.sol-two-column {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 38px;
  margin: 0;
}

.post_content .sol-two-column--reverse,
.sol-two-column--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.post_content .sol-text-box,
.post_content .sol-box,
.sol-text-box,
.sol-box {
  margin: 0 0 34px;
  padding: 38px 40px;
  border: 1px solid var(--sol-border);
  border-radius: 28px;
  background: var(--sol-white);
  box-shadow: var(--sol-shadow);
}

.post_content .sol-photo-card,
.post_content .sol-photo-wide,
.sol-photo-card,
.sol-photo-wide {
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: var(--sol-white);
  box-shadow: var(--sol-shadow-photo);
}

.post_content .sol-photo-card img,
.sol-photo-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

/* =====================================================
   役割リスト
===================================================== */

.post_content .sol-role-list,
.sol-role-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
}

.post_content .sol-role-item,
.sol-role-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 14px 16px;
  border-radius: 999px;
  background: var(--sol-navy);
  color: var(--sol-white);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

/* =====================================================
   カード
===================================================== */

.post_content .sol-card-grid,
.sol-card-grid {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.post_content .sol-card-grid--2,
.sol-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.post_content .sol-card-grid--3,
.sol-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.post_content .sol-card,
.sol-card {
  min-height: auto;
  margin: 0;
  padding: 28px 26px 22px;
  border: 1px solid var(--sol-border);
  border-radius: 24px;
  background: var(--sol-white);
  box-shadow: var(--sol-shadow);
}

.post_content .sol-card-head,
.sol-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 14px;
  padding: 0;
}

.post_content .sol-card-head span,
.sol-card-head span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sol-blue);
  color: var(--sol-white);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.post_content .sol-card-head h3,
.sol-card-head h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--sol-navy) !important;
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
}

.post_content .sol-card p,
.sol-card p {
  font-size: 17px;
  line-height: 1.72;
}

.post_content .sol-card p:last-child,
.sol-card p:last-child {
  margin-bottom: 0 !important;
}

/* =====================================================
   タグ型リスト
===================================================== */

.post_content .sol-tag-list,
.sol-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.post_content .sol-tag-list li,
.sol-tag-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--sol-light);
  color: var(--sol-navy);
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.sol-tag-list li::marker,
.sol-tag-list li::before,
.sol-tag-list li::after {
  content: none !important;
  display: none !important;
}

/* =====================================================
   補足・小ボタン
===================================================== */

.post_content .sol-note,
.sol-note {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 16px 0 0 !important;
  padding: 10px 18px;
  border-radius: 14px;
  background: #fff8e5;
  color: var(--sol-navy);
  font-size: 15px !important;
  line-height: 1.75 !important;
  font-weight: 600;
}

.post_content .sol-small-button-wrap,
.sol-small-button-wrap {
  margin-top: 20px;
}

.post_content .sol-small-button,
.sol-small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--sol-yellow);
  color: var(--sol-navy);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.post_content .sol-small-button--disabled,
.sol-small-button--disabled {
  background: #b9c3cf;
  color: var(--sol-white);
  cursor: default;
}

/* =====================================================
   写真セクション
===================================================== */

.post_content .sol-photo-section,
.sol-photo-section {
  width: 100%;
  margin: 0;
  padding: 56px 20px;
}

.post_content .sol-photo-section.sol-section--light,
.sol-photo-section.sol-section--light {
  background: var(--sol-light);
}

.post_content .sol-photo-wide img,
.sol-photo-wide img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
}

.post_content .sol-photo-caption,
.sol-photo-caption {
  max-width: 920px;
  margin: 24px auto 0;
  padding: 28px 32px 24px;
  border-radius: 24px;
  background: var(--sol-white);
  box-shadow: var(--sol-shadow);
}

.post_content .sol-photo-caption h3,
.sol-photo-caption h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--sol-navy) !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
}

.post_content .sol-photo-section--only,
.sol-photo-section--only {
  padding-top: 0 !important;
}

/* =====================================================
   CTA・ボタン
===================================================== */

.post_content .sol-cta,
.sol-cta {
  width: 100%;
  margin: 0;
  padding: 45px 20px;
  background: var(--sol-blue);
  color: var(--sol-white);
  text-align: center;
}

.post_content .sol-cta .custom_h2,
.post_content .sol-cta .sol-title,
.sol-cta .custom_h2,
.sol-cta .sol-title {
  color: var(--sol-white) !important;
  margin-bottom: 48px !important;
}

.post_content .sol-cta .custom_h2::after,
.post_content .sol-cta .sol-title::after,
.sol-cta .custom_h2::after,
.sol-cta .sol-title::after {
  background: var(--sol-yellow);
}

.post_content .sol-cta p,
.sol-cta p {
  color: var(--sol-white);
  font-size: 20px;
  line-height: 1.9;
  font-weight: 700;
}

.post_content .sol-button-row,
.sol-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px 34px;
  margin: 44px 0 0;
}

.post_content .sol-button,
.sol-button {
  flex: 1 1 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 340px;
  min-width: 220px;
  min-height: 64px;
  padding: 18px 34px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.sol-button--main {
  background: var(--sol-navy);
  color: var(--sol-white) !important;
}

.sol-button--sub {
  background: var(--sol-white);
  color: var(--sol-navy) !important;
}

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

@media screen and (max-width: 1024px) {
  .post_content .sol-section,
  .sol-section {
    padding: 64px 18px;
  }

  .post_content .sol-two-column,
  .post_content .sol-two-column--reverse,
  .sol-two-column,
  .sol-two-column--reverse {
    gap: 28px;
  }

  .post_content .sol-card-grid--3,
  .sol-card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .post_content .sol-role-list,
  .sol-role-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   スマホ
===================================================== */

@media screen and (max-width: 767px) {
  #page_header,
  .page_header {
    padding: 26px 16px 24px !important;
  }

  #page_header .headline,
  .page_header .headline {
    display: block !important;
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  #page_header .sub_title,
  .page_header .sub_title {
    display: block !important;
    margin: 14px 0 0 !important;
    padding: 0 0 0 14px !important;
    border-left: 3px solid var(--sol-yellow) !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  #page_header .desc,
  .page_header .desc {
    margin-top: 14px !important;
  }

  #page_header .desc .post_content,
  .page_header .desc .post_content {
    font-size: 15.5px !important;
    line-height: 1.82 !important;
    text-align: left !important;
  }

  .post_content .sol-section,
  .post_content .sol-cta,
  .sol-section,
  .sol-cta {
    padding: 42px 10px;
  }

  .post_content .sol-inner,
  .sol-inner {
    max-width: none;
  }

  .post_content .sol-page .custom_h2,
  .post_content .sol-title,
  .sol-page .custom_h2,
  .sol-title {
    margin-bottom: 28px !important;
    font-size: 29px !important;
  }

  .post_content .sol-page .custom_h2::after,
  .post_content .sol-title::after,
  .sol-page .custom_h2::after,
  .sol-title::after {
    width: 68px;
    height: 5px;
    margin-top: 18px;
  }

  .post_content .sol-page p,
  .sol-page p {
    font-size: 16px;
    line-height: 1.82;
  }

  .post_content .sol-two-column,
  .post_content .sol-two-column--reverse,
  .post_content .sol-card-grid--2,
  .post_content .sol-card-grid--3,
  .sol-two-column,
  .sol-two-column--reverse,
  .sol-card-grid--2,
  .sol-card-grid--3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .post_content .sol-two-column--reverse .sol-photo-card,
  .sol-two-column--reverse .sol-photo-card {
    order: 2;
  }

  .post_content .sol-two-column--reverse .sol-text-box,
  .sol-two-column--reverse .sol-text-box {
    order: 1;
  }

  .post_content .sol-text-box,
  .post_content .sol-box,
  .post_content .sol-photo-caption,
  .sol-text-box,
  .sol-box,
  .sol-photo-caption {
    padding: 24px 16px 20px;
    border-radius: 20px;
  }

  .post_content .sol-card,
  .sol-card {
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  .post_content .sol-card-grid,
  .sol-card-grid {
    gap: 14px;
  }

  .post_content .sol-card-head,
  .sol-card-head {
    gap: 12px;
    margin-bottom: 10px;
  }

  .post_content .sol-card-head span,
  .sol-card-head span {
    min-width: 46px;
    height: 30px;
    padding: 0 11px;
    font-size: 14px;
  }

  .post_content .sol-card-head h3,
  .sol-card-head h3 {
    font-size: 20px !important;
  }

  .post_content .sol-card p,
  .sol-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .post_content .sol-lead,
  .sol-lead {
    margin: -4px auto 28px !important;
    text-align: left;
    font-size: 16px !important;
    line-height: 1.82 !important;
  }

  .post_content .sol-role-list,
  .sol-role-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .post_content .sol-role-item,
  .sol-role-item {
    min-height: 52px;
    padding: 12px 10px;
    font-size: 14px;
  }

  .post_content .sol-tag-list,
  .sol-tag-list {
    gap: 8px;
    margin: 16px 0;
  }

  .post_content .sol-tag-list li,
  .sol-tag-list li {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .post_content .sol-photo-section,
  .sol-photo-section {
    padding: 28px 8px 40px;
  }

  .post_content .sol-photo-caption,
  .sol-photo-caption {
    margin-top: 22px;
    padding: 22px 16px 20px;
  }

  .post_content .sol-photo-caption h3,
  .sol-photo-caption h3 {
    margin-bottom: 12px !important;
    font-size: 22px !important;
  }

  .post_content .sol-photo-section--only,
  .sol-photo-section--only {
    padding-top: 0 !important;
  }

  .post_content .sol-button-row,
  .sol-button-row {
    gap: 12px;
    margin-top: 32px;
  }

  .post_content .sol-button,
  .sol-button {
    flex: 1 1 150px;
    min-width: 145px;
    max-width: none;
    min-height: 54px;
    padding: 13px 14px;
    font-size: 15.5px;
  }
}

/* =====================================================
   小さいスマホ
===================================================== */

@media screen and (max-width: 380px) {
  .post_content .sol-section,
  .post_content .sol-cta,
  .sol-section,
  .sol-cta {
    padding: 40px 6px;
  }

  .post_content .sol-text-box,
  .post_content .sol-box,
  .post_content .sol-card,
  .post_content .sol-photo-caption,
  .sol-text-box,
  .sol-box,
  .sol-card,
  .sol-photo-caption {
    padding-left: 14px;
    padding-right: 14px;
  }

  #page_header .headline,
  .page_header .headline {
    font-size: 27px !important;
  }

  #page_header .sub_title,
  .page_header .sub_title {
    font-size: 17px !important;
  }

  .post_content .sol-page .custom_h2,
  .post_content .sol-title,
  .sol-page .custom_h2,
  .sol-title {
    font-size: 27px !important;
  }

  .post_content .sol-card-head h3,
  .sol-card-head h3 {
    font-size: 19px !important;
  }

  .post_content .sol-button,
  .sol-button {
    flex-basis: 100%;
    width: 100%;
  }
}

/* =====================================================
   ページ別上書き用
===================================================== */


.ibaoni-page .sol-cta {
  background: var(--sol-blue);
}

/* =====================================================
   SOLについて CTAボタン配置
   PC：上段3つ、下段中央にメイン
   スマホ：縦に4つ
===================================================== */

.about-sol-page .sol-cta .sol-button-row--grid {
  max-width: var(--sol-fixed-width) !important;
  margin: 42px auto 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px 34px !important;
}

/* ボタン共通 */
.about-sol-page .sol-cta .sol-button-row--grid .sol-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 16px 28px !important;
  box-sizing: border-box !important;
  font-size: 19px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  border-radius: 999px !important;
  flex: none !important;
  flex-basis: auto !important;
}

/* PC：4個目の応援方法を見るだけ下段中央 */
.about-sol-page .sol-cta .sol-button-row--grid .sol-button:nth-of-type(4) {
  grid-column: 2 / 3 !important;
  grid-row: 2 !important;
}

/* =====================================================
   スマホ：完全に縦並びへ戻す
===================================================== */

@media screen and (max-width: 767px) {
  .about-sol-page .sol-cta .sol-button-row--grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px auto 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
  }

  .about-sol-page .sol-cta .sol-button-row--grid .sol-button,
  .about-sol-page .sol-cta .sol-button-row--grid .sol-button:nth-of-type(1),
  .about-sol-page .sol-cta .sol-button-row--grid .sol-button:nth-of-type(2),
  .about-sol-page .sol-cta .sol-button-row--grid .sol-button:nth-of-type(3),
  .about-sol-page .sol-cta .sol-button-row--grid .sol-button:nth-of-type(4) {
    grid-column: auto !important;
    grid-row: auto !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 13px 16px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    border-radius: 999px !important;
    flex: none !important;
    flex-basis: auto !important;
  }
}

@media screen and (max-width: 380px) {
  .about-sol-page .sol-cta .sol-button-row--grid {
    padding: 0 6px !important;
    gap: 12px !important;
  }

  .about-sol-page .sol-cta .sol-button-row--grid .sol-button {
    min-height: 52px !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
  }
}


/* =====================================================
   活動紹介ページ
   PC：2列表示
   スマホ：1列表示
===================================================== */

.activities-page .sol-card-grid,
.activities-page .sol-card-grid--3 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

/* カード内の見出しを縦並びにして、タイトルが変に割れないようにする */
.activities-page .sol-card-head {
  display: block !important;
  margin-bottom: 24px !important;
}

.activities-page .sol-card-head span {
  display: inline-block !important;
  margin-bottom: 16px !important;
}

.activities-page .sol-card-head h3 {
  display: block !important;
  margin: 0 !important;
  font-size: 28px !important;
  line-height: 1.35 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

/* 小見出し */
.activities-page .sol-card h4 {
  margin: 0 0 18px !important;
  color: var(--sol-navy) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

/* 子どもフェスはPCでは2列分使う */
.activities-page .sol-card--wide {
  grid-column: span 2 !important;
}

/* 詳しく見るボタンの余白 */
.activities-page .sol-small-button-wrap {
  margin-top: 24px !important;
}

/* 企画中メモ */
.activities-page .sol-note {
  margin-top: 20px !important;
}


/* =====================================================
   活動紹介ページ：スマホ
===================================================== */

@media screen and (max-width: 767px) {
  .activities-page .sol-card-grid,
  .activities-page .sol-card-grid--3 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .activities-page .sol-card--wide {
    grid-column: auto !important;
  }

  .activities-page .sol-card-head {
    margin-bottom: 18px !important;
  }

  .activities-page .sol-card-head span {
    margin-bottom: 12px !important;
  }

  .activities-page .sol-card-head h3 {
    font-size: 23px !important;
    line-height: 1.4 !important;
  }

  .activities-page .sol-card h4 {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }
}


/* =====================================================
   SOL イベント詳細ページ共通
   旧 iboni デザインを sol-event-* に置換
===================================================== */

.sol-event-detail {
  width: 100%;
  max-width: var(--sol-post-width);
  margin: 0 auto;
  padding: 40px 18px 80px;
  color: #1f3a5f;
  font-family: inherit;
  line-height: 1.8;
  font-weight: 400;
}

.sol-event-detail * {
  box-sizing: border-box;
}

.sol-event-detail img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: bottom !important;
}

/* ヒーロー */
.sol-event-hero {
  width: 100%;
  padding: 48px 24px;
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(212, 160, 23, .26) 0 70px, transparent 72px),
    radial-gradient(circle at 88% 20%, rgba(31, 58, 95, .14) 0 90px, transparent 92px),
    radial-gradient(circle at 82% 82%, rgba(212, 160, 23, .18) 0 110px, transparent 112px),
    #fff8e7;
}

.sol-event-date {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #1f3a5f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.sol-event-hero h1 {
  margin: 0 0 22px;
  color: #1f3a5f;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.2;
  font-weight: 800;
}

.sol-event-hero h1 span {
  color: #d4a017;
  font-size: 1.14em;
}

.sol-event-lead {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 600;
}

.sol-event-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
}

/* 上部ボタン */
.sol-event-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  flex-wrap: nowrap;
}

.sol-event-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: .2s ease;
}

.sol-event-nav-main {
  background: #d4a017;
  color: #ffffff !important;
  border: 2px solid #d4a017;
  box-shadow: 0 6px 0 #ad7f09;
}

.sol-event-nav-main:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #ad7f09;
  color: #ffffff !important;
}

.sol-event-nav-sub {
  background: #ffffff;
  color: #1f3a5f !important;
  border: 2px solid #1f3a5f;
}

.sol-event-nav-sub:hover {
  background: #1f3a5f;
  color: #ffffff !important;
}

/* セクション */
.sol-event-section,
.sol-event-entry {
  margin-top: 46px;
}

.sol-event-section h2,
.sol-event-entry h2 {
  margin: 0 0 26px;
  color: #1f3a5f;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}

.sol-event-section h2::after,
.sol-event-entry h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: #d4a017;
}

/* 表 */
.sol-event-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(31, 58, 95, .07);
}

.sol-event-table-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid #e7edf5;
}

.sol-event-table-row:last-child {
  border-bottom: none;
}

.sol-event-table-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  min-height: 27px;
  margin-left: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.sol-event-table-content {
  padding: 12px 20px;
  color: #1f3a5f;
  font-size: 17px;
  font-weight: 600;
}

.sol-event-table-content span,
.sol-event-note {
  color: #4f5f71;
  font-size: 14px;
  font-weight: 400;
}

.sol-event-note {
  margin: 14px 0 0;
  line-height: 1.8;
}

.sol-event-schedule-table .sol-event-table-row {
  grid-template-columns: 140px 1fr;
}

.sol-event-schedule-table .sol-event-table-label {
  width: 94px;
}

.sol-event-schedule-table .sol-event-table-content,
.sol-event-price-table .sol-event-table-content {
  white-space: nowrap;
}

/* ラベル色 */
.sol-event-detail .sol-event-table-label.orange { background: #f07b23; }
.sol-event-detail .sol-event-table-label.green { background: #28a95f; }
.sol-event-detail .sol-event-table-label.teal { background: #1fa188; }
.sol-event-detail .sol-event-table-label.purple { background: #9743b7; }
.sol-event-detail .sol-event-table-label.sky { background: #2e89c7; }
.sol-event-detail .sol-event-table-label.blue { background: #2f6fb3; }
.sol-event-detail .sol-event-table-label.navy { background: #1f3a5f; }
.sol-event-detail .sol-event-table-label.gold { background: #d4a017; }

.sol-event-price-table {
  margin-top: 24px;
}

/* カード */
.sol-event-item-box,
.sol-event-message,
.sol-event-check {
  width: 100%;
  padding: 28px;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(31, 58, 95, .07);
}

.sol-event-item-box + .sol-event-item-box {
  margin-top: 24px;
}

.sol-event-box-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #1f3a5f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.sol-event-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.sol-event-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid rgba(212, 160, 23, .45);
  border-radius: 999px;
  background: #fff8e7;
  color: #1f3a5f;
  font-size: 15px;
  font-weight: 600;
}

/* OK・NG */
.sol-event-wear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sol-event-wear-card {
  overflow: hidden;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  background: #ffffff;
}

.sol-event-wear-card h3 {
  margin: 0;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.sol-event-wear-card.ok h3 {
  background: #1fa188;
}

.sol-event-wear-card.ng h3 {
  background: #c73a2f;
}

.sol-event-wear-card ul {
  margin: 0;
  padding: 8px 18px 14px;
  list-style: none;
}

.sol-event-wear-card li {
  position: relative;
  margin: 0;
  padding: 13px 8px 13px 24px;
  border-bottom: 1px solid #e7edf5;
  color: #26384d;
  font-size: 15px;
  font-weight: 500;
}

.sol-event-wear-card li:last-child {
  border-bottom: none;
}

.sol-event-wear-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 18px;
}

.sol-event-wear-card.ok li::before {
  background: #1fa188;
}

.sol-event-wear-card.ng li::before {
  background: #c73a2f;
}

/* 本文 */
.sol-event-message,
.sol-event-check {
  color: #26384d;
  font-weight: 400;
}

.sol-event-message p,
.sol-event-check p {
  margin: 0 0 18px;
}

.sol-event-message p:last-child,
.sol-event-check p:last-child {
  margin-bottom: 0;
}

/* 確認ボタン */
.sol-event-confirm-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.sol-event-confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #1f3a5f;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* 申し込み */
.sol-event-entry {
  width: 100%;
  padding: 48px 24px;
  border: 2px solid rgba(31, 58, 95, .12);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(212, 160, 23, .22) 0 82px, transparent 84px),
    radial-gradient(circle at 84% 88%, rgba(31, 58, 95, .14) 0 100px, transparent 102px),
    #fff8e7;
  box-shadow: 0 14px 32px rgba(31, 58, 95, .07);
}

.sol-event-entry p {
  margin: 0 0 24px;
  color: #1f3a5f;
  font-weight: 500;
}

.sol-event-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 58px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #d4a017;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 0 #ad7f09;
  transition: .2s ease;
}

.sol-event-entry-button:hover {
  transform: translateY(3px);
  box-shadow: 0 4px 0 #ad7f09;
  color: #ffffff !important;
}

.sol-event-entry .sol-event-note {
  margin-top: 22px;
}

/* スマホ */
@media screen and (max-width: 700px) {
  .sol-event-detail,
  .sol-event-detail {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
    margin-right: calc(50% - 50vw + 10px);
    padding: 20px 0 60px;
  }

  .sol-event-hero {
    padding: 34px 16px;
    border-radius: 22px;
  }

  .sol-event-date {
    font-size: 13px;
    padding: 6px 16px;
  }

  .sol-event-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.25;
  }

  .sol-event-lead {
    font-size: 18px;
    line-height: 1.7;
  }

  .sol-event-text {
    font-size: 15px;
    line-height: 1.9;
  }

  .sol-event-nav-buttons {
    gap: 8px;
  }

  .sol-event-nav-btn {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 9px 5px;
    font-size: 12px;
  }

  .sol-event-section,
  .sol-event-entry {
    margin-top: 34px;
  }

  .sol-event-section h2,
  .sol-event-entry h2 {
    font-size: 30px;
  }

  .sol-event-table-row,
  .sol-event-schedule-table .sol-event-table-row {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .sol-event-table-label,
  .sol-event-schedule-table .sol-event-table-label {
    width: 100%;
    min-width: 0;
    margin: 0 0 10px;
  }

  .sol-event-table-content {
    padding: 0;
    font-size: 17px;
  }

  .sol-event-item-box,
  .sol-event-message,
  .sol-event-check,
  .sol-event-entry {
    padding: 22px 14px;
  }

  .sol-event-chip-wrap {
    gap: 10px;
  }

  .sol-event-chip {
    font-size: 14px;
    padding: 8px 13px;
  }

  .sol-event-wear-grid {
    grid-template-columns: 1fr;
  }

  .sol-event-confirm-buttons {
    flex-direction: column;
  }

  .sol-event-confirm-btn,
  .sol-event-entry-button {
    width: 100%;
  }
}

/* =====================================================
   イベント詳細ページ：申し込みCTA
   ※CTAだけ全幅、内側はイベント記事幅1120px
===================================================== */

.post_content .sol-page--event-cta,
.sol-page--event-cta {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.post_content .sol-page--event-cta .sol-cta,
.sol-page--event-cta .sol-cta {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.post_content .sol-page--event-cta .sol-inner,
.sol-page--event-cta .sol-inner {
  width: 100% !important;
  max-width: var(--sol-post-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.post_content .sol-page--event-cta .sol-event-note--cta,
.sol-page--event-cta .sol-event-note--cta {
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.86) !important;
}


/* =====================================================
   最終固定：固定ページの幅と背景
   固定ページ本文は980px、背景セクションとCTAは画面幅
===================================================== */

body.page:not(.home) #page_header .desc,
body.page:not(.home) .page_header .desc,
body.page:not(.home) #page_header .desc .post_content,
body.page:not(.home) .page_header .desc .post_content {
  max-width: var(--sol-fixed-width) !important;
}

body.page:not(.home) .post_content .sol-page,
body.page:not(.home) .sol-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page:not(.home) .post_content .sol-page > .sol-section,
body.page:not(.home) .sol-page > .sol-section,
body.page:not(.home) .post_content .sol-page > .sol-photo-section,
body.page:not(.home) .sol-page > .sol-photo-section,
body.page:not(.home) .post_content .sol-page > .sol-cta,
body.page:not(.home) .sol-page > .sol-cta {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.page:not(.home) .post_content .sol-page .sol-inner,
body.page:not(.home) .sol-page .sol-inner,
body.page:not(.home) .post_content .sol-page .sol-photo-caption,
body.page:not(.home) .sol-page .sol-photo-caption {
  max-width: var(--sol-fixed-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page:not(.home) .post_content .sol-page > .sol-visual,
body.page:not(.home) .sol-page > .sol-visual {
  width: 100% !important;
  max-width: var(--sol-fixed-width) !important;
  margin: 0 auto 56px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  box-shadow: var(--sol-shadow-photo) !important;
}

body.page:not(.home) .post_content .sol-page > .sol-visual img,
body.page:not(.home) .sol-page > .sol-visual img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 22px !important;
}

body.page:not(.home) .post_content .sol-page > .sol-cta,
body.page:not(.home) .sol-page > .sol-cta {
  background: var(--sol-blue) !important;
  color: #ffffff !important;
}

body.single .post_content .sol-event-detail,
body.single .sol-event-detail {
  max-width: var(--sol-post-width) !important;
}

body.single .post_content .sol-page--event-cta,
body.single .sol-page--event-cta {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.single .post_content .sol-page--event-cta .sol-inner,
body.single .sol-page--event-cta .sol-inner {
  max-width: var(--sol-post-width) !important;
}

@media screen and (max-width: 767px) {
  body.page:not(.home) .post_content .sol-page .sol-inner,
  body.page:not(.home) .sol-page .sol-inner,
  body.page:not(.home) .post_content .sol-page .sol-photo-caption,
  body.page:not(.home) .sol-page .sol-photo-caption {
    max-width: none !important;
  }

  body.page:not(.home) .post_content .sol-page > .sol-visual,
  body.page:not(.home) .sol-page > .sol-visual {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin: 0 auto 36px !important;
    border-radius: 18px !important;
  }

  body.page:not(.home) .post_content .sol-page > .sol-visual img,
  body.page:not(.home) .sol-page > .sol-visual img {
    border-radius: 18px !important;
  }
}
