@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
/*
    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
*/

/**
 * カスタムフォント定義
*/
body {
  font-family: 'Noto Sans JP', 'Noto Sans CJfooter__navbar-containerK JP', sans-serif !important;
    font-weight: 500;
}

@font-face {
    font-family: 'brass-icon';
    src: url('./font/brass-icon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'brass-icon02';
    src: url('./font/brass-icon02.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* アイコンフォント用のクラス */
.brass-icon {
    font-family: 'brass-icon', sans-serif !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.brass-icon2 {
    font-family: 'brass-icon02', sans-serif !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* アイコンコード \e906 用のクラス */
.brass-icon-e906:before {
    content: "\e906";
}


.brass-icon-e901:before {
    content: "\e901";
}

.brass-icon-e902:before {
    content: "\e902";
}

.brass-icon-e903:before {
    content: "\e903";
}

#header {
    background-color: white;
}

#header .logo {
    padding: 18px 0;
    text-align: center;
}

#header .logo img {
    width: 90px;
}

.sp-nav {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 8px;
    /* transition: opacity 0.3s ease; */
}

.-left .p-spMenu__inner {
    transform: translateX(-100vw);
}

[data-spmenu=opened] .p-spMenu__inner {
    transform: translateX(0);
}

.sp-nav:hover {
    opacity: 0.7;
}

.sp-nav img {
    width: 24px;
    height: auto;
    display: block;
}

#header .logo {
    position: relative;
}


/**
 * 以下Footer のスタイル
*/

.footer__banner {
    background-color: #f4ede6;
    width: 100%;
    padding: 40px 0px;
}

.footer__banner-list {
    max-width: 790px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer__banner-item {
    position: relative;
    width: 100%;
}

.footer__banner-item:hover {
    opacity: .8;
}

.footer__banner-item-image {
    width: 100%;
    height: 130px;
    background-color: #333;
    overflow: hidden;
    position: relative;
}

.footer__banner-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__banner-item-title {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    letter-spacing: -0.4px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.footer__link {
    width: 270px;
    height: 52px;
    background-color: #fff;
    border: 1px solid #b7814f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.footer__link:hover {
    background-color: #b7814f;

    * {
        color: #fff;
    }
}

.footer__link-title {
    color: #b7814f;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.4px;
    text-align: center;
}

.footer__link-subtitle {
    color: #b7814f;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.footer__link-subtitle i {
    margin-right: 5px;
}

.footer__link--social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.footer__social-icons {
    display: flex;
    gap: 10px;
}

.footer__social-icon {
    font-weight: 400;
    color: #b7814f;
    font-size: 26px;
}

@media (max-width: 480px) {
    .footer__banner {
        padding: 20px;
    }

    .footer__link {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer__banner-list {
        grid-template-columns: 1fr;
    }

    .footer__links {
        flex-direction: column;
        align-items: center;
    }
}


/**
    * Navbar
*/

.footer__navbar {
    width: 100%;
    height: 40px;
    background-color: #b7814f;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer__navbar-container {
    width: 1000px;
    height: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__navbar-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__navbar-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    position: relative;
}

.footer__navbar-item:last-child {
    margin-right: 0;
}

.footer__navbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;

    i {
        color: white;
        font-size: 10px;

    }
}

.footer__navbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.footer__navbar-link {
    color: white !important;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer__navbar-link:hover {
    text-decoration: underline;
}

.footer__navbar-top-link {
    display: flex;
    align-items: center;
    color: white;
    font-size: 13px;
    text-decoration: none;
}

.footer__navbar-top-link:hover {
    text-decoration: underline;
}

.footer__navbar-top-icon-background {
    width: 23px;
    height: 23px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.footer__navbar-top-icon {
    color: #b7814f;
}

@media (max-width: 1024px) {
    .footer__navbar-container {
        width: 90%;
        height: auto;
        padding: 10px 0;
    }

    .footer__navbar-list {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer__navbar-item {
        margin-right: 15px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .footer__navbar-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__navbar-item {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .footer__navbar-top-link {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .footer__navbar {
        height: auto;
        padding: 10px 0;
    }

    .footer__navbar-container {
        width: 95%;
    }

    .footer__navbar-link, .footer__navbar-top-link {
        font-size: 13px;
    }
}

/**
    * 以下、共通スタイル
*/

.footer__copy {
    width: 100%;
    height: 96px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.footer__copy-container {
    width: 100%;
    max-width: 1000px;
    height: 56px;
    position: relative;
}

.footer__copy-head {
    display: flex;
    width: 100%;
    align-items: center;
}

.footer__copy-logo {
    width: 130px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 16px;
    background-image: url('./img/footer-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer__copy-badge-tse {
    width: 47.62px;
    height: 56px;
    position: absolute;
    left: 152.91px;
    top: 0;
    background-image: url('./img/img_jpx.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer__copy-badge-nse {
    width: 50.02px;
    height: 56px;
    position: absolute;
    left: 218.43px;
    top: 0;
    background-image: url('./img/img_nse.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer__copy-links {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer__copy-link-item {
    display: flex;
    align-items: center;
}

.footer__copy-link-icon {
    color: #B7815F;
    margin-right: 5px;
    font-size: 10px;
}

.footer__copy-link-text {
    font-size: 11px;
    font-weight: 300;
    color: #333333;
    text-decoration: none;
}

.footer__copy-copyright {
    position: absolute;
    right: 0;
    bottom: 8px;
    font-size: 11px;
    font-weight: 300;
    color: #333333;
    text-align: right;
}

@media (max-width: 480px) {
    .footer__copy-head {
        gap: 20px;
    }

    .footer__copy-link-item {
        text-align: left;

    }
}

@media (max-width: 768px) {
    .footer__copy {
        height: auto;
        padding: 20px 15px;
    }

    .footer__copy-container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__copy-logo {
        position: static;
        margin-bottom: 20px;
    }

    .footer__copy-badge-tse, .footer__copy-badge-nse {
        position: static;
        margin-bottom: 20px;
    }

    .footer__copy-links {
        position: static;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .footer__copy-link-item {
        width: 100%;
        justify-content: start;
        margin-bottom: 10px;
    }

    .footer__copy-copyright {
        position: static;
        text-align: center;
        width: 100%;
    }
}

/**
    page top
*/

#pagetop {
    width: 28px;
    height: 28px;
    background-color: rgb(183, 129, 79);
    border-radius: 0;
    border: none;
}

#pagetop .c-fixBtn__icon {
    color: white;
}
/* c-fixBtn c-plainBtn hov-bg-main */


/**
    sp menu
*/

.sp-nav-menu {
    display: none;
}

@media (max-width: 480px) {
    .sp-nav-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute !important;
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        background-color: #b7814f;
    }

    .sp-nav-menu img {
        width: 20px !important;
        height: 14px;
    }
}

.p-spMenu__closeBtn {
    right: 0 !important;
    left: unset !important;
}

.brown {
    color: #b7814f !important;
}

.sp-menu {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

.sp-menu__list {
    width: 100%;
    border: 1px solid #dfd0c1;
}

.sp-menu__item {
    width: 100%;
    min-height: 77.61px;
    border-bottom: 1px solid #dfd0c1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sp-menu__item-parent {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sp-menu__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    flex: 1;
}

.sp-menu__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #333333;
    letter-spacing: -0.4px;
}

.sp-menu__subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #333333;
}

.sp-menu__arrow {
    width: 50px;
    height: 76.88px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-menu__arrow::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10px;
    width: 1px;
    height: 57px;
    background-color: #dfd0c1;
}

.sp-menu__icon {
    color: #b7814f;
}

.sp-menu__bottom {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

.sp-menu__bottom-item {
    width: 50%;
    height: 41.3px;
    border: 1px solid #cb9c8e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-menu__bottom-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    gap: 4px;
}

.sp-menu__bottom-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #b7814f;
    letter-spacing: -0.4px;
}

.sp-menu__close {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 38px;
    height: 43.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sp-menu__close-icon {
    width: 12px;
    height: 12px;
    color: #333;
}

.p-spMenu__inner {
    width: 100% !important;
}

@media (max-width: 430px) {
    .sp-menu {
        width: 100%;
    }
}

/* SP Menu Accordion Styles */
.sp-menu__submenu {
    display: none;
    background-color: #f9f5f2;
    padding: 5px 0;
    border-top: 1px solid #dfd0c1;
}

.sp-menu__submenu-item {
    display: flex;
    gap: 8px;
    padding: 8px;
}

.sp-menu__submenu-link {
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    display: block;
}

.sp-menu__item.is-open .sp-menu__arrow i {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.sp-menu__arrow i {
    transition: transform 0.3s;
}

/* ===== ハンバーガーメニュー：中身だけスクロールに修正 ===== */

/* ① メニューコンテナは画面に固定（親は動かさない） */
#sp_menu.p-spMenu{
  position: fixed;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; と同義 */
  z-index: 9999;
  overflow: hidden;         /* 子のはみ出しは隠す（親はスクロールしない） */
}

/* ② スクロール可能なのは内側ラッパだけ */
#sp_menu .p-spMenu__inner{
  height: 100dvh;           /* 画面高いっぱい */
  max-height: 100dvh;
  overflow: auto;           /* ←ここだけスクロール */
  -webkit-overflow-scrolling: touch;   /* iOSの慣性スクロール */
  overscroll-behavior: contain;        /* スクロール端で親/背景に抜けない */
  background: rgba(255,255,255,0.92);  /* メニュー自体を半透明に（好みで調整） */
}

/* ③ オーバーレイは固定・非スクロール（タップで閉じるだけ） */
#sp_menu .p-spMenu__overlay,
#sp_menu .c-overlay{
  position: fixed;
  inset: 0;
  pointer-events: auto;
  overflow: hidden;         /* オーバーレイはスクロールしない */
  /* 背景の暗幕。不要なら透明に、濃くしたいならalphaを上げる */
  background: rgba(0,0,0,0.35);
}

/* ④ メニュー開時は背景ページを固定（スクロールで元ページが動かない） */
html.is-menu-open,
body.is-menu-open,
html.is-menuOpen,
body.is-menuOpen{
  position: fixed;          /* iOSの“ゴム”防止に有効 */
  width: 100%;
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

/* ⑤ 中身が長い時に下が切れないよう余白を足す（任意） */
#sp_menu .sp-menu__list{ padding-bottom: 20px; }
