/* =========================
   フェローシップ横並びブロック 完成版
   ========================= */

.fellowship-row {
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  background: #e6d4bf;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: "Noto Sans JP", serif;
  letter-spacing: 0.02em;
}

.fellowship-row,
.fellowship-row * {
  font-family: "Noto Sans JP", serif;
  box-sizing: border-box;
}

.fellowship-item {
  flex: 1;
  padding: 30px 24px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

.fellowship-item:first-child {
  border-left: none;
  background: #e47f2a;
  color: #ffffff;
}

.fellowship-item:first-child .title,
.fellowship-item:first-child .sub {
  color: #ffffff;
}

.fellowship-item .title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 10px;
}

.fellowship-item .sub {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.fellowship-item .label {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #111111;
}

.fellowship-item .price {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: #111111;
  font-feature-settings: "palt";
  font-variant-numeric: proportional-nums;
}

.fellowship-item .note {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  margin: 8px 0 0;
  color: #111111;
}

.fellowship-item .text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  margin: 0;
  color: #111111;
}

/* 「なし」が少し弱く見える場合用 */
.fellowship-item .price.is-none {
  letter-spacing: 0.08em;
}

/* タブレット */
@media screen and (max-width: 991px) {
  .fellowship-row {
    margin: 32px auto;
  }

  .fellowship-item {
    padding: 26px 18px;
    min-height: 160px;
  }

  .fellowship-item .title {
    font-size: 20px;
  }

  .fellowship-item .label {
    font-size: 16px;
  }

  .fellowship-item .price {
    font-size: 28px;
  }

  .fellowship-item .text {
    font-size: 15px;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .fellowship-row {
    flex-direction: column;
    border-radius: 14px;
    margin: 24px auto;
  }

  .fellowship-item {
    min-height: auto;
    padding: 22px 18px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
  }

  .fellowship-item:first-child {
    border-top: none;
  }

  .fellowship-item .title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .fellowship-item .sub {
    font-size: 14px;
  }

  .fellowship-item .label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .fellowship-item .price {
    font-size: 26px;
  }

  .fellowship-item .note,
  .fellowship-item .text {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* =========================================
   fellowshipページ専用：下部固定ボタン
   ========================================= */
@media screen and (max-width: 767px){

  body.agfellowship .spFixedBtnWrap{
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  body.agfellowship .spFixedBtn{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  body.agfellowship .spFixedBtn li{
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.agfellowship .spFixedBtn li a{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 40px 0 16px !important;
    box-sizing: border-box !important;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.06em;
    border-radius: 0 !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    position: relative;
  }

  body.agfellowship .spFixedBtn li a::after{
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }

  body.agfellowship .spFixedBtn li a:active{
    transform: scale(0.98);
  }

  body.agfellowship .spFixedBtnWrap.is-hidden,
  body.agfellowship .spFixedBtn.is-hidden{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.agfellowship.entryform-visible .spFixedBtnWrap,
  body.agfellowship.entryform-visible .spFixedBtn,
  body.agfellowship.entryform-visible .spFixedBtn.fixed{
    display: none !important;
  }
}

@media screen and (min-width: 768px){
  body.agfellowship .spFixedBtnWrap{
    display: none !important;
  }
}