@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背景に壁紙を設置 / 2025.01設定
-------------------------------------------------------- */
#header {
    background-color: #fff;
    background-image:
        url(images/header-wall_r.png),
        url(images/header-wall_l.png);
    background-repeat: 
        no-repeat,
        no-repeat;
    background-position: 
        right bottom,
        left bottom;
    background-size:
        contain,
        contain;
}
@media (max-width:600px) {
    #header {
        background-image: url(images/header-wall_l.png) no-repeat left bottom;
        background-size: cover;
    }
    #header > div {
        position: relative;
    }
    #header > div:after {
        content: "";
        position: absolute;
        z-index: -1;
        right: 0;
        bottom: 0;
        display: block;
        width: 30%;
        height: 100%;
        background: url(images/header-wall_r.png) no-repeat left center / cover;
    }
}


/* --------------------------------------------------------
言語プラグイン「Bogo」PC用 言語スイッチャーボタン実装 / 2025.02設定
-------------------------------------------------------- */
@media print, screen and (min-width: 960px) { /* PC用 */
    /* 言語リストのデフォルトは非表示 */
    .w-header.pc .bogo-language-switcher {
        display: none;
        position: absolute;
        background: #FFFFFF;
        border: 1px solid #DDDDDD;
        padding: 0;
        list-style: none;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        width: auto;
        left: 0;
        border-radius: 0 0 5px 5px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    /* スイッチャーボタン */
    .language-toggle {
        position: relative;
        width: 6.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5em 0.75em;
        color: #FFFFFF;
        background-color: #C97586;
        cursor: pointer;
        border-radius: 5px;
        user-select: none;
        text-align: center;
        font-size: 0.8rem;
        transition: .3s;
    }
    .language-toggle:hover {
        background-color: #DFABB5;
        transition: .3s;
    }
    .language-toggle::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 1px solid #FFFFFF;
        border-bottom: 1px solid #FFFFFF;
        transform: rotate(45deg);
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    /* ボタン展開時 */
    .w-header__inner.active .language-toggle {
        border-radius: 5px 5px 0 0;
    }
    .w-header__inner.active .language-toggle::after {
        transform: rotate(-135deg);
    }
    /* 言語リストのアイテム */
    .w-header__inner.active .bogo-language-switcher {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        width: 6.5rem !important;
        display: flex;
        flex-direction: column;
        border-radius: 0 0 5px 5px;
        background: #FFFFFF;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    .bogo-language-switcher li {
        padding: 0.25em 0.5em !important;
        cursor: pointer;
        font-size: 0.85rem;
        text-align: center;
        background: transparent;
    }
    .bogoflags {
        display: none !important;
    }
    .bogo-language-switcher .ja {
        order: 1;
    }
    .bogo-language-switcher .en-US {
        order: 2;
    }
    .bogo-language-switcher .zh-CN {
        order: 3;
    }
    .bogo-language-switcher .ko-KR {
        order: 4;
    }
    .bogo-language-switcher li {
        border-bottom: 1px solid #EEE;
    }
    .bogo-language-switcher li:hover {
        background: #f0f0f0;
    }
    /* ボタン配置 */
    .w-header__inner {
        position: relative;
        display: inline-block;
        width: 6.5rem;
        text-align: center;
    }
}

@media (max-width:959px) { /* タブレット・SP用 */
    .bogo-language-switcher {
        display: flex !important;
        flex-direction: row;
    }
    .bogo-language-switcher li {
        margin: 0 .5em;
    }
    .bogoflags {
        display: none;
    }
    .bogo-language-switcher .ja {
        order: 1;
    }
    .bogo-language-switcher .en-US {
        order: 2;
    }
    .bogo-language-switcher .zh-CN {
        order: 3;
    }
    .bogo-language-switcher .ko-KR {
        order: 4;
    }
}