body {
  background: #EEE;
  color: #333;
}

p {
  line-height: 1.6;
}

a {
  transition : all 0.3s;
}

a img:hover {
  opacity: 0.8;
  transition : all 0.3s;
}


a:hover {
  text-decoration: none;
}


.head {
  text-align: center;
  margin-top: 30px;
}

.head img {
  max-width: 360px;
  margin-bottom: 40px;
}

.head h2 {
  font-size: 1.2rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
}



.fanclub-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.fanclub-cards img:first-child,
.fanclub-cards img:last-child {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  height: auto;
  max-width: min(100%, 250px);
  object-fit: contain;
}

.fanclub-cards img:nth-child(2) {
  flex: 0 0 auto;
  max-width: 48px;
}

.box {
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.box h3 {
  font-size: 1.2rem;
  background: #55227d;
  font-weight: bold;
  padding: 5px 10px;
  color: #FFF;
  margin-bottom: 15px;
}

.box h4 {
  font-size: 1.1rem;
  color: #55227d;
  font-weight: bold;
}

.kaihi-col {
  background: #FFF;
  padding: 15px;
}

.kaihi-col h4 {
  color: #55227d;
}

.kaihi-col p,
.camp-col p {
  margin-bottom: 0;
}

.camp-col {
  background: #FFF;
  padding: 15px;
}

@media (min-width: 768px) {
  .kaihi-camp-row {
    align-items: stretch;
  }

  .kaihi-camp-row > [class*="col-"] {
    display: flex;
  }

  .kaihi-col,
  .camp-col {
    width: 100%;
    flex: 1;
  }

  .camp-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.camp-col h4 {
  color: rgb(187, 17, 74);
}

.camp-col span {
  text-decoration: line-through;
}

.resist img {
  max-width: 300px;
  margin-top: 15px;
}

/* テーブル */
.membership-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  color: #333;
  margin-top: 30px;
  table-layout: fixed;
}

.membership-table thead {
  background: #ccc;
  color: 333;
}

.membership-table th,
.membership-table td {
  padding: 12px 5px;
  text-align: center;
  border: 1px solid #ddd;
  line-height: 1.3;
}

.membership-table td span {
  font-size: 0.8rem;;
}

.membership-table th {
  font-weight: bold;
  font-size: 0.9rem;
}

.membership-table thead th {
  padding: 20px 10px;
}

.feature-label {
  text-align: left;
  width: 35%;
}

.membership-table tbody tr:nth-child(odd) {
  background: #f9f9f9;
}

.table-caption {
  margin-bottom: 15px;
  padding: 10px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.table-note {
  margin-top: 15px;
  padding: 15px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  background: #fff;
  margin-bottom: 50px;
}

.martin-header {
  width: 32.5%;
  background: #333;
  color: #FAFAFA;
}

.martin {
  width: 32.5%;
}

.lovers-header {
  width: 32.5%;
  background: #B197C6;
  color: #FFF;
}

.lovers {
  width: 32.5%;
}

ul li {
  margin-bottom: 7px;
}

.furikae {
  padding: 5px 30px;
}

.furikae img {
  border: 1px solid #999;
}

.inquiry {
  margin-top: 70px;
  background: #FFF;

}

.inquiry h5 {
  text-align: center;
  font-weight: bold;
  padding: 30px 30px 5px;
}

.inquiry p {
  text-align: center;
  color: #333;
  margin-bottom: 0;
  padding-bottom: 30px;
}

footer {
  background: #333;

  text-align: center;
  color: #DDD;
  padding: 7px;
  font-size: 0.9rem;
}

.link-btn a {
  background: #FFF;
  display: block;
  text-align: center;
  padding: 10px 5px;
  border: 1px solid #55227d;
  border-radius: 5px;
  color: #55227d;
  margin-bottom: 20px;
}

.link-btn a:hover {
  background: #55227d;
  color: #FFF;
}


.purple {
  color: #55227d;
}


@media (max-width: 768px) {
  .head h2 {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .fanclub-cards {
    flex-direction: column;
    gap: 16px;
  }

  .fanclub-cards img:first-child,
  .fanclub-cards img:last-child {
    max-width: 85%;
  }

  .fanclub-cards img:nth-child(2) {
    max-width: 40px;
  }

  .kakeru {
  padding: 10px;
}

  .kakeru img {
    max-width: 50px;
  }

  /* テーブル */
  .membership-table {
    display: block;
    margin-top: 20px;
  }

  .membership-table thead {
    display: block;
    background: #111;
    color: white;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
  }

  .membership-table thead tr {
    display: block;
  }

  .membership-table thead th {
    display: none;
  }

  .membership-table thead .feature-label {
    display: block;
    border: none;
    color: white;
    width: 100%;
    background: #111;
  }

  .membership-table tbody {
    display: block;
  }

  .membership-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*margin-bottom: 20px;*/
    border: 1px solid #ddd;
    overflow: hidden;
  }

  .membership-table th,
  .membership-table td {
    padding: 12px;
    border: none;
    border-right: 1px solid #ddd;
  }

  .membership-table td:last-child {
    border-right: none;
  }

  .membership-table tbody .feature-label {
    grid-column: 1 / -1;
    background: #363636;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border-right: none;
  }

  .membership-table .martin::before {
    content: "Martin plus";
    display: block;
    font-weight: bold;
    font-size: 0.85rem;
    color: #363636;
    margin-bottom: 8px;
  }

  .membership-table .lovers::before {
    content: "Lovers";
    display: block;
    font-weight: bold;
    font-size: 0.85rem;
    color: #363636;
    margin-bottom: 8px;
  }

  .membership-table .martin,
  .membership-table .lovers {
    width: auto;
    text-align: center;
    background: white;
  }

  .membership-table tr:nth-child(odd) {
    background: #f9f9f9;
  }

  .kaihi-col {
    margin-bottom: 10px;
  }

  .furikae {
    padding: 0 15px;
  }
}

/* モバイル時のみ改行を表示 */
@media (min-width: 769px) {
  .mobile-break {
    display: none;
  }
}


