@charset "UTF-8";



/*--------------------------------------------------------------
# 1. 基本設定
--------------------------------------------------------------*/
body {
    font-size: 14px !important;
    line-height: 1.5;
}

.ec-layoutRole {
    background: #F8F8F8;
}

.ec-layoutRole__contents {
    /* padding-top: 120px; */
}

h1 {
    font-size: 18px !important;
}

/*--------------------------------------------------------------
# 2. レイアウト
--------------------------------------------------------------*/
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.column {
    flex: 1;
    padding: 0 20px;
}

.shipping_free {
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    background-color: #203856;
    color: #fff;
}

.pc_disp {
    display: block;
}

.sp_disp {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc_disp {
        display: none;
    }

    .sp_disp {
        display: block;
    }
}

/*--------------------------------------------------------------
# 3. ヘッダー
--------------------------------------------------------------*/
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.l-header+* {
    margin-top: 60px;
}

.l-header__inner {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-header-logo {
    flex: 0 0 180px;
    margin-right: auto;
}

.p-header-logo img {
    display: block;
    width: 65px;
    height: auto;
}

/* スマホ用ヘッダーアイコン */
.sp-header-icons {
    display: none;
    align-items: center;
}

.sp-header-icons .p-user-menu__list {
    display: flex;
    gap: 20px;
}

.sp-header-icons .p-user-menu__link {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    height: 24px;
}

.sp-header-icons .p-user-menu__link span {
    display: none;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 5px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 17px;
}

.hamburger.is-active span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
}

/*--------------------------------------------------------------
# 4. ナビゲーション
--------------------------------------------------------------*/
.p-navigation-global {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.p-navigation-global__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.p-navigation-global__list-item a {
    font-weight: 700;
}

.p-navigation-global__link,
.js-button-megaMenu {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    background: none;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

.p-navigation-global__link:hover,
.js-button-megaMenu:hover {
    color: #666;
}

.js-button-megaMenu .fa-chevron-down {
    display: inline-block;
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* メガメニューが開いているときの矢印の回転 */
.js-megaMenu.is-open .js-button-megaMenu .fa-chevron-down {
    transform: rotate(180deg);
}

/* ユーザーメニュー */
.p-header-user-menu {
    flex: 0 0 auto;
    margin-left: auto;
}

.p-navigation-global__user-menu {
    flex: 0 0 auto;
}

.p-user-menu__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.p-user-menu__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.p-user-menu__link i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* SPドロワー */
.sp-drawer {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
    z-index: 999;
}

.sp-drawer.is-active,
.sp-drawer.open {
    display: block;
}

.sp-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-drawer li {
    border-bottom: 1px solid #eee;
}

.sp-drawer li a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
}

.sp-drawer .accordion-toggle {
    position: relative;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sp-drawer .accordion-icon {
    position: absolute;
    right: 0;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.sp-drawer .accordion-toggle.is-active .accordion-icon {
    transform: translateY(-50%) rotate(180deg);
}

.sp-drawer .accordion-content {
    display: none;
    padding-left: 20px;
}

.sp-drawer .accordion-content.is-active {
    display: block;
}

/*--------------------------------------------------------------
# 5. メガメニュー
--------------------------------------------------------------*/
.p-megaMenu__open {
    gap: 0.5em;
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    padding: 20px 5px;
}

.p-megaMenu.is-open .p-megaMenu__navigation {
    -webkit-clip-path: inset(0 -50vw);
    clip-path: inset(0 -50vw);
    visibility: visible;
}

.p-megaMenu.is-open .p-megaMenu__open::after {
    rotate: 180deg;
}

.p-megaMenu__navigation {
    -webkit-clip-path: inset(0 -50vw 100%);
    background-color: #f8f8f8;
    clip-path: inset(0 -50vw 100%);
    left: 0;
    padding: 30px 20px;
    position: absolute;
    top: 100%;
    transition: all 0.4s;
    visibility: hidden;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15), 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.p-megaMenu__list {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: space-between;
    gap: 20px;
}

.p-megaMenu__list-item {
    width: 32%;
    padding: 0;
}

.p-megaMenu__list-item a {
    gap: 0.5em;
    align-items: center;
    display: inline-flex;
}

.p-megaMenu__subList {
    list-style: none;
    padding: 0;
    margin: 3px 0 0;
    display: flex;
    flex-wrap: wrap;
}

.p-megaMenu__subListItem {
    padding-left: 1rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
    width: 50%;
}

.p-megaMenu__subListItem::before {
    content: "-";
    position: absolute;
    left: 0.4rem;
}

.p-megaMenu__subListItem:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.p-megaMenu__link {
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #203856;
    width: 100%;
}

.p-megaMenu__link:hover {
    color: #203856;
}

.p-megaMenu__subListItem a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: inline-block;
}

.p-megaMenu__subListItem a:hover {
    color: #203856;
    transform: translateX(3px);
}

/*--------------------------------------------------------------
# 6. コンテンツ
--------------------------------------------------------------*/
/* トップページ */

.ec-newItemRole .ec-newItemRole__listItem {
    text-align: center;
}


/* 商品ページ調整 */
.ec-productRole__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ec-productRole__wrapper>* {
    width: 50%;
    box-sizing: border-box;
}

.beans_table_wrap {
    padding: 0;
    width: 100%;
    margin-top: 20px;
}

.beans_info_wrap {
    text-align: left;
}

.beans_table {
    width: 100%;
}

.beans_table th {
    font-weight: 600;
    text-align: left;
    width: 20%;
}

.beans_table td {
    text-align: left;
}

.name_wrap {
    display: flex;
    align-items: baseline;
}

.popup {
    display: inline-block;
    width: 20px;
    margin-left: 10px;
    vertical-align: text-bottom;
}

.popup img {
    width: 100%;
}

.flag_wrap {
    width: 40px;
    margin-right: 10px;
}

.flag_wrap img {
    width: 100%;
}

.beans_table_wraps table {
    width: 100%;
}

.beans_table_wraps th {
    min-width: 6rem;
}

.beans_table_wraps th,
.beans_table_wraps td {
    padding: 8px;
    box-sizing: border-box;
}

.beans_table_wraps td {
    text-align: right;
}

.ec-select label {
    display: block;
}

.mini_font {
    font-size: 12px;
}

.profile-header {
    padding: 0 2rem 0;
}

.profile-header__title {
    border-bottom: 1px solid #ddd;
}

.profile-header__note {
    font-size: 12px;
    margin-bottom: 3rem;
}

.ec-topicpath {
    font-size: 14px;
}


/* プライバシーポリシー */
.priv_wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.priv_wrap p {
    margin: 1rem 0;
}

/* ニュース */
.ec-newsRole .ec-newsRole__newsClose {
    width: 50%;
}

.ec-newsRole .ec-newsRole__newsClose a {
    background-color: #203856;
    border-radius: 1rem;
    color: #fff;
    padding: .5rem 1rem;
    font-size: 10px;
    margin-top: 1rem;
    display: inline-block;
}


.ec-newsRole .ec-newsRole__news {
    padding: 0;
    border: none;
}

/* ニュース詳細ページ */
.ec-newsDetailRole {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.ec-newsDetailRole__title {
    margin-bottom: 1rem;
    border-bottom: 1px solid #203856;
    padding-bottom: 0.5rem;
}

.ec-newsDetailRole__title h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.ec-newsDetailRole__date {
    display: inline-block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.3rem 0.8rem;
    background-color: #f5f5f5;
    border-radius: 3px;
}

.ec-newsDetailRole__description {
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.ec-newsDetailRole__description p {
    margin-bottom: 1.5rem;
}

.ec-newsDetailRole__description img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.ec-newsDetailRole__back {
    margin-top: 2rem;
    text-align: center;
}

.ec-newsDetailRole__back a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #203856;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    transition: background-color 0.3s;
    font-size: 12px;
}

.ec-newsDetailRole__back a:hover {
    background-color: #152538;
}

.ec-newsDetailRole__back i {
    margin-right: 0.3rem;
}

/* ニュース一覧ページ */
.ec-newsListRole {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.ec-newsListRole__header {
    margin-bottom: 2rem;
    text-align: center;
}

.ec-newsListRole__header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 1rem;
}

.ec-newsListRole__items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ec-newsListRole__item {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ec-newsListRole__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ec-newsListRole__date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ec-newsListRole__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.ec-newsListRole__link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #203856;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    font-size: 10px;
    transition: background-color 0.3s;
}

.ec-newsListRole__link:hover {
    background-color: #152538;
}

.ec-newsListRole__pager {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* ニュース一覧（既存のスタイルを改善） */
.ec-newsRole {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.ec-secHeading {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.ec-secHeading__en {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-right: 1rem;
}

.ec-secHeading__line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #203856;
    margin: 0 1rem;
}

.ec-secHeading__ja {
    font-size: 1rem;
    color: #666;
}

.ec-newsRole__news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ec-newsRole__newsItem {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ec-newsRole__newsItem:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ec-newsRole__newsHeading {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    text-decoration: none;
}

.ec-newsRole__newsDate {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ec-newsRole__newsTitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.ec-newsRole__newsColumn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ページネーション */
.ec-pagerRole {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.ec-pager {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.ec-pager li {
    margin: 0;
}

.ec-pager li a,
.ec-pager li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

.ec-pager li a:hover {
    background-color: #f5f5f5;
}

.ec-pager li.active span {
    background-color: #203856;
    color: #fff;
}

/* 表示件数選択 */
.ec-conversionArea {
    margin-top: 2rem;
}

.ec-conversionArea__body {
    display: flex;
    justify-content: flex-end;
}

.ec-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ec-select label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.ec-select select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.9rem;
}

/* フレーバープロファイル */
.profile-card {
    background: white;
    padding: 2rem 0 2rem;
    width: 100%;
}

.profile-title {
    color: #333;
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    padding-left: 16px;
    border-bottom: 1px solid #eee;
}

.flavor-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    padding: 0 28px;
}

.recommend-wrapper .flavor-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    padding: 0 16px;
}

.recommend-wrapper .profile-card {
    background: none;
}

.recommend-wrapper .profile-title,
.recommend-wrapper .flavor-name {
    color: #fff;
}

.recommend-wrapper .segment.filled,
.recommend-wrapper .segment.half-filled::after {
    background-color: #203856;
}

.flavor-bar {
    margin-bottom: 12px;
}

.flavor-name {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
    text-align: left;
}

.bar-container {
    display: flex;
    flex-direction: row;
    height: 8px;
    width: 100%;
}

.segment {
    flex: 1;
    margin: 0 1px;
    background: #e5e5e5;
}

.segment:first-child {
    margin-left: 0;
}

.segment:last-child {
    margin-right: 0;
}

.segment.filled {
    background: #333;
}

.segment.half-filled {
    position: relative;
    overflow: hidden;
}

.segment.half-filled::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #333;
}

/*--------------------------------------------------------------
# 7. フッター
--------------------------------------------------------------*/
.ec-footerRole,
.ec-footerNavi,
.ec-footerTitle,
.ec-footerNaviRole {
    background-color: #fff;
    color: #000;
}

.ec-footerRole .ec-footerRole__inner img {
    width: inherit;
}

/* 3分割フッターレイアウト */
.ec-footerGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.ec-footerGrid__cell {
    margin-bottom: 20px;
}

/* ロゴセクション（中央） */
.ec-footerLogo {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
}

.ec-footerTitle__logo {
    margin-bottom: 15px;
}

.ec-footerTitle__logo img {
    max-width: 120px;
    height: auto;
}

.ec-footerTitle__copyright {
    font-size: 12px;
    color: #666;
    padding: 1rem 0;
    border-top: 1px solid #d2d2d2;
}

/* メニューセクション（中央・右） */
.ec-footerMenu {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 20px;
    margin-right: 0px;
}

.ec-footerMenu__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #d2d2d2;
    text-align: left;
}

.ec-footerMenu__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-footerMenu__item {
    margin-bottom: 10px;
    text-align: left;
}

.ec-footerMenu__item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.ec-footerMenu__item a:hover {
    color: #666;
    text-decoration: underline;
}

/* アコーディオンメニュー用スタイル - 全画面サイズ共通 */
.coffee-beans-submenu {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
}

.coffee-beans-submenu li {
    margin-bottom: 8px;
    list-style: none;
}

/* フッターのサブメニュー用スタイル */
.footer-submenu-child {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
    margin-bottom: 8px;
}

.footer-submenu-item {
    position: relative;
}

.footer-submenu-item:hover .footer-submenu-child {
    display: block;
}

.coffee-beans-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-icon {
    font-size: 16px;
    display: inline-block;
}

.rotate-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.toggle-active .rotate-icon {
    transform: rotate(180deg);
}



/*--------------------------------------------------------------
# 8. アニメーション
--------------------------------------------------------------*/
.text {
  overflow: hidden;
  position: relative;
}

.text.is-active {
  --skewX: 0deg;
  --cover-x: 101%;
  --x: 0;
}

.text::before,
.text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50vh;
  transform: translateX(var(--cover-x, -101%));
  transition: transform 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.text::before {
  background-color: #fff;
}

.text::after {
  background-color: #bce9ec;
  transition-delay: 0.16s;
}

.word {
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  font-size: 5vw;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateX(var(--x, -110%)) skewX(var(--skewX, 8deg));
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.3s;
}




@media (max-width: 767px) {
    .ec-footerGrid {
        display: flex;
        flex-direction: column;
    }

    .ec-footerLogo {
        order: 2;
        /* ロゴを最後に表示 */
    }

    .ec-footerMenu:nth-of-type(1) {
        order: 1;
        /* 商品メニューを最初に表示 */
    }

    .ec-footerMenu:nth-of-type(2) {
        order: 0;
        /* サポートメニューを2番目に表示 */
    }

    /* SPでのアンダーバーを非表示にする */
    .coffee-beans-toggle:after {
        display: none !important;
    }

    .coffee-beans-toggle:hover {
        text-decoration: none !important;
    }

    .ec-newItemRole .ec-newItemRole__listItemHeading {
        margin-top: 0;
    }

    .flavor-bar {
        margin-bottom: 0;
    }

}

/* おすすめ商品のSP表示調整 */
@media (max-width: 767px) {
    .recommend-map {
        display: none;
    }

    .ec-productRole__description {
        width: 100%;
    }

    .ec-newItemRole {
        margin-top: 0;
        padding-top: 0;
    }

}

/* タブレット・PC表示 */
@media (min-width: 768px) {
    .ec-footerGrid {
        flex-wrap: nowrap;
        padding: 40px 20px;
    }

    .ec-footerLogo {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .ec-footerMenu {
        flex: 0 0 30%;
        max-width: 30%;
        margin-top: 0;
        margin-right: 20px;
    }

    .ec-footerMenu:last-child {
        margin-right: 0;
    }
}

/*--------------------------------------------------------------
# 8. ユーティリティ
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 9. レスポンシブ設定
--------------------------------------------------------------*/
@media (min-width: 768px) {
    .p-navigation-global__list {
        gap: 40px;
    }

    .p-megaMenu__open {
        padding: 20px 10px;
    }

    .p-megaMenu__navigation {
        padding: 40px;
    }

    .p-megaMenu__list {
        gap: 10px 30px;
        flex-direction: row;
    }

    .p-megaMenu__list-item a {
        padding: .2rem 0;
    }

    .flavor-container {
        grid-template-columns: repeat(5, 1fr);
    }

    .name_wrap {
        align-items: flex-start;
    }

    .ec-newsRole .ec-newsRole__newsClose {
        width: 25%;
    }


}

@media (min-width: 768px) and (hover: hover) {

    .p-megaMenu:hover .p-megaMenu__navigation,
    .p-megaMenu:focus-within .p-megaMenu__navigation {
        -webkit-clip-path: inset(0 -50vw);
        clip-path: inset(0 -50vw);
        visibility: visible;
    }

    .p-megaMenu:hover .p-megaMenu__open::after,
    .p-megaMenu:focus-within .p-megaMenu__open::after {
        rotate: 180deg;
    }

    .js-megaMenu:hover .js-button-megaMenu .fa-chevron-down {
        transform: rotate(180deg);
    }
}

@media (hover: hover) {
    .p-navigation-global__list-item a:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 768px) {

    .p-navigation-global,
    .p-header-user-menu {
        display: none;
    }

    .sp-header-icons {
        display: flex;
        align-items: center;
        margin-right: 0;
    }

    .hamburger {
        display: block;
    }

    .ec-layoutRole__contents {
        padding-top: 50px;
    }

    .l-header__inner {
        height: auto;
        padding: 10px;
        box-sizing: border-box;
    }

    .p-header-logo {
        flex: 1;
    }

    .p-header-logo img {
        display: block;
        height: 50px;
        width: auto;
    }

    .sp-drawer {
        display: none;
    }

    .ec-searchnavRole {
        margin-top: 4rem;
    }

    .sp-drawer.open {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
}

#popup-overlay {
    display: none;
    /* 初期非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

/* ポップアップ本体 */
#popup-content {
    position: relative;
    width: 50%;
    margin: 15% auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px #333;
}

/* 閉じるボタン */
#popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #popup-content {
        width: 90%;
        margin: 15% auto;
    }
}

/*--------------------------------------------------------------
# 10. 管理画面スタイル統一
--------------------------------------------------------------*/
/* 管理画面全体の統一スタイル */
.c-contentsArea {
    background-color: #f8f9fa;
    min-height: calc(100vh - 60px);
}

/* 管理画面のカードスタイル統一 */
.c-outsideBlock {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.c-outsideBlock__contents {
    padding: 20px;
}

/* 検索フォームエリアの統一 */
.c-subContents {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 15px 20px;
    margin: 0 -20px -20px -20px;
    border-radius: 0 0 8px 8px;
}

/* テーブルスタイルの統一 */
.table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background-color: #203856;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 12px 15px;
}

.table tbody td {
    padding: 12px 15px;
    border-top: 1px solid #dee2e6;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ボタンスタイルの統一 */
.btn-ec-regular {
    background-color: #203856;
    border-color: #203856;
    color: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ec-regular:hover {
    background-color: #1a2d47;
    border-color: #1a2d47;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(32, 56, 86, 0.3);
}

.btn-ec-conversion {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ec-conversion:hover {
    background-color: #218838;
    border-color: #218838;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* フォーム要素の統一 */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #203856;
    box-shadow: 0 0 0 0.2rem rgba(32, 56, 86, 0.25);
}

/* ページネーションの統一 */
.pagination {
    justify-content: center;
    margin-top: 20px;
}

.page-link {
    color: #203856;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin: 0 2px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.page-link:hover {
    color: #fff;
    background-color: #203856;
    border-color: #203856;
}

.page-item.active .page-link {
    background-color: #203856;
    border-color: #203856;
    color: #fff;
}

/* アラート・メッセージの統一 */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* 詳細検索の開閉ボタン統一 */
.collapsed[data-bs-toggle="collapse"] {
    color: #203856;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    display: inline-block;
    transition: color 0.3s ease;
}

.collapsed[data-bs-toggle="collapse"]:hover {
    color: #1a2d47;
    text-decoration: none;
}

.collapsed[data-bs-toggle="collapse"] .fa {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

/* 管理画面のタイトル統一 */
.c-pageTitle {
    color: #203856;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #203856;
}

/* 検索結果の件数表示統一 */
.c-conversionArea {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* チェックボックス・ラジオボタンの統一 */
.form-check-input:checked {
    background-color: #203856;
    border-color: #203856;
}

.form-check-input:focus {
    border-color: #203856;
    box-shadow: 0 0 0 0.25rem rgba(32, 56, 86, 0.25);
}


.cat_midashi {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #203856;
    border-top: 1px solid #203856;
    padding: 1rem 0;
}

.cat_read {
    text-align: center;
    line-height: 1.5rem;
    margin-top: 2rem;
}

.flavor_wheel {
    font-size: 14px;
    margin: 1rem 0 .5rem;
}

.flavor_wheel p {
    font-weight: bold;
    font-size: 12px;
}

.cat_tag_list {
    font-size: 12px;
    display: inline-block;
    color: inherit;
    margin-left: .7rem;
}

@media (max-width: 768px) {
    .flavor_wheel {
        font-size: 11px;
    }

    .flavor_wheel p {
        font-weight: bold;
        font-size: 11px;
        margin-bottom: 2rem;
    }

    .cat_tag_list {
        font-size: 9px;
    }

}







/* 管理画面レスポンシブ対応 */
@media (max-width: 768px) {
    .c-outsideBlock__contents {
        padding: 15px;
    }

    .table {
        font-size: 14px;
    }

    .table thead th,
    .table tbody td {
        padding: 8px 10px;
    }

    .btn-ec-regular,
    .btn-ec-conversion {
        padding: 6px 12px;
        font-size: 14px;
    }
}