/* ------------------------------
  共通レイアウト
------------------------------ */

/*ラッパー
=========================================== */
.main_wrapper {
    position: relative;
    background-image: url("../img/bg_top.jpg");
    overflow: hidden;
    padding-bottom: 200px;
    margin-top: 80px;
}

.loginbtn_wrapper a {
    border-bottom: 1px solid;
    font-size: 14px;
    padding-top: 20px;
}

.registerbtn_wrapper {
    padding-top: 40px;
}

.mailbtn_wrapper {
    margin-bottom: 30px;
}

.faqbtn_wrapper {
    margin-bottom: 30px;
}

#contact .faq_wrapper {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

#password-reset .faq_wrapper {
    background-color: white;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

@media (max-width: 1080px) {
    .main_wrapper {
        margin-top: 0px;
        padding-bottom: 30px;
    }
}

/*コンテナ・幅
=========================================== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.container.side {
    width: 1230px;
}

@media (max-width: 1080px) {
    .container.side {
        width: 100%;
        max-width: 1230px;
    }
}

/* ------------------------------
  コンポーネント・パーツ
------------------------------ */
.mailadress-input {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}

.mailadress-input label {
    min-width: 210px;
    margin-right: 10px;
    flex-shrink: 0;
}

.user-input {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.user-input input {
    width: 100%;
}

.user-input label {
    margin-bottom: 10px;
    margin-right: 10px;
}

.name-input-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.name-field {
    flex: 1;
    min-width: 160px;
    display: flex;
}

.name-field label {
    margin-top: 10px;
    padding-right: 10px;
}

.name-field>div {
    flex: 1;
}

.tel-input-group {
    max-width: 400px;
}

.tel-fields {
    display: flex;
    align-items: start;
    gap: 8px;
}

.tel {
    text-align: left;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    box-sizing: border-box;

    @media (min-width: 1081px) {
        width: 120px;
    }
}

.tel:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}

.tel-separator {
    font-size: 16px;
    margin: 8px 4px 0;
}

.name-input-group {
    @media (min-width: 1081px) {
        width: 80%;
    }
}

.zipcode-input-group {
    display: flex;
    gap: 8px;
}

.zipcode-fields {
    display: flex;
    align-items: start;
    gap: 8px;
}

.zipcode {
    width: 100px;
    text-align: center;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
}

.zipcode:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}

.zipcode-separator {
    font-size: 16px;
    margin: 8px 4px 0;
}

#adress,
#pref_id {
    width: 30%;
}

#register .description .adress {
    margin-top: 5px;
}

.dob-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dob {
    width: 80px;
    text-align: center;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
}

.dob:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}

.dob-separator {
    font-size: 16px;
    margin: 0 4px;
}

.gender-input-group {
    width: 100%;
    max-width: 200px;
}

.form-textarea {
    field-sizing: content;
    min-height: 200px;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 10px;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
}

.agreement-checkbox label {
    font-size: 16px;
    cursor: pointer;
}

/*フォント
=========================================== */
#contact .descriptions {
    font-weight: 500;
}

#contact .faq_wrapper .descriptions {
    font-weight: 500;
    text-align: center;
    padding-top: 30px;
}

/* ------------------------------
  店舗紹介ページ
------------------------------ */
.region_header {
    background-color: #333333;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
}

.region_divider {
    height: 2px;
    background-color: #333333;
    margin-top: 20px;
}

.shop_card {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.shop_image {
    flex: 0 0 300px;
}

.shop_image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.shop_info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop_name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
}

.shop_details p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.shop_details p:last-child {
    margin-bottom: 0;
}

.map_link {
    color: #2553a8;
    text-decoration: underline;
    font-weight: bold;
}

.shop_details_btn {
    background-color: #bf9d4c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 15px;
    transition: background-color 0.2s ease;
}

.shop_details_btn:hover {
    background-color: #a68940;
}

@media (max-width: 1080px) {
    .region_header {
        padding: 12px 20px;
        font-size: 16px;
    }

    .region_divider {
        margin: 20px 20px 0;
    }

    .shop_card {
        flex-direction: column;
        margin: 20px 20px 0;
        gap: 0;
        align-items: normal;
        background-color: #f5f5f5;
    }

    .shop_image {
        flex: none;
    }

    .shop_image img {
        height: 180px;
    }

    .shop_info {
        padding: 15px;
    }

    .shop_name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .shop_details_btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* ------------------------------
  トップページ
------------------------------ */
.bnrs {
    padding: 200px 0px 80px 0px;
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
    justify-content: center;
}

.pokemon_bnr,
.mtg_bnr {
    width: 45%;
}

.pokemon_bnr img,
.mtg_bnr img {
    width: 100%;
    height: auto;
    display: block;
}

.background_title {
    font-family: "Odor Mean Chey", serif;
    position: absolute;
    top: -52px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 290px;
    font-weight: bold;
    color: #ffffff;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1080px) {
    .bnrs {
        padding: 30px 0px;
        flex-direction: column;
        align-items: center;
    }

    .pokemon_bnr,
    .mtg_bnr {
        width: 60%;
    }
}

/*ブログ
=========================================== */
.blog-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.blog-card:hover {
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blog-card__photo {
    flex: 7;
    overflow: hidden;
}

.blog-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__content {
    flex: 2;
    padding: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog_cards_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 30px;
}

/* レスポンシブ対応 */
@media (max-width: 1080px) {
    .blog_cards_wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px 30px 20px;
    }

    .blog-card__content {
        flex: 0;
    }
}

@media (max-width: 768px) {
    .blog_cards_wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px 30px 20px;
    }
}

.blog_info {
    display: flex;
    gap: 10px;
    padding-bottom: 5px;
}

.category {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 12px;
    color: white;
}

.category--yellow {
    border: 1px solid #bf9d4c;
    background-color: #bf9d4c;
}

.category--blue {
    border: 1px solid #2553a8;
    background-color: #2553a8;
}

.category--green {
    border: 1px solid #42b437;
    background-color: #42b437;
}

.blog_info>div {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* ------------------------------
  ヘルプページ
------------------------------ */
#front-help .main_right {
    flex: 8;
}

#front-help h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

#front-help p,
#front-help ul {
    margin-bottom: 10px;
}

@media (max-width: 1080px) {
    #front-help .separate_80 {
        gap: 0;
    }

    #front-help .separate_80 .sidebar {
        display: block;
    }

    #front-help .separate_80 .sidetitle {
        font-size: 20px;
        padding: 20px 2.6%;
    }

    #front-help .separate_80 .tab_content {
        margin-right: 2.6%;
        margin-left: 2.6%;
    }

    #front-help .separate_80 .tab_content .a_item {
        margin: 0;
        width: 100%;
    }
}

/*サイドバー
=========================================== */
.sidebar {
    flex: 2;
}

#front-help .sidebar {
    flex: 3;
}

.sidebar .faq_item_block {
    padding: 14px;
}

.sidebar .faq_item_title .q_item:before {
    display: none;
}

.sidebar .faq_item_title .q_item {
    padding-left: 0px;
}

.sidebar .faq_item_content .a_item {
    border-top: none;
    padding: 13px;
    display: block;
    box-sizing: border-box;
}

.sidebar .faq_item_wrapper {
    margin-bottom: 1px;
}

.sidebar .subtitle {
    font-size: 15px;
    margin-bottom: 10px;
}

.sidetitle {
    font-size: 20px;
    padding: 32px 0px;
}

@media (max-width: 1080px) {
    .sidetitle {
        font-size: 20px;
        padding: 32px 20px;
    }

    .sidebar.sp_only .sidetitle {
        padding: 0px 20px 20px;
    }
}

/* ------------------------------
  パスワードの再設定ページ
------------------------------ */
#mypage-password-request .page_title,
#mypage-password-request .member_form,
#mypage-password-email-thanks .page_title,
#mypage-password-email-thanks .member_form,
#mypage-password-reset .page_title,
#mypage-password-reset .member_form,
#mypage-verification-notice .page_title,
#mypage-verification-notice .member_form {
    max-width: 525px;
    margin-right: auto;
    margin-left: auto;
}

#mypage-password-request .loginbtn_wrapper,
#mypage-password-reset .loginbtn_wrapper {
    margin-top: 40px;
}

/* ------------------------------
  ログインページ
------------------------------ */
.member_form,
.non_member {
    background-color: white;
    flex: 1;
    padding: 40px;
    max-width: 525px;
    box-sizing: border-box;

    @media (max-width: 1080px) {
        background-color: white;
        flex: 1;
        padding: 15px 20px 30px 20px;
    }
}

.member_form .invalid-feedback {
    margin-top: 5px;
}

/* ------------------------------
  特定商取引法表示のレスポンシブテーブル
------------------------------ */
/* PC版テーブル - デフォルト表示 */
.table_pc_layout {
    display: block;
}

/* SP版テーブル - デフォルト非表示 */
.table_sp_layout {
    display: none;
}

/* SP版レイアウト（1080px以下） */
@media (max-width: 1080px) {

    /* PC版を非表示 */
    .table_pc_layout {
        display: none;
    }

    /* SP版を表示 */
    .table_sp_layout {
        display: block;
    }

    /* SP版テーブルのスタイリング */
    .table_sp_layout table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .table_sp_layout tr {
        display: block;
        border: 1px solid #ddd;
        overflow: hidden;
        background-color: transparent;
    }

    .table_sp_layout th {
        display: block;
        width: 100%;
        background-color: #363636;
        border-bottom: 1px solid #ddd;
        font-weight: bold;
        text-align: left;
    }

    .table_sp_layout td {
        display: block;
        width: 100%;
        padding: 15px 20px;
        background-color: transparent;
        text-align: left;
        border: none;
    }

    .table_sp_layout th p {
        margin: 0;
        font-size: 16px;
        color: white;
    }

    .table_sp_layout td.description {
        font-size: 14px;
        line-height: 1.6;
        color: #555;
        margin: 15px 20px;
        padding: 0px;
        width: calc(100% - 40px);
    }

    .notation_table table {
        border-top: none;
    }

    /* コンタクトフォーム専用のSP版スタイル */
    .table_sp_layout .title_wrpper {
        display: flex;
        gap: 8px;
    }

    .table_sp_layout .required_label {
        align-self: flex-start;
        font-size: 12px;
        padding: 4px 8px;
        background-color: #bf9d4c;
        color: white;
        border-radius: 4px;
        margin-top: 5px;
    }

    .table_sp_layout .name-input-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .table_sp_layout .name-field {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .table_sp_layout .name-field label {
        font-weight: bold;
        font-size: 14px;
        color: #333;
    }

    .table_sp_layout .tel-input-group {
        width: 100%;
    }

    .table_sp_layout .tel-fields {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
    }

    .table_sp_layout .tel {
        flex: 1;
        min-width: 80px;
        max-width: 120px;
    }

    .table_sp_layout .tel-separator {
        font-size: 16px;
        color: #333;
    }

    .table_sp_layout .form-input,
    .table_sp_layout .form-select,
    .table_sp_layout .form-textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    .table_sp_layout .form-textarea {
        min-height: 120px;
        resize: vertical;
    }
}

#register .table_layout:first-of-type {
    margin-bottom: 30px;
    /* 好きな値 */
}

@media (max-width: 1080px) {

    /* SP版テーブルのスタイリング */
    #register .table_layout table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0 !important;
    }

    #register .table_layout:first-of-type {
        margin: 20px 0;
        /* 好きな値 */
    }

    #register .table_layout tr {
        display: block;
        border: 1px solid #ddd;
        overflow: hidden;
        background-color: transparent;
    }

    #register .table_layout th {
        display: block;
        width: 100%;
        background-color: #363636;
        border-bottom: 1px solid #ddd;
        font-weight: bold;
        text-align: left;
    }

    #register .table_layout td {
        display: block;
        width: 100%;
        padding: 15px 20px;
        background-color: transparent;
        text-align: left;
        border: none;
    }

    #register .table_layout th p {
        margin: 0;
        font-size: 16px;
        color: white;
    }

    #register .table_layout td.description {
        font-size: 14px;
        line-height: 1.6;
        color: #555;
        margin: 15px 20px;
        padding: 0px;
        width: calc(100% - 40px);
    }

    .notation_table table {
        border-top: none;
    }

    /* コンタクトフォーム専用のSP版スタイル */
    #register .table_layout .title_wrpper {
        display: flex;
        gap: 8px;
    }

    #register .table_layout .required_label {
        align-self: flex-start;
        font-size: 12px;
        padding: 4px 8px;
        background-color: #bf9d4c;
        color: white;
        border-radius: 4px;
        margin-top: 5px;
    }

    #register .table_layout .name-input-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    #register .table_layout .name-field {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #register .table_layout .name-field label {
        font-weight: bold;
        font-size: 14px;
        color: #333;
    }

    #register .table_layout .tel-input-group {
        width: 100%;
    }

    #register .table_layout .tel-fields {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
    }

    #register .table_layout .tel {
        flex: 1;
        min-width: 80px;
        max-width: 120px;
    }

    #register .table_layout .tel-separator {
        font-size: 16px;
        color: #333;
    }

    #register .table_layout .form-input,
    #register .table_layout .form-select,
    #register .table_layout .form-textarea {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        box-sizing: border-box;
        font-size: 16px;
    }

    #register .table_layout .form-textarea {
        min-height: 120px;
        resize: vertical;
    }
}

/* ------------------------------
  お気に入りページ
------------------------------ */
.item_count {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0px;
    color: #333;
}

.result_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 1080px) {
    .item_count {
        margin: 20px 20px 15px 20px;
        font-size: 16px;
    }

    .result_cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* マイページカードスタイル */
.mypage-card {
    background-color: #1C1C1C;
    padding: 16px;
    font-family: "Noto Sans JP", sans-serif;
    gap: 10px;
}

.mypage-contents {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    justify-content: center;
}

.mypage-image {
    width: 120px;
    height: 166px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mypage-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.mypage-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 4px;
    font-size: 14px;
}

.mypage-name {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    color: white;
}

.mypage-price {
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.mypage-stock {
    font-size: 13px;
    color: white;
}

.mypage-add-cart {
    background-color: #c41f1f;
    width: 100%;
    color: #fff;
    border: none;
    padding: 5px 0;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mypage-add-cart:hover {
    background-color: #a51818;
}

.mypage-add-cart:disabled {
    background-color: #a51818;
    opacity: 0.7;
}

@media (max-width: 1080px) {
    .result_cards {
        display: flex;
        flex-direction: column;
        padding: 0px 20px;
        margin-bottom: 30px;
    }

    .mypage-card {
        padding: 10px 20px;
    }
}

/* マイページ数量コントロール */
.mypage-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.mypage-quantity-label {
    font-weight: bold;
    color: white;
    font-size: 14px;
}

.mypage-quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px 10px;
    min-width: 100px;
    justify-content: space-between;
    background-color: transparent;
}

.mypage-quantity-control button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: white;
}

.mypage-quantity-control input {
    color: white;
    font-weight: bold;
    border: none;
    text-align: center;
    width: 40px;
    font-size: 1rem;
}

.mypage-quantity-control button:hover {
    background-color: #555;
    border-radius: 3px;
}

.mypage-quantity-controls {
    position: relative;
}

.mypage-quantity-controls select {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

@media (max-width: 1080px) {
    .mypage-quantity-controls {
        justify-content: flex-end;
    }
}

/* マイページ削除ボタン */
.mypage-delete-btn {
    background-color: transparent;
    border: 1px solid #666;
    border-radius: 5px;
    color: #ccc;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.mypage-delete-btn:hover {
    background-color: #333;
    border-color: #888;
    color: #fff;
}

.mypage-delete-btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0.7);
}

.mypage-delete-btn:hover img {
    filter: brightness(1);
}

/* トースト */
#toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;
    max-width: 350px;
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.3s forwards, fadeOut 0.5s 4.5s forwards;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast button {
    background: transparent;
    border: none;
    color: #4da6ff;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

/* トースト表示アニメーション */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* トースト消えるアニメーション */
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* マイページ履歴ボタン */
.mypage-history-btn {
    background-color: #bf9d4c;
    border: 1px solid #bf9d4c;
    border-radius: 5px;
    color: white;
    padding: 5px 16px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.mypage-history-btn:hover {
    background-color: #a5843a;
    border-color: #a5843a;
}

.toggle-password-wrap {
    position: relative;
    width: 100%;
}

button.toggle-password-display.eye-slash,
button.toggle-password-display.eye {
    width: 24px;
    height: 24px;
    border: none;
    position: absolute;
    top: 11px;
    right: 10px;
}

button.toggle-password-display.eye {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M320 144C254.8 144 201.2 173.6 160.1 211.7C121.6 247.5 95 290 81.4 320C95 350 121.6 392.5 160.1 428.3C201.2 466.4 254.8 496 320 496C385.2 496 438.8 466.4 479.9 428.3C518.4 392.5 545 350 558.6 320C545 290 518.4 247.5 479.9 211.7C438.8 173.6 385.2 144 320 144zM127.4 176.6C174.5 132.8 239.2 96 320 96C400.8 96 465.5 132.8 512.6 176.6C559.4 220.1 590.7 272 605.6 307.7C608.9 315.6 608.9 324.4 605.6 332.3C590.7 368 559.4 420 512.6 463.4C465.5 507.1 400.8 544 320 544C239.2 544 174.5 507.2 127.4 463.4C80.6 419.9 49.3 368 34.4 332.3C31.1 324.4 31.1 315.6 34.4 307.7C49.3 272 80.6 220 127.4 176.6zM320 400C364.2 400 400 364.2 400 320C400 290.4 383.9 264.5 360 250.7C358.6 310.4 310.4 358.6 250.7 360C264.5 383.9 290.4 400 320 400zM240.4 311.6C242.9 311.9 245.4 312 248 312C283.3 312 312 283.3 312 248C312 245.4 311.8 242.9 311.6 240.4C274.2 244.3 244.4 274.1 240.5 311.5zM286 196.6C296.8 193.6 308.2 192.1 319.9 192.1C328.7 192.1 337.4 193 345.7 194.7C346 194.8 346.2 194.8 346.5 194.9C404.4 207.1 447.9 258.6 447.9 320.1C447.9 390.8 390.6 448.1 319.9 448.1C258.3 448.1 206.9 404.6 194.7 346.7C192.9 338.1 191.9 329.2 191.9 320.1C191.9 309.1 193.3 298.3 195.9 288.1C196.1 287.4 196.2 286.8 196.4 286.2C208.3 242.8 242.5 208.6 285.9 196.7z'/></svg>") no-repeat center/contain;
}

button.toggle-password-display.eye-slash {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M73 39.1C63.6 29.7 48.4 29.7 39.1 39.1C29.8 48.5 29.7 63.7 39 73.1L567 601.1C576.4 610.5 591.6 610.5 600.9 601.1C610.2 591.7 610.3 576.5 600.9 567.2L504.5 470.8C507.2 468.4 509.9 466 512.5 463.6C559.3 420.1 590.6 368.2 605.5 332.5C608.8 324.6 608.8 315.8 605.5 307.9C590.6 272.2 559.3 220.2 512.5 176.8C465.4 133.1 400.7 96.2 319.9 96.2C263.1 96.2 214.3 114.4 173.9 140.4L73 39.1zM208.9 175.1C241 156.2 278.1 144 320 144C385.2 144 438.8 173.6 479.9 211.7C518.4 247.4 545 290 558.5 320C544.9 350 518.3 392.5 479.9 428.3C476.8 431.1 473.7 433.9 470.5 436.7L425.8 392C439.8 371.5 448 346.7 448 320C448 249.3 390.7 192 320 192C293.3 192 268.5 200.2 248 214.2L208.9 175.1zM390.9 357.1L282.9 249.1C294 243.3 306.6 240 320 240C364.2 240 400 275.8 400 320C400 333.4 396.7 346 390.9 357.1zM135.4 237.2L101.4 203.2C68.8 240 46.4 279 34.5 307.7C31.2 315.6 31.2 324.4 34.5 332.3C49.4 368 80.7 420 127.5 463.4C174.6 507.1 239.3 544 320.1 544C357.4 544 391.3 536.1 421.6 523.4L384.2 486C364.2 492.4 342.8 496 320 496C254.8 496 201.2 466.4 160.1 428.3C121.6 392.6 95 350 81.5 320C91.9 296.9 110.1 266.4 135.5 237.2z'/></svg>") no-repeat center/contain;
}


/* マイページ */
.mypage_contents {
    margin-bottom: 40px;
}

/* 最後のmypage_contentsを指定（.flex_centerの直前） */
.mypage_contents.last {
    margin-bottom: 60px;
}

/* サービスアイコン
=========================================== */
.service_icons {
    display: flex;
    justify-content: flex-start;
    gap: 20px 0px;
    border-radius: 8px;
    padding: 0px 20px;
    flex-wrap: wrap;
}

.service_item_wrap {
    flex: 1 1 150px;
    min-width: 150px;
    position: relative;
}

.service_item_wrap>div:nth-of-type(1),
.service_item {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    flex: 1 1 150px;
    min-width: 150px;
    gap: 10px;
    background: transparent;
    border: none;

    @media (max-width: 480px) {
        gap: 3px;
    }
}

.service_item_wrap>div:nth-of-type(1):hover,
.service_item:hover {
    opacity: 0.7;
}

.service_item_wrap>div:nth-of-type(1) span,
.service_item span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.service_item_wrap>div:nth-of-type(2) {
    z-index: 1;
    position: absolute;
    top: 30px;
    left: 0px;
    background: #fff;
    border-radius: 5px;
    border-top: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .1);
    min-width: 140px;
    font-size: 0.85rem;
    display: none;
}

.service_item_wrap>div:nth-of-type(2) a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.service_item_wrap>div:nth-of-type(2) a:hover {
    background: #f9f9f9;
}