body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #000;
}

@media screen and (min-width:768px) {
    body {
        padding: 0 20%;
    }

    .section p {
        font-size: 1.5rem;
        line-height: 2.5rem
    }

    .section ol {
        font-size: 1.5rem !important;
        line-height: 2.5rem !important;
        list-style: disc;
    }

    .section-title {
        font-size: 2em !important;
    }

    .sub-title {
        font-size: 1.4em !important;
        line-height: 2.2rem !important;
    }
}
.container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container img {
    width: 100%;
    max-width: 900px;
    display: block;
}

.text {
    color: #fff;
    line-height: 1.5rem;
    margin: 0 0 2rem;
    background-image: url(../images/line.png);
    background-position: bottom;
    background-size: contain;
    padding: 0 5% 80px;
    background-repeat: no-repeat;
}

.text span {
    background: linear-gradient(transparent 60%, #90254d 30%);
}

.text-bg {
    background-color: #27363f;
    color: #fff;
    padding: 15px 15px 0;
    margin: 0;
}

.text-bg.bottom {
    border-radius: 0;
    padding: 0 15px 15px;
}

.contact__btn a {
    display: inline-block;
    background: linear-gradient(to right, #1a681c 0%, #469400 45%, #fffacd 100%);
    background-size: 200% auto;
    color: #fff;
    border-radius: 40px;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 1em;
    transition: .5s;
}

.radio-group label {
    font-size: 0.8rem;
    width: 20%;
    margin-right: 5%;
}

.contact__btn a {
    display: block; 
    margin: 2rem auto; 
    width: 50%; 
    text-align: center;
}

@media screen and (min-width:769px) {
    .contact__btn a {
        display: block; 
        margin: 2rem auto; 
        width: 60%; 
        max-width:700px;
        background: linear-gradient(to right, #1a681c 0%, #469400 45%, #fffacd 100%);
        background-size: 200% auto;
        color: #fff;
        border-radius: 5px;
        padding: 20px 60px;
        text-decoration: none;
        font-size: 1.5em;
        transition: .5s;
    }
    
}

/* プロフィール編集 */

/* プロフィール編集フォーム（テーブルレイアウト） */
.profile-edit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.profile-edit-table th,
.profile-edit-table td {
  padding: 12px 8px;
  border-top: 1px solid #eee;
  vertical-align: middle;
}
.profile-edit-table thead th {
  /* 見出し行 */
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  border-top: none;
  padding-top: 0;
}
.profile-edit-table th {
  /* 行見出しセル */
  width: 30%;
  text-align: left;
  font-weight: 500;
  color: var(--text-color);
}
.profile-edit-table td {
  text-align: left;
}

/* メールアドレス変更用説明行 */
.profile-edit-table .email-change {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
}
.profile-edit-table .change-email-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--link);
  text-decoration: underline;
  font-size: 0.85rem;
}

/* 入力要素 */
.profile-edit-table .input-text,
.profile-edit-table .input-select,
.profile-edit-table .input-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  background: #fafafa;
  box-sizing: border-box;
}
.profile-edit-table .input-textarea {
  min-height: 150px;
  resize: vertical;
}

/* 送信ボタン行 */
.profile-edit-table .form-submit {
  text-align: center;
  padding: 24px 0 0;
}
.profile-edit-table .form-submit .button-primary {
  /* テーブル幅に合わせて中央寄せかつ最大幅を設定 */
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;
}

/* テーブル最終行だけボーダーを消す */
.profile-edit-table tr:last-child th,
.profile-edit-table tr:last-child td {
  border-bottom: none;
}

/* タブレット以上では見出し列を狭く */
@media (min-width: 768px) {
  .profile-edit-table th {
    width: 25%;
    font-size: 1rem;
  }
  .profile-edit-table td {
    font-size: 0.95rem;
  }
}
