
@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ===================================
   Header Message (#header_message)
   =================================== */
#header_message {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 50px;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #e25858;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 2000;
}

#header_message .label {
    display: block;
    color: inherit;
    line-height: 1.4;
    padding: 0 20px;
}

@media screen and (max-width: 1221px) {
    #header_message {
        padding: 10px 0;
        z-index: 2000;
    }
}


/* ===================================
   Header (#header)
   =================================== */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 100;
}

@media screen and (max-width: 1221px) {
    #header {
        height: 60px;
        display: block;
    }
}


/* ===================================
   Header Logo (#header_logo2)
   =================================== */
#header_logo2 {
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    z-index: 200;
}

#header_logo2 a {
    height: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#header_logo2 .text_image {
    padding: 0 30px;
    height: 80px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#header_logo2 img {
    display: block;
    transition: opacity .3s ease-in-out;
    max-height: 40px;
    width: auto;
}

#header_logo2 img.mobile {
    display: none;
}

@media screen and (max-width: 1221px) {
    #header_logo2 a {
        height: 60px;
    }

    #header_logo2 .text_image {
        padding: 0 20px;
        height: 60px;
    }
    #header_logo2 .text_image img {
        transform: scale(.8);
        transform-origin: left;
    }
}
@media screen and (max-width: 1221px) {
    @media screen and (max-width: 800px) {
        #header_logo2 img.mobile {
            display: block;
            transform: scale(1);
        }
    }
}
@media screen and (max-width: 1221px) {
    @media screen and (max-width: 800px) {
        #header_logo2 img.pc {
            display: none;
        }
    }
}

/* ===================================
   Global Menu (#global_menu)
   =================================== */
#global_menu {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    z-index: 1;
}

#global_menu>ul {
    position: relative;
    text-align: center;
    font-size: 0;
}

@media screen and (max-width: 1221px) {
    #header #global_menu {
        display: none;
    }
}
#global_menu>ul>li {
    display: inline-block;
    position: relative;
    line-height: 1;
    text-align: center;
    font-size: 16px;
}
#global_menu>ul>li>a {
    color: #000;
    text-decoration: none;
    height: 80px;
    line-height: 80px;
    padding: 0 19px;
    display: block;
    position: relative;
    overflow: hidden;
}
#global_menu ul ul {
    background: #f3f3f3;
    display: none;
    width: 250px;
    position: absolute;
    top: 80px;
    margin: 0;
    padding: 0;
    z-index: 100;
}
#global_menu ul ul li {
    line-height: 1.5;
    font-size: 14px;
    padding: 0;
    margin: 0;
    text-align: left;
    position: relative;
    display: block;
}
#global_menu ul ul a {
    color: #000;
    display: block;
    position: relative;
    padding: 15px 20px 13px;
    height: auto;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   Drawer Menu Button (#drawer_menu_button)
   =================================== */
#drawer_menu_button {
    display: none;
}

@media screen and (max-width: 1221px) {
    #drawer_menu_button {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 60px;
        height: 60px;
        line-height: 60px;
        display: inline-block;
        text-decoration: none;
        text-align: center;
        transition: opacity 1.4s ease .5s;
        z-index: 10000;
        font-size: 11px;
    }

   #drawer_menu_button {
        opacity: 0;
    }

    #drawer_menu_button.animate {
        opacity: 1;
    }
    #drawer_menu_button span {
        left: 19px;
    }
        #drawer_menu_button span {
        width: 22px;
        height: 2px;
        background: #000;
        display: block;
        position: absolute;
        left: 28px;
        -webkit-transition-property: background-color;
        -webkit-transition-duration: .2s;
        -webkit-transition-timing-function: 
ease;
        transition-property: background-color;
        transition-duration: .2s;
        transition-timing-function: 
ease;
        -webkit-transition: all .3s 
ease;
        transition: all .3s 
ease;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_menu_button span:nth-child(1) {
        top: 24px;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_menu_button span:nth-child(2) {
        top: 30px;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_menu_button span:nth-child(3) {
        top: 36px;
    }
}


/* ===================================
   Body & Base Layout
   =================================== */
#header_logo2.animate {
    opacity: 1;
}

#header_logo2 {
    opacity: 0;
    transition: opacity 1.4s ease .5s;
}

@media screen and (min-width: 801px) {
    #header_logo2 {
        display: block;
    }
}

@media screen and (max-width: 1221px) {
    #header_logo2 {
        display: block;
    }
}

@media screen and (max-width: 800px) {
    #header {
        background: 0 0;
    }
}
@media screen and (min-width: 801px) {
    #header_logo2 {
        display: block;
    }
}



#footer {
    border-top: 1px solid #ddd;
}

#footer_top {
    display: flex;
    flex-wrap: wrap;
}

#footer_address {
    text-align: center;
    font-size: 14px;
    line-height: 2;
    border-top: 1px solid #ddd;
    padding: 15px;
}

#copyright {
    border-top: 1px solid #ddd;
    height: 60px;
    line-height: 60px;
    position: relative;
    text-align: center;
    font-size: 12px;
}

@media screen and (max-width: 1100px) {
    #footer_address {
        padding: 35px 15px 32px;
    }
}

@media screen and (max-width: 800px) {
    #footer_top {
        display: block;
        margin-bottom: -1px;
        position: relative;
    }

    #footer_top .footer_menu {
        display: none;
    }

    #copyright {
        height: 50px;
        line-height: 50px;
    }
}
#footer_top>div:first-of-type {
    border-left: none;
}
#footer_top .footer_menu_mobile {
    display: none;
}
#footer_top>div {
    flex: 1 1 0%;
    border-left: 1px solid #ddd;
    padding: 60px;
}
.footer_menu li {
    margin: 0 0 30px;
    font-size: 14px;
}
.footer_menu li a {
    display: block;
}
.footer_menu li a:hover {
    color: rgba(0, 0, 0, .5) !important;
}
.menu-item a {
    text-decoration: none !important;
}

.admin-bar #drawer_menu {
        padding-top: 32px;
    }

@media screen and (max-width: 1221px) {
    .open_menu #drawer_menu {
        opacity: 1;
        pointer-events: auto;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        overflow: auto;
        z-index: 10000;
        opacity: 0;
        transition: opacity .7s 
ease;
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
    }
}

.simplebar-height-auto-observer-wrapper {
    box-sizing: inherit !important;
    height: 100%;
    width: 100%;
    max-width: 1px;
    position: relative;
    float: left;
    max-height: 1px;
    overflow: hidden;
    z-index: -1;
    padding: 0;
    margin: 0;
    pointer-events: none;
    flex-grow: inherit;
    flex-shrink: 0;
    flex-basis: 0;
}
.simplebar-height-auto-observer {
    box-sizing: inherit;
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 1000%;
    width: 1000%;
    min-height: 1px;
    min-width: 1px;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}
.simplebar-mask {
    direction: inherit;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
    z-index: 0;
}
.simplebar-offset {
    direction: inherit !important;
    box-sizing: inherit !important;
    resize: none !important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}
.simplebar-content-wrapper {
    direction: inherit;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    visibility: visible;
    overflow: auto;
    max-width: 100%;
    max-height: 100%;
}
.simplebar-content:before, .simplebar-content:after {
    content: ' ';
    display: table;
}
*, *:before, *:after {
    box-sizing: border-box;
}
@media screen and (max-width: 1221px) {
    #drawer_logo a {
        display: flex
;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        height: 60px;
        position: absolute;
        left: 20px;
        top: 0;
        z-index: 100;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_logo .text_image {
        padding: 0;
        height: 60px;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_logo .text_image img.pc {
        display: none;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_logo .text_image img {
        transform: scale(.8);
        transform-origin: left;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_logo img {
        display: block;
        transition: opacity .3s 
ease-in-out;
        max-height: 30px;
        width: auto;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_logo .text_image img.mobile {
        transform: scale(1);
        transform-origin: left;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_menu .close_button_area {
        position: relative;
        width: 100%;
        height: 60px;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_menu .close_button {
        cursor: pointer;
        display: block;
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
    }
}
#drawer_menu .close_button:before {
        color: #000;
        font-family: 'design_plus';
        content: '\e91a';
        font-size: 20px;
        display: block;
        top: 21px;
        left: 19px;
        position: absolute;
        -webkit-transition: all .2s 
ease;
        transition: all .2s 
ease;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    *, *:before, *:after {
    box-sizing: border-box;
}
/* ▼ フォント依存なしで × を描画（位置/サイズ/トランジションは元のまま） */
#drawer_menu .close_button:before{
  /* 位置・挙動はそのまま */
  position: absolute;
  top: 21px;
  left: 19px;
  display: block;
  transition: all .2s ease;

  /* マークだけ置き換え */
  content: "";                    /* ← 文字アイコンをやめる */
  width: 20px;                    /* 元の font-size:20px 相当の箱を作る */
  height: 20px;
  color: #000;                    /* 線色（親の color に追従させるなら currentColor を使う） */

  /* 2本の対角線を背景で描画 */
  background:
    linear-gradient(45deg,
      transparent calc(50% - 1px),
      currentColor calc(50% - 1px) calc(50% + 1px),
      transparent calc(50% + 1px)
    ),
    linear-gradient(-45deg,
      transparent calc(50% - 1px),
      currentColor calc(50% - 1px) calc(50% + 1px),
      transparent calc(50% + 1px)
    );

  /* 見た目を崩さないため残してOK（任意） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 既存の指定を無効化（同一セレクタで上書き）
   ※もし下記プロパティが残っていたら “不要化” しておくと安全 */
#drawer_menu .close_button:before{
  font-family: initial !important;   /* 元の 'design_plus' を打ち消し */
}

@media screen and (max-width: 1221px) {
    #drawer_icon_button {
        display: flex
;
        flex-wrap: wrap;
        position: relative;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button:before {
        content: '';
        width: 1px;
        height: 100%;
        display: block;
        background: #ddd;
        position: absolute;
        top: 0;
        left: 50%;
        z-index: -1;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item.long {
        width: 100%;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item {
        width: 50%;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item.long a {
        background: #fff !important;
        border-color: #ddd !important;
        color: #000;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu li li a {
        opacity: 0;
    }
}
#side_icon_button a, #footer_icon_banner a:before, .icon_button .google_icon, #footer_sns.color_type1 li a:before, #bread_crumb, #bread_crumb li.last, #related_post .headline, .news_category_button li.current a, .schedule_content table, #comments .headline, .splide__arrow:before, #treatment_list .header .catch, #page_contents .content_header .common_catch, #post_pagination p, #global_menu>ul>li.current-menu-item>a, .megamenu_a .category_list li.active a, #global_menu>ul>li.active_megamenu_button>a, .faq_list .title.active, .page_navi span.current, #drawer_icon_button a, #drawer_icon_button a:before, #drawer_icon_button .item.long a, .doctor_meta .item.name a:hover {
    color: #86ba71;
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item a {
        font-size: 14px;
        display: block;
        width: 100%;
        height: 50px;
        display: flex
;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #ddd;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button a:before {
        margin: 0 8px 0 0;
    }
}

.icon_button a:before {
    display: block;
    font-family: "footer_bar";
    font-size: 20px;
    margin: 0 0 8px;
    transition: opacity .2s 
ease;
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item a {
        font-size: 14px;
        display: block;
        width: 100%;
        height: 50px;
        display: flex
;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #ddd;
    }
}


@media screen and (max-width: 1221px) {
    #drawer_icon_button .item {
        width: 50%;
    }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item a {
        font-size: 14px;
        display: block;
        width: 100%;
        height: 50px;
        display: flex
;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #ddd;
    }
}

@media screen and (max-width: 1221px) {
    #mobile_menu {
        width: 100%;
        margin: -1px 0 0;
        border-top: 1px solid #ddd;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu ul {
        margin: 0;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu li {
        position: relative;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu .child_menu_button {
        display: block;
        position: absolute;
        text-align: center;
        width: 50px;
        height: 50px;
        right: 0;
        top: -5px;
        z-index: 9;
        cursor: pointer;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu .child_menu_button:before {
        background: #000;
        content: '';
        height: 12px;
        width: 2px;
        display: block;
        position: absolute;
        right: 30px;
        top: 25px;
        transition: background-color .25s 
ease;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu .child_menu_button:after {
        background: #000;
        content: '';
        height: 2px;
        width: 12px;
        display: block;
        position: absolute;
        right: 25px;
        top: 30px;
        transition: background-color .25s 
ease;
    }
}

@media screen and (max-width: 1221px) {
    #mobile_menu li ul {
        background: #222;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu li ul {
        display: none;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu ul {
        margin: 0;
    }
}
#archive_blog, .breadcrumb_type2 #bread_crumb, .cb_carousel, .cb_free_space:before, #treatment_list, #mobile_menu li li a, #mobile_menu li ul, body.single-post #main_content, #page_contents .color_bg_content:before, .cb_two_column {
    background-color: #f4f1ef;
}

@media screen and (max-width: 1221px) {
    #mobile_menu li li a {
        border: none;
        height: 50px;
        line-height: 50px;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu a {
        position: relative;
        display: block;
        margin: 0;
        padding: 0 50px 0 20px;
        height: 50px;
        line-height: 50px;
        overflow: hidden;
        text-decoration: none;
        color: #000;
        font-size: 14px;
        border-bottom: 1px solid #ddd;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        visibility: visible;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu li {
        position: relative;
    }
}
.simplebar-content:before, .simplebar-content:after {
    content: ' ';
    display: table;
}
.simplebar-placeholder {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    pointer-events: none;
}
.simplebar-track.simplebar-horizontal {
    left: 0;
    height: 11px;
}
.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}
.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
    right: auto;
    left: 0;
    top: 2px;
    height: 7px;
    min-height: 0;
    min-width: 10px;
    width: auto;
}
.simplebar-track.simplebar-vertical {
    top: 0;
    width: 11px;
}
.simplebar-scrollbar {
    position: absolute;
    right: 2px;
    width: 7px;
    min-height: 10px;
}
/* PCではドロワーを完全に隠す（これだけで壊れなくなる） */
@media (min-width:1221px){
  #drawer_menu{ display:none !important; }
}
@media screen and (max-width: 1221px) {
    #drawer_icon_button .item.long br {
        display: none;
    }
}
@media screen and (max-width: 1221px) {
    #mobile_menu li li.animate a {
        opacity: 1;
        transition: opacity .25s 
ease;
    }
}

@media screen and (max-width: 1221px) {
    #mobile_menu li.open>a {
        border-bottom: none;
    }
}


/* ドロワー内のリンクの下線を消す（フッター同様） */
@media (max-width:1221px){
  /* 4つのアイコンリンク & その上の「24時間予約…」も含めて */
  #drawer_icon_button a{
    text-decoration: none !important;
  }
  #drawer_icon_button a:hover,
  #drawer_icon_button a:focus,
  #drawer_icon_button a:active{
    text-decoration: none !important;
  }

  /* ドロワー内のメニュー側（必要なら有効化）
  #drawer_menu #mobile_menu a{
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
  }
  #drawer_menu #mobile_menu a:hover,
  #drawer_menu #mobile_menu a:focus{
    text-decoration: none !important;
    border-bottom: none !important;
  }
  */
}
/* ===== Footer の箇条書きの点を消して、左インデントもゼロに ===== */
#footer ul,
#footer ol{
  list-style: none !important;   /* マーカーを無効化 */
  margin-left: 0 !important;
  padding-left: 0 !important;    /* ← 左の余白をなくす（ズラす） */
}

/* li 自体の余白＆擬似マーカーをリセット（テーマ依存装飾も消す） */
#footer li{
  margin-left: 0 !important;
  padding-left: 0 !important;
  background: none !important;   /* 背景画像で点を出している場合の対策 */
}
#footer li::before,
#footer li::after,
#footer li::marker{
  content: none !important;      /* ::before で点を出しているテーマの対策 */
}

/* フッターの専用クラスがある場合の強制上書き（あれば併用） */
#footer_top .footer_menu,
#footer_top .footer_menu ul,
#footer_top .footer_menu ol{
  list-style: none !important;
  margin-left: 0 !important;
}
#footer_top .footer_menu li{
  padding-left: 0 !important;
  background: none !important;
}
#footer_top .footer_menu{
  /* 左に寄りすぎを防ぐための左右パディングだけ足す */
  padding: 60px 30px;            /* 上下 24 / 左右 20（お好みで 16〜28に調整OK） */
  box-sizing: border-box;
}

/* ドロワー右上の × ボタン */
#drawer_menu .close_button{
  position:absolute; top:12px; right:12px;
  width:40px; height:40px;               /* タップ面積 */
  display:inline-block; color:#333;      /* 色は文字色に追従させたいなら currentColor でもOK */
}

/* 2本の線で × を描く */
#drawer_menu .close_button::before,
#drawer_menu .close_button::after{
  content:"";
  position:absolute; left:50%; top:50%;
  width:22px; height:2px;                /* 線の長さ/太さ */
  background: currentColor;
  border-radius:1px;
  transform-origin:center;
}
#drawer_menu .close_button::before{ transform:translate(-50%,-50%) rotate(45deg);  }
#drawer_menu .close_button::after { transform:translate(-50%,-50%) rotate(-45deg); }

/* 見た目調整（任意） */
#drawer_menu .close_button:hover {
  opacity: .8;
}

/* --- ヘッダーメニュー ホバー色の設定 (メディアクエリ版) --- */

/* ▼ PC用 (1221px以上) ▼ */
/* JSの .pc クラスの代わりに、メディアクエリで幅を指定します */
@media screen and (min-width: 1221px) {

  /* PC：トップレベルのメニュー項目 ホバー */
  #header #global_menu > ul > li > a:hover {
    color: #5e9249 !important;
  }

  /* PC：サブメニューの項目 ホバー */
  #global_menu .sub-menu li a:hover {
    color: #5e9249 !important;
  }
}
/* ▲ PC用 (ここまで) ▲ */


/* ▼ モバイル用 (1220px以下) ▼ */
/* JSの .mobile クラスの代わりに、メディアクエリで幅を指定します */
@media screen and (max-width: 1220px) {

  /* モバイルメニューの項目（親・子含む） ホバー */
  /* (これは元々 #mobile_menu IDを見ているので .mobile クラスは不要です) */
  #mobile_menu > ul > li > a:hover,
  #mobile_menu .sub-menu li a:hover {
    color: #5e9249;
  }

  /* モバイル：開いているアコーディオンの親項目の文字色 */
  /* .mobile クラスをセレクタから削除 */
  #global_menu .menu-item-has-children.open > a,
  #global_menu .menu-item-has-children.open > .child_menu_button {
    color: #5e9249;
  }
}
/* ▲ モバイル用 (ここまで) ▲ */
/*
 * スマホ用メニュー(#mobile_menu)が開いた時（.open が付いた時）、
 * ::before（＋）を強制的に非表示にする
 */
.mobile #mobile_menu .menu-item-has-children.open .child_menu_button::before {
  display: none !important;
}
/*
 * サブメニュー項目（お知らせ、はじめての方へ など）を
 * 順番にフワッと表示するアニメーション
 * ---------------------------------------------------- */

/* 1. デフォルト状態（閉じている時）のサブメニュー項目を透明にする */
.mobile #mobile_menu .sub-menu li {
  opacity: 0; /* 透明にする */
  transform: translateY(5px); /* （お好みで）少し下にずらす */
  
  /* アニメーションの準備（0.3秒かけて変化させる） */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 2. 開いた状態（.open が付いた時）のサブメニュー項目を不透明にする */
.mobile #mobile_menu .menu-item-has-children.open .sub-menu li {
  opacity: 1; /* 不透明にする */
  transform: translateY(0); /* 元の位置に戻す */
}

/* 3. 順番に表示するための「遅延（delay）」を開いた時だけ設定 */
.mobile #mobile_menu .menu-item-has-children.open .sub-menu li:nth-child(1) {
  transition-delay: 0.1s; /* 1番目（お知らせ）は0.1秒後 */
}
.mobile #mobile_menu .menu-item-has-children.open .sub-menu li:nth-child(2) {
  transition-delay: 0.2s; /* 2番目（はじめての方へ）は0.2秒後 */
}
.mobile #mobile_menu .menu-item-has-children.open .sub-menu li:nth-child(3) {
  transition-delay: 0.3s; /* 3番目は0.3秒後 */
}
.mobile #mobile_menu .menu-item-has-children.open .sub-menu li:nth-child(4) {
  transition-delay: 0.4s; /* 4番目は0.4秒後 */
}
/* (サブメニューの項目数に合わせて、必要なだけ .li:nth-child(N) を追加してください) */
.l-mainContent__inner {
  margin-top: 60px;
}
/*
 * 【修正版】画面幅が375px以下の時（特に小さいスマホ）に適用
 */
/*
 * 【修正版】画面幅が375px以下の時（特に小さいスマホ）に適用
 */
@media screen and (max-width: 405px) {

  /* バー本体の左右の余白を、前回よりさらに狭くします */
  #header_message {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* 中のリンクのスタイルを調整 */
  #header_message  {
    
    /* 1. フォントサイズをさらに小さくし、!importantで強制適用 */
    font-size: 11px !important; 
    
    /* 2. 行の高さをフォントに合わせて少し詰める */
    line-height: 1.3 !important; 
    
    /* 3. 折り返し設定（これは変更なし） */
    white-space: normal; 
    word-wrap: break-word; 
  }
}
/* コンテンツエリアの上部のパディング（余白）を増やす */
#content.l-content.l-container {
  padding-top: 90px; /* ← この数値を希望の値に変更してください（例: 80px, 120pxなど） */
}