@charset "UTF-8";

/* --------------------------------------------------------------------------
  INPUT
-------------------------------------------------------------------------- */

@media all and (min-width: 820px), print {
  .l-block + .l-block {
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
  .l-section__inner{
    padding: 0;
  }
  .l-hero__block__image {
    max-width: calc(74 / var(--font-size) * 1rem);
    width: 100%;
  }
  .c-cushion{
    background-color: var(--color-bg-beige);
  }
  .form-intro__body {
    padding: calc(32 / var(--font-size) * 1rem)  calc(15 / var(--font-size) * 1rem);
  }
  .form-section-end {
    padding-bottom: calc(48 / var(--font-size) * 1rem);
    margin-top: calc(56 / var(--font-size) * 1rem);
  }
  .form-section-end__header{
    padding-inline: calc(15 / var(--font-size) * 1rem);
    margin-bottom: calc(32 / var(--font-size) * 1rem);
  }
  .form-section-end__header .c-attention-title__label{
    font-size: calc(var(--text-size-m) / var(--font-size) * 1rem);
    font-weight: 700;
  }
  .form-section-end__header .c-attention-title + .c-section-title{
    margin-top: calc(10 / var(--font-size) * 1rem);
  }

  .form-group__component {
    margin-top: calc(25 / var(--font-size) * 1rem);
  }

  .c-form-error{
    display: none;
  }
  .form-group.--error .c-form-error{
    display: block;
  }
  .form-group.--error .c-confirm-check__inner{
    background-color: #F9ECE5;
    padding:calc(9 / var(--font-size) * 1rem) calc(20 / var(--font-size) * 1rem);
    line-height: 1;
  }

  .question-flow{
    display: none;
  }
  .question-flow.is-visible{
    display: block;
  }
  .form-box{
    max-width: calc( ( 375 - 15 * 2 ) / var(--font-size) * 1rem);
    margin-inline: auto;
    margin-bottom: calc(24 / var(--font-size) * 1rem);
  }
  .form-box:has(.form-box-item--ng.is-visible){
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    margin-bottom: 0;
    border-radius: calc(23 / var(--font-size) * 1rem) calc(23 / var(--font-size) * 1rem) 0 0;
    max-width: initial;
    box-shadow: 0 calc(-4 / var(--font-size) * 1rem) calc(10 / var(--font-size) * 1rem) 0 rgba(203, 195, 172, 0.25);
  }
  .form-box:has(.form-box-item--ng.is-visible) .c-form-message{
    margin-top: 0;
  }
  .form-box-item{
    display: none;
  }
  .form-box-item--ok.is-visible{
    display: block;
  }
  .form-box-item--ng.is-visible{
    display: block;
  }

  .form-page{
    display: none;
  }
  .form-page.is-visible{
    display: block;
  }

  .form-capture-src{
    position: absolute;
    max-width: calc(345 / var(--font-size) * 1rem);
    left: -200vw;
  }
  .form-check-result{
    position: relative;
  }
  .form-check-result::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: -1;
  }
  .form-check-result-img__wrapper{
    position: relative;
  }
  .form-check-result-img__wrapper::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: calc(8 / var(--font-size) * 1rem);
    border: var(--color-blue) calc(1 / var(--font-size) * 1rem) solid;
    pointer-events: none;
  }
  .form-check-result-img__wrapper::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-bottom: calc(-18 / var(--font-size) * 1rem);
    transform: translateX(-50%);
    width: calc(48 / var(--font-size) * 1rem);
    height: calc(34 / var(--font-size) * 1rem);
    background-image: url(/site_norlevo/img/form/deco_ballon.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }
  .form-check-result-img{
    border-radius: calc(8 / var(--font-size) * 1rem);
    overflow: hidden;
  }
  .form-check-result-img::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-bottom: calc(18 / var(--font-size) * 1rem);
    transform: translateX(-50%);
    width: calc(48 / var(--font-size) * 1rem);
    height: calc(48 / var(--font-size) * 1rem);
    background-image: url(/site_norlevo/img/form/ico_save_sp.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }
  .is-device-sp .form-check-result-img::before{
    background-image: url(/site_norlevo/img/form/ico_save_sp.svg);
  }
  .is-device-pc .form-check-result-img::before{
    background-image: url(/site_norlevo/img/form/ico_save_pc.svg);
  }

  /* -----------------------------
    カレンダー
  ----------------------------- */
  .form-calender__component {
    display: flex;
    align-items: center;
    gap: calc(8 / var(--font-size) * 1rem);
    margin-top: calc(16 / var(--font-size) * 1rem);
  }
  .form-calender__component + .form-calender__component {
    margin-top: calc(10 / var(--font-size) * 1rem);
  }
  .form-calender__component__label {
    font-size: calc(var(--text-size-s) / var(--font-size) * 1rem);
    font-weight: 500;
    max-width: calc(34 / var(--font-size) * 1rem);
    width: 100%;
    flex-shrink: 0;
  }
  .form-calender__component__object {
    width: 100%;
  }
  .calender-text {
    letter-spacing: -0.04em;
  }
  .form-calender-result {
    text-align: right;
    margin-top: calc(10 / var(--font-size) * 1rem);
  }
  .flatpickr-current-month{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
  }
  .flatpickr-current-month .numInputWrapper{
    pointer-events: none;
  }
}

@media all and (max-width: 819px) {
  .l-block + .l-block {
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
  .l-section__inner{
    padding: 0;
  }
  .l-hero__block__image {
    max-width: calc(74 / var(--font-size) * 1rem);
    width: 100%;
    right:calc(15 / var(--font-size) * 1rem);
  }
  .c-cushion{
    background-color: var(--color-bg-beige);
  }
  .form-intro__body {
    padding: calc(32 / var(--font-size) * 1rem)  calc(15 / var(--font-size) * 1rem);
  }
  .form-section-end {
    padding-bottom: calc(48 / var(--font-size) * 1rem);
    margin-top: calc(56 / var(--font-size) * 1rem);
  }
  .form-section-end__header{
    padding-inline: calc(15 / var(--font-size) * 1rem);
    margin-bottom: calc(32 / var(--font-size) * 1rem);
  }
  .form-section-end__header .c-attention-title__label{
    font-size: calc(var(--text-size-m) / var(--font-size) * 1rem);
    font-weight: 700;
  }
  .form-section-end__header .c-attention-title + .c-section-title{
    margin-top: calc(10 / var(--font-size) * 1rem);
  }

  .form-group__component {
    margin-top: calc(25 / var(--font-size) * 1rem);
  }

  .c-form-error{
    display: none;
  }
  .form-group.--error .c-form-error{
    display: block;
  }
  .form-group.--error .c-confirm-check__inner{
    background-color: #F9ECE5;
    padding:calc(9 / var(--font-size) * 1rem) calc(20 / var(--font-size) * 1rem);
    line-height: 1;
  }

  .question-flow{
    display: none;
  }
  .question-flow.is-visible{
    display: block;
  }
  .form-box{
    margin-bottom: calc(24 / var(--font-size) * 1rem);
  }
  .form-box:has(.form-box-item--ng.is-visible){
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    margin-bottom: 0;
    border-radius: calc(23 / var(--font-size) * 1rem) calc(23 / var(--font-size) * 1rem) 0 0;
    box-shadow: 0 calc(-4 / var(--font-size) * 1rem) calc(10 / var(--font-size) * 1rem) 0 rgba(203, 195, 172, 0.25);
  }
  .form-box:has(.form-box-item--ng.is-visible) .c-form-message{
    margin-top: 0;
  }
  .form-box-item{
    display: none;
  }
  .form-box-item--ok.is-visible{
    display: block;
  }
  .form-box-item--ng.is-visible{
    display: block;
  }

  .form-page{
    display: none;
  }
  .form-page.is-visible{
    display: block;
  }

  .form-capture-src{
    position: absolute;
    max-width: calc(345 / var(--font-size) * 1rem);
    left: -200vw;
  }
  .form-check-result{
    position: relative;
  }
  .form-check-result::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: -1;
  }
  .form-check-result-img__wrapper{
    position: relative;
  }
  .form-check-result-img__wrapper::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: calc(8 / var(--font-size) * 1rem);
    border: var(--color-blue) calc(1 / var(--font-size) * 1rem) solid;
    pointer-events: none;
  }
  .form-check-result-img__wrapper::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-bottom: calc(-18 / var(--font-size) * 1rem);
    transform: translateX(-50%);
    width: calc(48 / var(--font-size) * 1rem);
    height: calc(34 / var(--font-size) * 1rem);
    background-image: url(/site_norlevo/img/form/deco_ballon.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }
  .form-check-result-img{
    border-radius: calc(8 / var(--font-size) * 1rem);
    overflow: hidden;
  }
  .form-check-result-img::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-bottom: calc(18 / var(--font-size) * 1rem);
    transform: translateX(-50%);
    width: calc(48 / var(--font-size) * 1rem);
    height: calc(48 / var(--font-size) * 1rem);
    background-image: url(/site_norlevo/img/form/ico_save_sp.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }
  .is-device-sp .form-check-result-img::before{
    background-image: url(/site_norlevo/img/form/ico_save_sp.svg);
  }
  .is-device-pc .form-check-result-img::before{
    background-image: url(/site_norlevo/img/form/ico_save_pc.svg);
  }

  /* -----------------------------
    カレンダー
  ----------------------------- */
  .form-calender__component {
    display: flex;
    align-items: center;
    gap: calc(8 / var(--font-size) * 1rem);
    margin-top: calc(16 / var(--font-size) * 1rem);
  }
  .form-calender__component + .form-calender__component {
    margin-top: calc(10 / var(--font-size) * 1rem);
  }
  .form-calender__component__label {
    font-size: calc(var(--text-size-s) / var(--font-size) * 1rem);
    font-weight: 500;
    max-width: calc(34 / var(--font-size) * 1rem);
    width: 100%;
    flex-shrink: 0;
  }
  .form-calender__component__object {
    width: 100%;
  }
  .calender-text {
    letter-spacing: -0.04em;
  }
  .form-calender-result {
    text-align: right;
    margin-top: calc(10 / var(--font-size) * 1rem);
  }
  .flatpickr-current-month{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
  }
  .flatpickr-current-month .numInputWrapper{
    pointer-events: none;
  }
}

/* --------------------------------------------------------------------------
  RESULT
-------------------------------------------------------------------------- */

@media all and (min-width: 820px), print {
  .form-intro__annotation{
    margin-top: calc(24 / var(--font-size) * 1rem);
    color: var(--color-btn-02);
  }
  .form-check-result-block + .form-check-result-block{
    margin-top: calc(48 / var(--font-size) * 1rem);
  }
  .form-check-result-text {
    margin-top: calc(32 / var(--font-size) * 1rem);
  }
  .form-check-result-text__obj {
    font-size: calc(18 / var(--font-size) * 1rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0;
  }
  .is-device-pc .is-shown--sp{
    display: none;
  }
  .is-device-sp .is-shown--pc{
    display: none;
  }
  /* -----------------------------
    チェック結果
  ----------------------------- */
  .form-check-result {
    background-color: var(--color-bg-blue);
    padding: calc(46 / var(--font-size) * 1rem) calc(16 / var(--font-size) * 1rem) calc(84 / var(--font-size) * 1rem);
    border-radius: 0;
  }
  .form-check-result__block{
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
  .form-check-result__block + .form-check-result__block{
    margin-top: calc(40 / var(--font-size) * 1rem);
  }
  .form-check-result-ico{
    margin-top: calc(32 / var(--font-size) * 1rem);
    width: calc(39 / var(--font-size) * 1rem);
    margin-inline: auto;
  }
  .form-check-result__title {
    font-size: calc(30 / var(--font-size) * 1rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-blue);
  }
  .form-check-result__copy {
    font-size: calc(20 / var(--font-size) * 1rem);
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-blue);
    margin-top: calc(20 / var(--font-size) * 1rem);
    text-align: center;
  }

  /* -----------------------------
    薬剤師の方へ
  ----------------------------- */
  .confirm-flow__body{
    background-color: var(--color-white);
    padding: calc(32 / var(--font-size) * 1rem) calc(24 / var(--font-size) * 1rem);
    margin-top: calc(30 / var(--font-size) * 1rem);
    border-radius: calc(20 / var(--font-size) * 1rem);
  }
  .confirm-flow__title {
    font-size: calc(26 / var(--font-size) * 1rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-blue);
  }
  .confirm-flow__copy {
    font-size: calc(16 / var(--font-size) * 1rem);
    line-height: 1.6;
    margin-top: calc(22 / var(--font-size) * 1rem);
    text-align: center;
  }
  .confirm-flow__image {
    max-width: calc(169 / var(--font-size) * 1rem);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .confirm-flow__text {
    margin-top: calc(24 / var(--font-size) * 1rem);
  }
  .confirm-flow__text__obj {
    font-size: calc(16 / var(--font-size) * 1rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.02em;
  }
  .confirm-flow__annotation{
    margin-top: calc(8 / var(--font-size) * 1rem);
  }

  /* -----------------------------
    あなたの入力内容
  ----------------------------- */
  .confirm-column {
    border: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
    border-bottom: none;
    overflow: hidden;
  }
  .confirm-column:first-of-type{
    border-radius: calc(8 / var(--font-size) * 1rem) calc(8 / var(--font-size) * 1rem) 0 0;
  }
  .confirm-column:last-of-type{
    border-radius: 0 0 calc(8 / var(--font-size) * 1rem) calc(8 / var(--font-size) * 1rem);
    border: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
  }
  .confirm-column__header {
    background-color: var(--color-bg-gray);
    padding: calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem);
    border-bottom: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
  }
  .confirm-column__header .c-circle-title__label {
    letter-spacing: 0em;
  }
  .confirm-column__component {
    background-color: var(--color-white);
    padding: calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem);
  }
  .confirm-column + .confirm-column {
  }
  /* -----------------------------
    ダウンロード
  ----------------------------- */
  .download-box {
    padding: calc(0 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem) calc(0 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem);
  }
  .download-box__text__obj {
    font-size: calc(14 / var(--font-size) * 1rem);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.01em;
  }
  .download-box__text__obj + .download-box__text__obj {
    margin-top: calc(10 / var(--font-size) * 1rem);
  }
  .download-box-button {
    max-width: calc(310 / var(--font-size) * 1rem);
    height: calc(72 / var(--font-size) * 1rem);
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
  .download-box-button .c-button__icon{
    background-image: url(/site_norlevo/img/common/ico_pdf_sp.svg);
    top: calc(25 / var(--font-size) * 1rem);
  }
  .download-box-button .c-button__label{
    text-indent: -0.5em;
  }
  .download-box__annotation{
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
}

@media all and (max-width: 819px) {
  .form-intro__annotation{
    margin-top: calc(24 / var(--font-size) * 1rem);
    color: var(--color-btn-02);
  }
  .form-check-result-block + .form-check-result-block{
    margin-top: calc(48 / var(--font-size) * 1rem);
  }
  .form-check-result-text {
    margin-top: calc(32 / var(--font-size) * 1rem);
  }
  .form-check-result-text__obj {
    font-size: calc(18 / var(--font-size) * 1rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0;
  }
  .is-device-pc .is-shown--sp{
    display: none;
  }
  .is-device-sp .is-shown--pc{
    display: none;
  }
  /* -----------------------------
    チェック結果
  ----------------------------- */
  .form-check-result {
    background-color: var(--color-bg-blue);
    padding: calc(46 / var(--font-size) * 1rem) calc(16 / var(--font-size) * 1rem) calc(84 / var(--font-size) * 1rem);
    border-radius: 0;
  }
  .form-check-result__block{
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
  .form-check-result__block + .form-check-result__block{
    margin-top: calc(40 / var(--font-size) * 1rem);
  }
  .form-check-result-ico{
    margin-top: calc(32 / var(--font-size) * 1rem);
    width: calc(39 / var(--font-size) * 1rem);
    margin-inline: auto;
  }
  .form-check-result__title {
    font-size: calc(30 / var(--font-size) * 1rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-blue);
  }
  .form-check-result__copy {
    font-size: calc(20 / var(--font-size) * 1rem);
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-blue);
    margin-top: calc(20 / var(--font-size) * 1rem);
    text-align: center;
  }

  /* -----------------------------
    薬剤師の方へ
  ----------------------------- */
  .confirm-flow__body{
    background-color: var(--color-white);
    padding: calc(32 / var(--font-size) * 1rem) calc(24 / var(--font-size) * 1rem);
    margin-top: calc(30 / var(--font-size) * 1rem);
    border-radius: calc(20 / var(--font-size) * 1rem);
  }
  .confirm-flow__title {
    font-size: calc(26 / var(--font-size) * 1rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-blue);
  }
  .confirm-flow__copy {
    font-size: calc(16 / var(--font-size) * 1rem);
    line-height: 1.6;
    margin-top: calc(22 / var(--font-size) * 1rem);
    text-align: center;
  }
  .confirm-flow__image {
    max-width: calc(169 / var(--font-size) * 1rem);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .confirm-flow__text {
    margin-top: calc(24 / var(--font-size) * 1rem);
  }
  .confirm-flow__text__obj {
    font-size: calc(16 / var(--font-size) * 1rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.02em;
  }
  .confirm-flow__annotation{
    margin-top: calc(8 / var(--font-size) * 1rem);
  }

  /* -----------------------------
    あなたの入力内容
  ----------------------------- */
  .confirm-column {
    border: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
    border-bottom: none;
    overflow: hidden;
  }
  .confirm-column:first-of-type{
    border-radius: calc(8 / var(--font-size) * 1rem) calc(8 / var(--font-size) * 1rem) 0 0;
  }
  .confirm-column:last-of-type{
    border-radius: 0 0 calc(8 / var(--font-size) * 1rem) calc(8 / var(--font-size) * 1rem);
    border: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
  }
  .confirm-column__header {
    background-color: var(--color-bg-gray);
    padding: calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem);
    border-bottom: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
  }
  .confirm-column__header .c-circle-title__label {
    letter-spacing: 0em;
  }
  .confirm-column__component {
    background-color: var(--color-white);
    padding: calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem);
  }
  .confirm-column + .confirm-column {
  }
  /* -----------------------------
    ダウンロード
  ----------------------------- */
  .download-box {
    padding: calc(0 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem) calc(0 / var(--font-size) * 1rem) calc(15 / var(--font-size) * 1rem);
  }
  .download-box__text__obj {
    font-size: calc(14 / var(--font-size) * 1rem);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.01em;
  }
  .download-box__text__obj + .download-box__text__obj {
    margin-top: calc(10 / var(--font-size) * 1rem);
  }
  .download-box-button {
    max-width: calc(310 / var(--font-size) * 1rem);
    height: calc(72 / var(--font-size) * 1rem);
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
  .download-box-button .c-button__icon{
    background-image: url(/site_norlevo/img/common/ico_pdf_sp.svg);
    top: calc(25 / var(--font-size) * 1rem);
  }
  .download-box-button .c-button__label{
    text-indent: -0.5em;
  }
  .download-box__annotation{
    margin-top: calc(20 / var(--font-size) * 1rem);
  }
}

@media all and (min-width: 768px), print {
  /* カスタムセレクトボックス */
  .custom-select {
    position: relative;
    width: 100%;
  }

  .custom-select__trigger {
    width: 100%;
    padding: calc(8 / var(--font-size) * 1rem) calc(32 / var(--font-size) * 1rem) calc(6 / var(--font-size) * 1rem) calc(16 / var(--font-size) * 1rem);
    border: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
    background-color: var(--color-white);
    font-size: calc(var(--text-size-s) / var(--font-size) * 1rem);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .custom-select__value {
    flex: 1;
  }

  .custom-select__arrow {
    position: absolute;
    right: calc(12 / var(--font-size) * 1rem);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: calc(5 / var(--font-size) * 1rem) solid transparent;
    border-right: calc(5 / var(--font-size) * 1rem) solid transparent;
    border-top: calc(6 / var(--font-size) * 1rem) solid var(--color-gray);
    transition: transform 0.3s;
  }

  .custom-select__trigger[aria-expanded="true"] .custom-select__arrow {
    transform: translateY(-50%) rotate(180deg);
  }

  /* ドロップダウン */
  .custom-select__dropdown {
    position: absolute;
    top: calc(100% + 4 / var(--font-size) * 1rem);
    left: 0;
    width: 100%;
    max-height: calc(240 / var(--font-size) * 1rem);
    background-color: var(--color-white);
    box-shadow: 0 calc(4 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem) rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-10 / var(--font-size) * 1rem));
    transition: all 0.3s;
    z-index: 1000;
  }

  .custom-select__trigger[aria-expanded="true"] + .custom-select__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .custom-select__options {
    max-height: calc(240 / var(--font-size) * 1rem);
    overflow-y: auto;
    padding: calc(4 / var(--font-size) * 1rem) 0;
  }

  .custom-select__option {
    padding: calc(10 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem);
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: calc(var(--text-size-m) / var(--font-size) * 1rem);
    color: var(--color-black);
  }

  .custom-select__option:hover {
    background-color: var(--color-bg-beige);
  }

  .custom-select__option.is-selected {
    background-color: var(--color-orange);
    color: var(--color-white);
    font-weight: 600;
  }

  .custom-select__option.is-disabled {
    color: var(--color-border);
    cursor: not-allowed;
    pointer-events: none;
  }

  /* ハイライト状態（キーボード操作時） */
  .custom-select__option.is-highlighted {
    background-color: var(--color-bg-blue);
    outline-offset: calc(-4 / var(--font-size) * 1rem);
  }

  /* 選択済み＋ハイライト */
  .custom-select__option.is-selected.is-highlighted {
    background-color: var(--color-orange);  
    outline-color: rgb(0, 95, 204);
  }

  /* 時刻セパレーター */
  .time-separator {
    font-size: calc(var(--text-size-xl) / var(--font-size) * 1rem);
    color: var(--color-black);
  }

  /* 無効状態 */
  .custom-select.is-disabled .custom-select__trigger {
    background-color: var(--color-bg-gray);
    color: var(--color-gray);
    cursor: not-allowed;
    border-color: var(--color-border);
  }

  .custom-select.is-disabled .custom-select__arrow {
    border-top-color: var(--color-gray);
  }

  /* ネイティブスクロールバーを非表示 */
  .custom-select__options {
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* iOS用スムーズスクロール */
  }

  .custom-select__options::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
  }

  /* SimpleBar適用時の設定 */
  .custom-select__options.simplebar-scrollable-y {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .custom-select__options.simplebar-scrollable-y::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  /* SimpleBarのコンテンツラッパー */
  .simplebar-content-wrapper {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .simplebar-content-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* SimpleBarのスクロールバー表示設定 */
  .simplebar-track {
    background: transparent;
  }

  .simplebar-scrollbar::before {
    background: var(--color-gray);
    opacity: 1;
  }

  /* iOS Safari用の追加設定 */
  .simplebar-content {
    -webkit-overflow-scrolling: touch;
  }

  /* SimpleBarが非アクティブな場合も非表示を維持 */
  .simplebar-hide-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

@media all and (max-width: 767px) {
  /* カスタムセレクトボックス */
  .custom-select {
    position: relative;
    width: 100%;
  }

  .custom-select__trigger {
    width: 100%;
    padding: calc(8 / var(--font-size) * 1rem) calc(32 / var(--font-size) * 1rem) calc(6 / var(--font-size) * 1rem) calc(16 / var(--font-size) * 1rem);
    border: calc(2 / var(--font-size) * 1rem) solid var(--color-border);
    background-color: var(--color-white);
    font-size: calc(var(--text-size-s) / var(--font-size) * 1rem);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .custom-select__value {
    flex: 1;
  }

  .custom-select__arrow {
    position: absolute;
    right: calc(10 / var(--font-size) * 1rem);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: calc(4 / var(--font-size) * 1rem) solid transparent;
    border-right: calc(4 / var(--font-size) * 1rem) solid transparent;
    border-top: calc(5 / var(--font-size) * 1rem) solid var(--color-gray);
    transition: transform 0.3s;
  }

  .custom-select__trigger[aria-expanded="true"] .custom-select__arrow {
    transform: translateY(-50%) rotate(180deg);
  }

  /* ドロップダウン */
  .custom-select__dropdown {
    position: absolute;
    top: calc(100% + 4 / var(--font-size) * 1rem);
    left: 0;
    width: 100%;
    max-height: calc(240 / var(--font-size) * 1rem);
    background-color: var(--color-white);
    box-shadow: 0 calc(4 / var(--font-size) * 1rem) calc(12 / var(--font-size) * 1rem) rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-10 / var(--font-size) * 1rem));
    transition: all 0.3s;
    z-index: 1000;
  }

  .custom-select__trigger[aria-expanded="true"] + .custom-select__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .custom-select__options {
    max-height: calc(240 / var(--font-size) * 1rem);
    overflow-y: auto;
    padding: calc(4 / var(--font-size) * 1rem) 0;
  }

  .custom-select__option {
    padding: calc(12 / var(--font-size) * 1rem) calc(10 / var(--font-size) * 1rem);
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: calc(var(--text-size-m) / var(--font-size) * 1rem);
    color: var(--color-black);
  }

  .custom-select__option:hover {
    background-color: var(--color-bg-beige);
  }

  .custom-select__option.is-selected {
    background-color: var(--color-orange);
    color: var(--color-white);
    font-weight: 600;
  }

  .custom-select__option.is-disabled {
    color: var(--color-border);
    cursor: not-allowed;
    pointer-events: none;
  }

  /* ハイライト状態（キーボード操作時） */
  .custom-select__option.is-highlighted {
    background-color: var(--color-bg-blue);
    outline-offset: calc(-2 / var(--font-size) * 1rem);
  }

  /* 選択済み＋ハイライト */
  .custom-select__option.is-selected.is-highlighted {
    background-color: var(--color-orange);
    outline-color: rgb(0, 95, 204);
  }
  
  /* 時刻セパレーター */
  .time-separator {
    font-size: calc(var(--text-size-xl) / var(--font-size) * 1rem);
    color: var(--color-black);
  }

  /* 無効状態 */
  .custom-select.is-disabled .custom-select__trigger {
    background-color: var(--color-bg-gray);
    color: var(--color-gray);
    cursor: not-allowed;
    border-color: var(--color-border);
  }

  .custom-select.is-disabled .custom-select__arrow {
    border-top-color: var(--color-gray);
  }

  /* ネイティブスクロールバーを非表示 */
  .custom-select__options {
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* iOS用スムーズスクロール */
  }

  .custom-select__options::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
  }

  /* SimpleBar適用時の設定 */
  .custom-select__options.simplebar-scrollable-y {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .custom-select__options.simplebar-scrollable-y::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  /* SimpleBarのコンテンツラッパー */
  .simplebar-content-wrapper {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .simplebar-content-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* SimpleBarのスクロールバー表示設定 */
  .simplebar-track {
    background: transparent;
  }

  .simplebar-scrollbar::before {
    background: var(--color-gray);
    opacity: 1;
  }

  /* iOS Safari用の追加設定 */
  .simplebar-content {
    -webkit-overflow-scrolling: touch;
  }

  /* SimpleBarが非アクティブな場合も非表示を維持 */
  .simplebar-hide-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

.js-form-modal-container,
.js-leave-modal-container,
.js-announcement-modal-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: -19999;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.is-modal-opened .js-form-modal-container.is-modal-shown,
.is-modal-opened .js-leave-modal-container.is-modal-shown,
.is-modal-opened .js-announcement-modal-container.is-modal-shown {
  z-index: 19999;
}
.js-form-modal,
.js-leave-modal,
.js-announcement-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  visibility: hidden;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transition-duration: 1s;
  transition-property: visibility;
}
.js-form-modal.is-modal-active,
.js-leave-modal.is-modal-active,
.js-announcement-modal.is-modal-active {
  visibility: visible;
}
.js-form-modal-bg,
.js-leave-modal-bg,
.js-announcement-modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition-delay: 0.25s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transition-duration: 0.75s;
  transition-property: opacity;
  will-change: opacity;
}
.is-modal-active .js-form-modal-bg,
.is-modal-active .js-leave-modal-bg,
.is-modal-active .js-announcement-modal-bg {
  z-index: 1;
  opacity: 1;
  transition-delay: 0s;
}
.js-form-modal-main,
.js-leave-modal-main,
.js-announcement-modal-main {
  display: none;
}
.js-form-modal-main.is-modal-active,
.js-leave-modal-main.is-modal-active,
.js-announcement-modal-main.is-modal-active {
  display: block;
}
.js-form-modal-body,
.js-leave-modal-body,
.js-announcement-modal-body {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  opacity: 0;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transition-duration: 0.9s;
  transition-property: opacity;
}
.is-modal-active .js-form-modal-body,
.is-modal-active .js-leave-modal-body,
.is-modal-active .js-announcement-modal-body {
  opacity: 1;
  transition-delay: 0.1s;
}
.js-form-modal-scroll,
.js-leave-modal-scroll,
.js-announcement-modal-scroll {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}