/* ------------------------------------------------------------------------------------------------------------------ */
/* wordpressデフォルト要素 */
.wp-block-template-part {
    display: none;
}

#wp--skip-link--target {
    margin-top: 0px !important;
}

.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.entry-content.alignfull.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained {
    margin-top: 0px;
}

.has-global-padding {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.has-global-padding > .alignfull {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

:where(.wp-site-blocks *:focus) {
    outline: none !important;
}

/* 固定ページタイトル */
.wp-block-post-title {
    display: none;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 基本css */

input, button, select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    font: inherit;
    outline: none;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* SweetAlert */

.swal2-warning,
.swal2-info,
.swal2-question {
    border-color: #111827 !important;
    color: #111827 !important;
    height: 60px;
    width: 60px;
    margin: 40px auto 10px !important;
}

.swal2-error {
border-color: #111827 !important;
color: #111827 !important;
transform: scale(0.8);
}

.swal2-success {
    transform: scale(0.8);
    border-color: #111827 !important;
    color: #111827 !important;
}

.swal2-error .swal2-x-mark-line-left,
.swal2-error .swal2-x-mark-line-right {
background-color: #111827 !important;
}

.swal2-icon-content {
    font-size: 40px !important;
}

div:where(.swal2-icon).swal2-success {
    border-color: #111827 !important;
    color: #111827 !important;
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
    background-color: #111827 !important;
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
    background-color: #111827 !important;
}

div:where(.swal2-icon).swal2-success .swal2-success-ring {
    border: .25em solid #111827 !important;
}

div:where(.swal2-container) div:where(.swal2-validation-message)::before {
    background-color: #111827 !important;
}

/* htmlコンテナ */
#swal2-html-container {
    width: 100%;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    font-size: 1rem;
    color: #535353;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ボタンコンテナ */
.swal2-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin-bottom: 40px;
}

/* エラーOKボタン */
.custom-error-ok-button {
    font-size: 0.875rem;
    background: #111827;
    color: #fff;
    border-radius: 100px;
    width: 120px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
}

.custom-ok-button {
    font-size: 0.875rem;
    background: #111827;
    color: #fff;
    border-radius: 100px;
    width: 120px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
}

.custom-login-guidance-button {
    font-size: 0.875rem;
    background: #111827;
    color: #fff;
    border-radius: 100px;
    width: 140px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
}

.custom-cancel-button {
    font-size: 0.875rem;
    background-color: #AAAAAC;
    color: #fff;
    border-radius: 100px;
    width: 120px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
}

/* 今後表示しないチェックボックス */
.custom-not-show-again-checkbox-wrapper {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    margin-top: 20px;
}

.custom-not-show-again-checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-not-show-again-checkbox-wrapper label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-not-show-again-checkbox-wrapper label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg) scale(0);
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}

.custom-not-show-again-checkbox-wrapper input[type="checkbox"]:checked + label::before {
    background-color: #111827;
    border-color: #111827;
}

.custom-not-show-again-checkbox-wrapper input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
}

/* 全画面 */
.custom-swal-popup-wide {
    width: 100% !important;
    max-width: 600px !important;
    height: auto;
    display: grid !important;
    margin: 0 auto !important;
}

/* 画像用 */
.swal-popup-wide img.swal2-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

/* 黒背景 */
.swal-container-dark.swal2-backdrop-show {
    background: rgba(0, 0, 0, 1) !important;
}

div:where(.swal2-container) div:where(.swal2-footer) {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 固定ヘッター / フッター */

:root{
    --fixed-header-height: 4rem;
    --fixed-footer-height: 3.75rem;
}

.fixed-main {
    padding-top: calc(var(--fixed-header-height));
    padding-bottom: calc(var(--fixed-footer-height));
    box-sizing: border-box;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: var(--fixed-header-height);
    display: flex;
    align-items: center;
    background: #fff;
    z-index: 9999;
    box-sizing: border-box;
    padding-inline: 1.25rem;
    border-bottom: 1px solid #111827;
}

.fixed-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.fixed-header-logo {
    width: 100px;
    height: auto;
    display: block;
}

.fixed-header-hamburger {
  cursor: pointer;
  display: block;
  height: 2.375rem;
  padding-inline: 0.75rem;
  position: absolute;
  right: 0.9375rem;
  text-align: center;
  top: 55%;
  transform: translateY(-50%);  
  width: 2.875rem;
  z-index: 150;
}

.fixed-header-hamburger__line {
  background: #111827;
  display: block;
  height: 1.5px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: 0.3s ease-in-out;
  width: 2.125rem;
}

.fixed-header-hamburger__line:nth-of-type(1) {
  top: 0rem;
}

.fixed-header-hamburger__line:nth-of-type(2) {
  top: 0.5rem;
}

.fixed-header-hamburger__line:nth-of-type(3) {
  top: 1rem;
}

.fixed-header-hamburger__text {
  bottom: 0;
  color: #111827;
  font-size: 0.75rem;
  font-weight: 500;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: 0.3s;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    min-height: var(--fixed-footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 9999;
    box-sizing: border-box;
    padding-inline: 1.25rem;
    border-top: 1px solid #E5E7EB;
}

.fixed-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding-block: 5px;
}

.fixed-footer-inner.fixed-footer-nav{
    width: 100%;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-around;
}

.fixed-footer-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #111827;
    min-width: 72px;
}

.fixed-footer-icon-img{
    width: 22px;
    height: 22px;
    display: block;
}

.fixed-footer-text{
    font-size: 0.75rem;
    font-weight: 500;
    color: #111827;
}

.fixed-footer-link {
    font-size: 0.75rem;
    color: #111827;
    text-decoration: underline;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* ログイン画面 */

.custom-login-page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    font-weight: 500;
    padding-inline: 1.25rem;
}

.custom-login-page,
.custom-login-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-login-page-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #111827;
    text-align: center;
    margin-top: 2.5rem;
}

.custom-login-page-content {
    height: 100%;
}

#custom-login-form {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
}

.custom-login-form-group label {
    font-size: 1rem;
    color: #535353;
    display: block;
    margin-bottom: 0.625rem;
}

.custom-login-form-group input {
    font-size: 0.875rem;
    padding: 0.9375rem;
    border: none;
    border-radius: 999px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    box-sizing: border-box;
}

.cl-error-message {
    display: block;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #111827;
}

#cl-login-button {
    position: relative;
    text-align: center;
    background-color: #111827;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 1.25rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #fff;
    width: 280px;
    height: 45px; 
    box-sizing: border-box;
}

#cl-login-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.cl-register-button {
    position: relative;
    text-align: center;
    background-color: #fff;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 1.25rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #111827;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
    border: solid 1px #111827;
}

.cl-register-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #111827;
    border-left: 1px solid #111827;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-login-password-reset-button {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: #111827;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.custom-login-logged-in-message {
    font-size: 1rem;
    color: #535353;
    text-align: center;
    margin: 2.5rem 0 0px 0;
}

.custom-login-mypage-button,
.custom-login-logout-button {
    position: relative;
    text-align: center;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    width: 280px;
    height: 45px; 
    box-sizing: border-box;
}

.custom-login-mypage-button {
    background-color: #111827;
    color: #fff;
}


.custom-login-logout-button {
    background-color: #AAAAAC; 
    color: #fff;
}

.custom-login-mypage-button::before,
.custom-login-logout-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* パスワードリセット */

.custom-password-reset-page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    font-weight: 500;
    padding-inline: 1.25rem;
}

.custom-password-reset-page,
.custom-password-reset-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-password-reset-page-content {
    height: 100%;
    overflow-y: auto;
}

.custom-password-reset-message {
    font-size: 1rem;
    color: #535353;
    text-align: center;
    margin: 2.5rem 0 20px 0;
}

#cl-reset-step-1 input,
#cl-reset-step-2 input,
#cl-reset-step-3 input {
    font-size: 0.875rem;
    padding: 0.9375rem;
    border: none;
    border-radius: 999px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    box-sizing: border-box;
}

#cl-reset-send-email,
#cl-reset-verify-code,
#cl-reset-final-submit {
    position: relative;
    text-align: center;
    background-color: #111827;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    width: 280px;
    height: 45px; 
    box-sizing: border-box;
}

#cl-reset-send-email::before,
#cl-reset-verify-code::before,
#cl-reset-final-submit::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.cl-custom-reset-restart-button {
    margin: 16px auto 0 auto;
    display: block;
    font-size: 0.875rem;
    color: #AAAAAC;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 新規登録 */

.custom-register-page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    font-weight: 500;
    padding-inline: 1.25rem;
}

.custom-register-page,
.custom-register-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-register-page-content {
    height: 100%;
    overflow-y: auto;
}

/* 登録：認証コード入力（STEP2） */
#cl-register-step-2 input {
    font-size: 0.875rem;
    padding: 0.9375rem;
    border: none;
    border-radius: 999px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    box-sizing: border-box;
}

/* 登録：ボタン（認証コード送信 / 会員登録） */
#cl-register-send-code,
#cl-register-complete {
    position: relative;
    text-align: center;
    background-color: #111827;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    width: 280px;
    height: 45px;
    box-sizing: border-box;
}

#cl-register-send-code::before,
#cl-register-complete::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translateY(-50%) rotate(-135deg);
    transform: translateY(-50%) rotate(-135deg);
}

/* 登録：初めからやり直す */
.cl-custom-register-restart-button {
    margin: 16px auto 0 auto;
    display: block;
    font-size: 0.875rem;
    color: #AAAAAC;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}