/* ========================================
   フォント読み込み
======================================== */
/* HTML側で読み込み済みのためコメントアウト */
/* @import url("https://use.typekit.net/wwi0tmn.css"); */
/* @import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap'); */

:root {
  --base-font-family: "neulis-neue", sans-serif;
  --jp-font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* デバッグ用：日本語フォント強制適用テスト */
.hero-title {
  font-family: 'Zen Kaku Gothic New', sans-serif !important;
}


/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--base-font-family);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}
.brsp { display:none; }
.brpc { display:block; }


/* ========================================
   Header
======================================== */
#header {
  z-index: 66677;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: rgba(255, 255, 255, 0) !important;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0);
  transition: height 0.25s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s, box-shadow 0.25s cubic-bezier(0.4, 0.0, 0.2, 1), background 0.3s ease, backdrop-filter 0.3s ease;
  /* Safari最適化 */
  will-change: height, transform, opacity, box-shadow, background, backdrop-filter;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

/* スクロール時のヘッダー背景（TOPページのみ） */
#header.scrolled {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backface-visibility: hidden;
  /* 強力なGPUアクセラレーション */
  -webkit-perspective: 1000;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  /* Safari描画最適化 */
  contain: layout style paint;
}

/* スクロール時のヘッダー */
#header.scrolled {
  height: 90px;
  /* Safari最適化 */
  transform: translateZ(0);
  /* 強力なGPUアクセラレーション */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 100vhスクロール後のヘッダー背景 */
#header.scrolled-100vh {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* ロゴ */
#header_logo {
  height: auto;
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

#header_logo img {
  display: block;
  max-height: calc(100% - 40px);
  height: 30px;
  width: auto;
}

#header_logo a {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#header_logo a .logo_text {
  font-family: var(--base-font-family);
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  word-wrap: break-word;
  font-size: 24px;
}

/* グローバルメニュー */
#global_menu {
  height: 30px;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
  font-family: var(--base-font-family);
  font-weight: 400;
}

#global_menu > ul {
  position: relative;
  text-align: center;
  font-size: 0;
}

#global_menu > ul > li {
  display: inline-block;
  position: relative;
  line-height: 1;
  text-align: center;
  font-size: 18px;
}

#global_menu > ul > li > a {
  color: #000 !important;
  text-decoration: none;
  height: 30px;
  line-height: 30px;
  padding: 0 20px;
  display: block;
  position: relative;
}

#global_menu > ul > li.current-menu-item {
  color: #000 !important;
}

#global_menu > ul > li.current-menu-item > a {
  color: #000000 !important;
}

/* ナビメニューの黄色い丸を削除 */
#global_menu > ul > li.current-menu-item > a::before {
  display: none;
}

/* サブメニュー */
#global_menu ul ul {
  background: #fff;
  display: none;
  width: 250px;
  position: absolute;
  top: 30px;
  margin: 0;
  padding: 0;
  z-index: 100;
}

#global_menu ul ul ul {
  left: 100%;
  top: 0 !important;
  margin: 0;
}

#global_menu > ul > li:last-of-type > ul {
  right: 0;
}

#global_menu > ul > li:last-of-type ul ul {
  left: auto;
  right: 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;
}

#global_menu ul ul a:hover {
  text-decoration: none;
  color: #fff;
  background: #000;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    background-color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 100vw;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    z-index: 2;
    text-align: center;
    max-width: 90vw;
    width: 100%;
    padding: 0 20px;
}
.hero-title {
    font-size: 3.2vw;
    font-weight: 900;
    font-family: var(--jp-font-family);
    line-height: 1em;
    margin-bottom: 1vw;
    color: #333;
    z-index: 2;
    max-width: 100%;
    text-align: left;
}
.hero-title span {
    display: block;
    margin-bottom: 3vw;
}

.hero-description {
    font-size: 1.4vw;
    font-family: var(--jp-font-family);
    font-weight: 700;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
    text-align: left;
    margin: 5vw auto 0;
    z-index: 2;
}
.hero-title-highlight {
    line-height: 1em;
    font-style: normal;
    padding: 0 0.8vw;
    margin-right: 0.5vw;
    position: relative;
    z-index: 2;
}
.hero-title-highlight::after {
    content: '';
    display: block;
    width: 100%;
    height: 90%;
    background-color: #ecfe00;
    position: absolute;
    top: 0.4vw;
    left: 0;
    z-index: -1;
}


/* シンボルサークルの三角形配置 */
.symbol-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-15%, -64%) scale(1.1) rotate(40deg);
    width: 80vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.symbol-circles img {
    position: absolute;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    opacity: 1;
}

/* リングアニメーションはJavaScriptで制御 */

/* VIEW MORE矢印アイコン */
.communication-link::after {
    content: "";
    display: inline-block;
    width: 2.3vw;
    height: 2.3vw;
    background-image: url('img/top/viewmore_arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0.65vw;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.communication-link:hover::after {
    transform: translateX(0.5vw);
}

/* スクロール矢印 */
.scroll-arrow-container {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    background: url('img/top/scroll_arrow.svg') no-repeat center center;
    background-size: contain;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 2.5vw;
    height: 2.5vw;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-arrow:hover {
    transform: translateY(5px);
    opacity: 0.8;
}

/* 中央に重なり合う配置で100pxずつずらす */
.symbol-circles img:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(50deg);
}

.symbol-circles img:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(calc(-63% + 40%), calc(-50% + 40%)) rotate(-150deg);
}

.symbol-circles img:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(calc(-37% - 40%), calc(-50% + 40%)) rotate(-50deg);
}



/* ========================================
   Communication Section
======================================== */
.communication-section {
    padding: 0 0 120px 0;
    position: relative;
    overflow: hidden;
}

.communication-item {
    position: relative;
    width: 60vw;
    max-width: 60vw;
    min-height: 500px;
    margin-bottom: calc(-220px - 2vw);
    display: flex;
    align-items: start;
    background: transparent;
    z-index: 1;
}
.communication-item.sales-item {
    width: 50vw;
}

/* 各アイテムの配置 */
.sustainability-item {
    margin-left: 0;
    justify-content: flex-start;
}


.corporate-item {
    margin-left: auto;
    margin-right: 0;
    justify-content: flex-end;
    z-index: 2;
}

.sales-item {
    margin-left: 0;
    justify-content: flex-start;
    z-index: 3;
    margin-bottom: 0;
}

/* 背景要素 */
.item-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/top/service_bg.webp');
    background-repeat: repeat-x;
    z-index: -1;
}
.item-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('img/top/white_gradation.webp');
    background-repeat: repeat-x;
    background-size: 100% 100%;
    z-index: -1;
}
.sustainability-item .item-background ,
.sales-item .item-background {
    border-radius: 0 5.5vw 5.5vw 0;
    background-position: top right;
}
.corporate-item .item-background {
    border-radius: 5.5vw 0 0 5.5vw;
    background-position: top left;
}

/* 円形要素を削除 */
.item-background::before {
    display: none;
}

/* サステナビリティアイテムのシンボル画像 */
.sustainability-item::after {
    content: '';
    position: absolute;
    top: -2vw;
    left: -14vw;
    width: 100%;
    height: 100%;
    background-image: url('img/top/symbol_sus.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* コーポレートアイテムのシンボル画像 */
.corporate-item::after {
    content: '';
    position: absolute;
    top: -1vw;
    right: 6vw;
    width: 100%;
    height: 100%;
    background-image: url('img/top/symbol_corp.webp');
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.1);
}

/* セールスアイテムのシンボル画像 */
.sales-item::after {
    content: '';
    position: absolute;
    top: 2vw;
    left: 9vw;
    width: 100%;
    height: 100%;
    background-image: url('img/top/symbol_sales.webp');
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* 背景円形配置を削除 */

/* コンテンツエリア */
.communication-content {
    padding: 80px 5vw;
    flex: 1;
    max-width: 50vw;
    position: relative;
    z-index: 1;
}

.corporate-item .communication-content {
    text-align: left;
}

.communication-title {
    font-size: 5vw;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 0.2vw;
    line-height: 0.8;
    font-family: var(--base-font-family);
}

.communication-subtitle {
    font-size: 2.2vw;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 0.15vw;
    font-family: var(--jp-font-family);
    font-weight: 800;
}

.communication-text {
    font-size: 1.1vw;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    font-family: var(--jp-font-family);
    font-weight: 500;
}

.communication-link {
    font-size: 1vw;
    color: #333;
    font-weight: 100;
    letter-spacing: 0em;
    padding-bottom: 8px;
    font-family: var(--base-font-family);
    display: inline-block;
}

.corporate-item .communication-link { 
    margin-right: 20vw;
}

/* 詳細タグエリア */
.communication-details {
    position: absolute;
    right: 6vw;
    top: 3vw;
    z-index: 2;
}
.sustainability-item .communication-details {
    right: 23vw;
    top: 280px;
}

.corporate-item .communication-details {
    left: 41vw;
    top: calc(280px + 3vw);
}
.sales-item .communication-details {
    left: 30vw;
    top: calc(230px + 2vw);
}

.detail-tags {
    display: flex;
    flex-direction: column;
    gap: 0.3vw;
}

.tag {
    background: #333;
    color: #fff;
    padding: 0.2vw 1.2vw 0.25vw;
    font-size: 0.85vw;
    border-radius: 15px 1px 1px 15px;
    white-space: nowrap;
    font-family: var(--base-font-family);
    font-weight: 500;
}
.tag::before {
    content: '#';
    color: #fff;
    margin-right: 5px;
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 0;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

/* セクションタイトルのシンプルスタイル */
.special-site-section .section-title,
.sus-up-section .section-title,
.our-strength-section .section-title,
.works-section .section-title {
    color: #333;
    position: relative;
    display: inline-block;
    font-size: 2.2vw;
    font-family: var(--base-font-family);
    font-weight: 900;
    letter-spacing: 0.1vw;
    margin-bottom: 40px;
    z-index: 1;
}
.special-site-section .section-title::before,
.sus-up-section .section-title::before,
.our-strength-section .section-title::before,
.works-section .section-title::before {
    content: ' ';
    display: block;
    width: 3.5vw;
    height: 40%;
    background-color: #ecfe00;
    position: absolute;
    top: 1.8vw;
    left: -1.3vw;
    z-index: -1;
    }

.special-site-section .section-title::after,
.sus-up-section .section-title::after,
.our-strength-section .section-title::after,
.works-section .section-title::after {
    display: none;
}

/* ========================================
   Individual Sections
======================================== */
.outer-container {
    width: 100%;
}

.special-site-section,
.sus-up-section,
.our-strength-section,
.works-section,
.topics-section {
    padding: 80px 20px;
}
.our-strength-section {
    padding: 80px 0px 80px 20px;
}

.special-site-content,
.sus-up-content {
    max-width: 1200px;
    margin: 0 auto;
}

.our-strength-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 0 50px 10vw;
    position: relative;
    overflow: hidden;
}

.works-content {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

/* TOPICS セクション */
.topics-section {
    padding: 120px 0;
}

.topics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.topics-title-area {
    flex: 0 0 200px;
    position: sticky;
    top: 200px;
}

.topics-title {
    font-size: 2vw;
    font-weight: 900;
    color: #333;
    letter-spacing: 0.1em;
    font-family: var(--base-font-family);
    line-height: 1;
    margin: 30px auto;
}

.topics-content {
    flex: 1;
}

.topics-list {
    display: flex;
    flex-direction: column;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-date {
    flex: 0 0 120px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: var(--base-font-family);
    letter-spacing: 0.05em;
}

.topic-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-family: var(--jp-font-family);
    font-weight: 500;
}
.topic-text a {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
    font-family: var(--jp-font-family);
    cursor: pointer;
    opacity: 1;
}
.topic-text a:hover {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
    font-family: var(--jp-font-family);
    opacity: 0.6;
    transition: .2s;
}

/* WORKS Swiper スタイル */
.works-swiper-container {
    position: relative;
    margin-bottom: 0;
}

.works-swiper {
    padding: 0 80px; /* ナビゲーションボタン用のスペース */
}

.works-slide-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
}

.works-image {
    flex: 0 0 280px;
    margin-left: 14vw;
    border-radius: 0px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.12) !important;
}

.works-image img {
    width: 100%;
    height: auto;
}

.works-text {
    flex: 1;
    padding-left: 0;
}

.works-client {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--base-font-family);
}

.works-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--base-font-family);
}

.works-language {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    font-family: var(--base-font-family);
}

/* WORKS カスタムナビゲーションボタン */
.works-button-next,
.works-button-prev {
    position: absolute;
    bottom: 90px;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 1;
    transition: 0.2s;
}

.works-button-next:hover,
.works-button-prev:hover {
    opacity: .7;
}

.works-button-next {
    left: calc(50% + 10px); /* 中央から30px右 */
}

.works-button-prev {
    left: calc(50% - 50px); /* 中央から70px左 */
}

.works-button-next img,
.works-button-prev img {
    width: 40px;
    height: 40px;
    display: block;
}

/* デバッグ用スタイルを削除：正常な黒いボタンに戻す */

/* WORKS ページネーション */
.works-pagination,
.works-swiper .swiper-pagination {
    text-align: center !important;
    margin-top: 160px !important; /* 適度な間隔 */
    margin-bottom: 30px !important; /* 下部余白 */
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.works-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    border: 1px solid #333;
    opacity: 1;
    margin: 0 6px;
}

.works-pagination .swiper-pagination-bullet-active {
    background: #333;
}

/* VIEW ALL WORKS ボタン */
.works-view-all {
    text-align: center;
    margin-top: 0;
    font-family: var(--base-font-family);
}

.view-all-button {
    display: inline-block;
    padding: 8px 30px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.view-all-button:hover {
    background: #333;
    color: #fff;
}

/* Swiperデフォルトのナビゲーションボタンを完全に非表示 */
.works-swiper .swiper-button-next,
.works-swiper .swiper-button-prev,
.works-swiper-container .swiper-button-next,
.works-swiper-container .swiper-button-prev {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}


/* 全てのSwiperナビゲーションボタンを強制非表示（カスタムボタン以外） */
.swiper-button-next:not(.works-button-next):not(.sus-up-button-next),
.swiper-button-prev:not(.works-button-prev):not(.sus-up-button-prev) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* WORKSセクション内のSwiperデフォルトボタンを完全削除 */
.works-section .swiper-button-next,
.works-section .swiper-button-prev {
    display: none !important;
}

/* OUR STRENGTH スタイル */
.strength-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 20px 20px 20px 50px;
    gap: 50px;
    border-radius: 150px 0 0 150px;
    position: relative;
    background-color: white;
}

/* 疑似要素でシャドウを作成してz-index制御 */
.strength-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 150px 0 0 150px;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.strength-item:last-child {
    margin-bottom: 0;
}

/* z-indexを下に行くほど高くする（下の要素を前面にして上からの影を回避） */
.strength-item:nth-child(1) {
    z-index: 1;
}
.strength-item:nth-child(2) {
    position: relative;
    left: 5vw;
    width: calc(100% - 5vw);
    z-index: 2;
}
.strength-item:nth-child(3) {
    position: relative;
    left: 10vw;
    width: calc(100% - 10vw);
    z-index: 3;
}
.strength-item:nth-child(4) {
    position: relative;
    left: 15vw;
    width: calc(100% - 15vw);
    z-index: 4;
}


.strength-icon {
    flex-shrink: 0;
    width: 150px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.strength-item:nth-child(1) .strength-icon {
    transform: scale(1.05);
}
.strength-item:nth-child(2) .strength-icon {
    transform: scale(0.85);
}
.strength-item:nth-child(3) .strength-icon {
    transform: scale(0.9);
}
.strength-item:nth-child(4) .strength-icon {
    transform: scale(1.1);
}


.strength-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.strength-text {
    flex: 1;
    padding-top: 0;
}

.strength-title {
    font-size: 42px;
    font-weight: 900;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 0.04em;
    font-family: var(--base-font-family);
}

.strength-description {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    font-family: var(--jp-font-family);
    font-weight: 600;
}

/* SPECIAL SITE 専用レイアウト */
.special-site-content {
    max-width: 1000px;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    text-align: left;
    color: #333;
}

.special-site-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.special-site-text {
    font-size: 18px;
    line-height: 1.8;
    font-family: var(--base-font-family);
    font-weight: 500;
    color: #333;
}

.special-site-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bags-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    top: -3vw;
}

.special-site-button {
    text-align: center;
    padding: 0 0 20px;
    width: 600px;
    height: auto;
    max-height: 100%;
    margin: 0 auto;
}


.btn-ootow-spsite img {
    height: auto;
    display: block;
    max-width: 100%;
}

.sus-up-description {
    font-size: 18px;
    color: #666;
    text-align: center;
    font-family: var(--jp-font-family);
    font-weight: 400;
    margin: 20px auto 60px auto;
    max-width: 800px;
    line-height: 1.6;
}

/* SUS-UP カルーセルコンテナ */
.sus-up-carousel-container {
    position: relative;
    margin-top: 0;
    padding: 0 60px 50px 60px;
}

/* SUS-UP Swiper */
.sus-up-swiper {
    position: relative;
}

.sus-up-card {
    height: auto;
}

.sus-up-card .card-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    aspect-ratio: 4/3;
    max-width: 400px;
}

.sus-up-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.sus-up-card:hover .card-image img {
    transform: scale(1.05);
}

.sus-up-card .card-content {
    text-align: left;
}

.sus-up-card .card-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: var(--base-font-family);
}

.sus-up-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: var(--jp-font-family);
}

.sus-up-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sus-up-card .tag {
    background: #333;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Swiper カスタムスタイル */
.sus-up-swiper .swiper-pagination {
    bottom: 0;
}

.sus-up-swiper .swiper-pagination-bullet {
    background: #333;
    opacity: 0.5;
}

.sus-up-swiper .swiper-pagination-bullet-active {
    background: #333;
    opacity: 1;
}

/* SUS-UP VIEW ALL ARTICLES ボタン */
.sus-up-view-all {
    text-align: center;
    margin-top: 50px;
    font-family: var(--base-font-family);
}

/* 外側矢印ボタン */
.sus-up-button-next,
.sus-up-button-prev {
    position: absolute;
    color: #333;
    width: 35px;
    height: 56px;
    top: 35%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sus-up-button-next {
    right: 0px;
    background-image: url('img/top/next_w-arrow.svg');
}

.sus-up-button-prev {
    left: 0px;
    background-image: url('img/top/prev_w-arrow.svg');
}

/* 元のアイコンを完全に削除 */
.sus-up-button-next:after,
.sus-up-button-prev:after {
    content: none;
}

/* ========================================
   Footer
======================================== */

/* バナー */
#footer_banner { border-top:1px solid #ddd; display:flex; flex-wrap:wrap; position:relative; }
#footer_banner a { display:block; height:auto; aspect-ratio:725 / 250; display:flex; flex-direction:column; justify-content:center; padding:0 100px; position:relative; }
#footer_banner.banner_num1 a { width:100%; }
#footer_banner.banner_num2 a { width:50%; }
#footer_banner.banner_num3 a { width:calc(100% / 3); aspect-ratio:initial; height:300px; padding:0 60px; }

/* ロゴエリア */
#footer { 
  border-top:1px solid #ddd; 
  background: transparent;
}
#footer_inner { 
  max-width:1700px; 
  margin:0 auto; 
  padding: 40px 100px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* フッターロゴスタイル */
#footer_logo {
  margin-bottom: 0;
}
#footer_logo a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer_logo_svg {
  position: relative;
}
#footer_pipeline_logo {
  height: 24px;
  width: auto;
  fill: #333;
}
.footer_company_info {
  display: flex;
  align-items: center;
}
.footer_company_name {
  font-family: var(--base-font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #333;
}

.main-content {
    padding-bottom: 100px;
    background-image: url('common/head_noise_inverse.webp');
    background-size: auto 401px;
    background-position: bottom center;
    background-repeat: repeat-x;
}

/* 上部へ戻る*/
#return_top { transition: opacity 0.2s ease; }
#return_top a {
  position: initial;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.15);
  display: block;
  height: 65px;
  width: 65px;
  line-height: 65px;
  text-decoration: none;
  z-index: 100;
  overflow: hidden;
}
#return_top a:hover {  }
#return_top span { text-indent:100%; white-space:nowrap; overflow:hidden; display:block; }
#return_top a .arrow:before, #return_top a .arrow:after {
  content:'　';
  display:block;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  background-image: url(common/topofpage.svg);
  background-size: 20px 11px;
  background-repeat: no-repeat;
  background-position: center center;
}

#return_top { position:fixed; right:30px; bottom:0px; z-index:999; transform: translate3d(0,100%,0); transition: transform 0.35s ease, right 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
#return_top.active { transform: translate3d(0,0,0); bottom:30px; }
body.active_header #return_top { opacity:0; }

#footer_logo img { display:block; transition: all 0.25s ease; max-width: 200px; height: auto;}
#footer_logo img.mobile { display:none; }
#footer_logo a:hover img { opacity:0.5; }
#footer_logo a .logo_text { font-weight:500; line-height:1.2; word-wrap:break-word; }
#footer_address { margin-top:17px; }
#footer_sns { margin-top:15px; text-align:left; margin-left:-10px; }
body.hide_footer #footer { border:none; padding:0; }

/* メニュー */
#footer_nav { 
  border: none; 
  position: relative; 
  width: auto; 
  margin: 0; 
  padding: 0; 
}
#footer_nav ul { 
  -webkit-user-select: none; 
  user-select: none; 
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
#footer_nav li { 
  font-size: 14px; 
  flex: 0 0 auto !important; 
  width: auto !important; 
  margin: 0;
  list-style: none;
  font-family: var(--jp-font-family);
}
#footer_nav li a { 
  height: auto; 
  line-height: 1.2; 
  display: block; 
  color: #333;
  text-decoration: none;
  padding: 5px 0;
}
#footer_nav li a:hover {
  text-decoration: underline;
}
#footer_nav li.separator {
  color: #333;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
  padding: 5px 0;
}

/* コピーライト */
#copyright { 
  font-size: 14px; 
  color: #333; 
  text-align: right; 
  line-height: 1.2; 
  display: block; 
  margin: 0; 
  padding: 0; 
  background-color: transparent !important;
  font-family: var(--jp-font-family);
}
body.hide_footer #copyright { margin-top:0; }

body::after {
    content: '';
    display: block;
    width: 100%;
    height: 60vw;
    position: absolute;
    top: auto;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: auto;
    background-image: url('common/pa.webp');
    background-position: center 30px;
    background-size: 90%;
    background-repeat: no-repeat;
    z-index: -1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  #footer_inner {
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
    text-align: center;
  }
  
  #footer_nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  #footer_logo a {
    justify-content: center;
  }
}

/* 上部へ戻るボタン（style.cssのスタイルを使用） */
/* style.cssの#return_topスタイルが適用される */

/* ========================================
   Fade Animation
======================================== */
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 1100px) {
    /* 1100px以下でスタック型レイアウト */
    
    .communication-content {
        max-width: none;
        padding: 80px 5vw 80px 12vw;
    }
    .communication-title {
        font-size: 36px;
        margin-bottom: 5px;
    }
    
    .communication-subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .communication-text {
        font-size: 14px;
    }
    
    .communication-link {
        font-size: 14px;
    }
    
    .corporate-item .communication-link {
        margin-right: 0;
    }
    
    .communication-details {
        transform: none;
        margin-top: 30px;
        width: 170px;
    }
    
    .tag {
        background: #333;
        color: #fff;
        padding: 0.2vw 1.2vw 0.25vw;
        font-size: 11px;
        border-radius: 15px 1px 1px 15px;
        white-space: nowrap;
        font-family: var(--base-font-family);
        font-weight: 500;
    }
    .works-image {
        margin: 0 auto;
        max-width: 500px;
    }
    .works-slide-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    

    

    
}

@media (max-width: 800px) {
    /* ヘッダーモバイル対応 */
    #header {
        height: 60px;
    }
    
    #header.scrolled {
        height: 60px;
    }
    
    #header_logo {
        left: 20px;
    }
    
    #header_logo a .logo_text {
        font-size: 18px;
    }
    
    #global_menu {
        right: 20px;
    }
    
    #global_menu > ul > li {
        font-size: 14px;
    }
    
    #global_menu > ul > li > a {
        padding: 0 10px;
    }
    
    /* モバイルでは一部メニューを非表示 */
    #global_menu > ul > li:nth-child(n+5) {
        display: none;
    }
    
    .hero-title {
        font-size: 6.2vw;
        line-height: 1.65em;
    }
    
    .hero-description {
        font-size: 4vw;
        line-height: 1.8em;
        margin-top: 10vw;
    }
    
    /* スクロール矢印のモバイル調整 */
    .scroll-arrow-container {
        bottom: 30px;
    }
    
    .scroll-arrow {
        width: 28px;
        height: 28px;
    }
    
    /* ヒーローコンテンツの中央配置 */
    .hero-content-inner {
        transform: translate(-50%, -42%);
        max-width: 100vw;
    }
    
    /* モバイル用シンボルサークル調整 */
    .symbol-circles {
        width: 100vw;
        height: 90vh;
    }
    
    .symbol-circles img {
        width: 60vw;
        height: 60vw;
        max-width: 400px;
        max-height: 400px;
        opacity: 1;
    }
    
    /* モバイル用リングアニメーションもJavaScriptで制御 */

    .symbol-circles img:nth-child(1) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .symbol-circles img:nth-child(2) {
        top: 50%;
        left: 50%;
        transform: translate(calc(-50% + 60px), calc(-50% + 60px));
    }
    
    .symbol-circles img:nth-child(3) {
        top: 50%;
        left: 50%;
        transform: translate(calc(-50% - 60px), calc(-50% + 60px));
    }

    /* ヒーロータイトルハイライトのモバイル調整 */
    .hero-title-highlight {
        line-height: 1em;
        font-style: normal;
        padding: 0 0.8vw;
        margin-right: 0.5vw;
        position: relative;
        z-index: 2;
    }
    .hero-title-highlight::after {
        content: '';
        display: block;
        width: 320%;
        height: 47%;
        background-color: #ecfe00;
        position: absolute;
        top: 0.4vw;
        left: 0;
        z-index: -1;
    }
    .hero-title-highlight::before {
        content: '';
        display: block;
        width: 100%;
        height: 47%;
        background-color: #ecfe00;
        position: absolute;
        top: 10.8vw;
        left: 0;
        z-index: -1;
    }

    /* コミュニケーションセクションモバイル調整 */
    .communication-section {
        padding: 60px 0;
    }
    .communication-text {
        font-size: 15px;
        line-height: 1.5em;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .communication-subtitle {
        margin-bottom: 15px;
    }
    .communication-item {
        width: 100% !important;
        max-width: none !important;
        min-height: auto;
        height: 100vw;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-direction: column;
        padding: 40px 20px;
        background: url('img/top/service_noise_sp.webp');
        background-size: auto 100vw;
        border-radius: 0px;
        position: relative;
    }
    .item-background {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-repeat: repeat-x;
        z-index: -1;
    }
    
    .sustainability-item::after {
        top: 4vw;
        left: 0vw;
        width: 80%;
        height: 80%;
    }
    .corporate-item::after {
        top: 15vw;
        left: 0vw;
        width: 80%;
        height: 80%;
    }
    .sales-item::after {
        top: 11vw;
        left: 21vw;
        width: 80%;
        height: 80%;
    }
    .communication-link span {
        display: none;
    }
    .communication-link::after {
        width: 15vw;
        height: 15vw;
        margin-left: 0; 
    }
    .communication-details {
        position: static;
        transform: none;
        margin-top: 30px;
    }
    .sustainability-item .communication-content {
        padding-top: 20px;
        padding-left: 4vw;
    }
    .corporate-item .communication-content {
        padding-top: 20px;
        padding-left: 4vw;
        padding-right: 0;
    }
    .corporate-item {
        justify-content: flex-start;
    }
    .sales-item .communication-content {
        padding-top: 20px;
        padding-left: 4vw;
    }



    .detail-tags {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 8px;
        position: absolute;
        bottom: 8vw;
        right: 0;
        width: 46vw;
    }
    .tag {
        width: 100%;
        border-radius: 20px 0 0 20px;
        padding: 1px 12px 2px !important;
        font-size: 12px;
    }
    
    .special-site-section,
    .sus-up-section,
    .our-strength-section,
    .works-section,
    .topics-section {
        padding: 0 0;
    }

    /* セクションタイトルのモバイル調整 */
    .special-site-section .section-title,
    .sus-up-section .section-title,
    .our-strength-section .section-title,
    .works-section .section-title {
        font-size: 24px;
        padding: 8px 20px;
        margin-bottom: 30px;
    }
    .special-site-section .section-title::before,
    .sus-up-section .section-title::before,
    .our-strength-section .section-title::before,
    .works-section .section-title::before {
        content: '';
        display: block;
        width: 11vw;
        height: 33%;
        background-color: #ecfe00;
        position: absolute;
        top: 7vw;
        left: 0;
        z-index: -1;
    }
    .special-site-section {
        margin-bottom: 50px;
    }
    .our-strength-section .section-title {
        margin-top: 40px;
    }
    
    /* SPECIAL SITE モバイル調整 */
    .special-site-inner {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .special-site-text {
        font-size: 16px;
        text-align: left;
        padding: 0 30px;
        order: 2;
        margin-bottom: 25px;
    }
    
    .special-site-images {
        order: 1;
    }
    
    .bags-image {
        max-width: 250px;
    }
    .special-site-button {
        text-align: center;
        padding: 0 0 20px;
        width: 100%;
        height: auto;
        max-height: 100%;
        margin: 0 auto;
    }
    .btn-ootow-spsite img {
        max-width: 350px;
        margin: 0 auto
    }
    
    .sus-up-description {
        font-size: 16px;
        margin: -10px auto 40px auto;
    }
    
    /* SUS-UP Swiper モバイル調整 */
    .sus-up-card .card-image {
        aspect-ratio: 4/3;
        max-width: 100%;
        display: block;
    }
    
    .sus-up-card .card-title {
        font-size: 16px;
    }
    
    .sus-up-card .card-date {
        font-size: 12px;
    }
    
    .sus-up-carousel-container {
        padding: 0 20px 50px 20px;
    }
    
    .sus-up-button-next,
    .sus-up-button-prev {
        display: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    /* OUR STRENGTH モバイル調整 */

    .our-strength-section {
        background: url('img/top/head_noise_sp.webp');
        background-repeat: no-repeat;
        background-size: auto 58vw;
    }
    .our-strength-content {
        max-width: 100%;
        margin: 0 auto;
        padding: 20px 30px 20px 20px;
        position: relative;
        overflow: hidden;
    }
    .strength-item {
        border-radius: 70px;
        flex-direction: column;
        text-align: center;
        margin-bottom: 12px;
        padding: 40px 40px 30px 40px;
        gap: 20px;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
    }
    .strength-item::before {
        display: none;
    }
    
    .strength-icon {
        width: 150px;
        height: auto;
        margin: 0 auto;
    }
    
    .strength-title {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .strength-description {
        font-size: 18px;
        text-align: left;
        font-weight: 600;
        line-height: 1.8;
    }
    .strength-item:nth-child(2) ,
    .strength-item:nth-child(3) ,
    .strength-item:nth-child(4) 
     {
        position: relative;
        left: auto;
        width: auto;
    }
    .strength-item:nth-child(2) .strength-icon {
        transform: scale(1);
    }
    .strength-item:nth-child(4) .strength-icon {
        transform: scale(1.3);
    }   
    
    /* WORKS モバイル調整 */
    .works-section {
        margin-top: 50px;
    }
    .works-content {
        margin-top: 0;    }
    .works-view-all {
        margin-bottom: 50px;
    }
    .works-swiper {
        padding: 0 20px;
    }
    
    .works-slide-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 20px;
    }
    .works-button-next {
        left: calc(50% + 10px);
    }
    .works-button-prev {
        left: calc(50% - 50px);
    }
    .works-button-next, .works-button-prev {
        bottom: 60px;
    }    
    .works-pagination, .works-swiper .swiper-pagination {
        margin-top: 100px !important;
    }
    .works-image {
        flex: none;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .works-text {
        padding-left: 0;
    }
    
    .works-client {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .works-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .works-language {
        font-size: 16px;
    }
    
    .works-button-next,
    .works-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .works-button-next img,
     .works-button-prev img {
         width: 40px;
         height: 40px;
     }
     
     /* TOPICS モバイル調整 */
     .topics-container {
         flex-direction: column;
         gap: 0;
     }
     .topics-content {
        padding-left: 5%;
     }
     
     .topics-title-area {
         flex: none;
         position: static;
         text-align: center;
     }
     
     .topics-title {
         font-size: 32px;
         margin-bottom: 0px;
     }
     
     .topic-item {
         flex-direction: column;
         gap: 0;
         padding: 20px 0;
         text-align: left;
         border-bottom: 1.5px solid #555;
     }
     
     .topic-date {
         flex: none;
         font-size: 15px;
         font-weight: 600;
         color: #333;
         margin-bottom: 10px;
     }
     
     .topic-text {
         font-size: 16px;
         line-height: 1.6;
     }
     /* .communication-item.corporate-item {
        padding: 40px 20px !important;
    } */

    .brsp { display:block; }
    .brpc { display:none; }
}

/* ----------------------------------------------------------------------
　ページ上部　ヘッダー（style.cssから移植）
---------------------------------------------------------------------- */
:body.admin-bar #header { top:32px; }
#header {
  z-index: 66677;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: rgba(255, 255, 255, 0) !important;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, var(--header-shadow-opacity, 0));
  transition: height 0.25s cubic-bezier(0.4, 0.0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1),
              opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s,
              box-shadow 0.25s cubic-bezier(0.4, 0.0, 0.2, 1),
              background 0.3s ease,
              backdrop-filter 0.3s ease;
}

/* 100vhスクロール後のヘッダー背景 */
:body #header.scrolled-100vh,
:body.header_type2 #header.scrolled-100vh,
:body.active_header #header.scrolled-100vh,
:body.header_fixed #header.scrolled-100vh {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* スクロール時のヘッダー */
#header.scrolled {
  height: 90px;
  /* Safari最適化 */
  transform: translateZ(0);
  /* 強力なGPUアクセラレーション */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#header.first_animate { 
  transform: translate3d(0,-50%,0); 
  opacity: 0;
  /* Safari最適化 */
  -webkit-transform: translate3d(0,-50%,0);
}
:body.show_page_header #header.first_animate { 
  transform: translate3d(0,0,0); 
  -webkit-transform: translate3d(0,0,0);
  opacity: 1; 
}
:body.active_header #header { border:none; }
#container:before { content:''; display:block; width:100%; height:100%; background:rgba(0,0,0,0.3); position:fixed; top:0; left:0; /*transition: opacity 0.25s ease;*/ opacity:0; pointer-events:none; z-index:100; }
body.active_header #container:before { opacity:1; z-index:200; }
:body.page-template-page-tcd-lp:not(.hide_page_header) #header, body.header_slider_layout_type2 #header { border-bottom:none; }
:body.page-template-page-tcd-lp.header_fixed:not(.hide_page_header) #header, body.header_slider_layout_type2.header_fixed #header { border-bottom:1px solid #ddd; }
:body.active_header.page-template-page-tcd-lp.header_fixed:not(.hide_page_header) #header,
:body.header_slider_layout_type2.header_fixed:not(.hide_page_header) #header{ border-bottom:none; }

/* ロゴ */
#header_logo { height: auto; position:absolute; left:40px; top:50%; transform:translateY(-50%); z-index:3; }
#header_logo img { display:block; transition: all 0.25s ease; max-height:calc(100% - 40px); height: 30px; width:auto; }
#header_logo img.mobile { display:none; }
#header_logo a { height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; transition: all 0.25s ease; }
#header_logo a:hover img { opacity:0.5; }
#header_logo a .logo_text { font-weight:var(--tcd-logo-font-weight, 600); line-height:1.2; color:#000; word-wrap:break-word; }
#header_logo img.mobile { display:none; }
body.hide_logo #header_logo { display:none !important; }

/* 検索機能は削除済み */

/* 背景が透明の時 */
:body.header_type2 #header { position:fixed; background:rgba(255, 255, 255, 0) !important; border-bottom:1px solid rgba(255,255,255,0.3); }
body.header_type2 #header_logo { opacity:0; transition: all 0.25s ease; pointer-events:none; }
body.header_type2 #header_logo2 { opacity:1; transition: all 0.25s ease; pointer-events:auto; }
body.header_type2 #global_menu > ul > li > a { color:#fff; }
body.header_type2 #header_search .search_button:before { color:#fff; }
:body.header_type2.active_header #header:not(.scrolled-100vh), body.header_type2.header_fixed #header:not(.scrolled-100vh) { background:rgba(255, 255, 255, 0) !important; border-bottom:1px solid rgba(255,255,255,0.3); }
:body.header_type2.active_header #header.scrolled-100vh, body.header_type2.header_fixed #header.scrolled-100vh { background:rgba(255, 255, 255, 0.8) !important; border-bottom:1px solid #ddd; }
body.header_type2.active_header #header_logo, body.header_type2.header_fixed #header_logo { opacity:1; pointer-events:auto; }
body.header_type2.active_header #header_logo2, body.header_type2.header_fixed #header_logo2 { opacity:0; pointer-events:none; }
body.header_type2.active_header #global_menu > ul > li > a, body.header_type2.header_fixed #global_menu > ul > li > a { color:#000; }
body.header_type2.active_header #header_search .search_button:before, body.header_type2.header_fixed #header_search .search_button:before { color:#000; }

/* ヘッダーメッセージ */
#header_message {
	display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  min-height:50px; text-align: center; font-size:14px; font-weight:600; padding:15px 20px;
}
#header_message .label { display:block; color:inherit; line-height:1.4; padding:0 20px; }
#header_message a.label:hover { text-decoration: underline; }
@media (max-width: 767px) {
  #header_message { min-height:40px; font-size:12px; }
}

/* ヘッダーメッセージが固定のときのヘッダー位置調整 */
:body.header_type2 #header_message + #header,
:body.home.header_slider_layout_type2 #header_message + #header {
  position: relative;
  margin-bottom: -80px;
}

/* グローバルメニュー */
#global_menu { height:30px; z-index:2; position:absolute; top:50%; transform:translateY(-50%); right:40px; font-family:var(--base-font-family); font-weight: 400; }

#global_menu > ul { position:relative; text-align:center; font-size:0; }
#global_menu > ul > li { display:inline-block; position:relative; line-height:1; text-align:center; font-size:18px; }
#global_menu > ul > li > a { color:#000 !important; text-decoration:none; height:30px; font-family: var(--base-font-family); font-weight: 400; line-height:30px; padding:0 20px; display:block; position:relative; }
#global_menu > ul > li.current-menu-item { color:#000 !important;}
:html body #global_menu > ul > li.current-menu-item > a { color:#000000 !important;}
:html body #global_menu > ul > li.current-menu-item > a:link { color:#000000 !important;}
:html body #global_menu > ul > li.current-menu-item > a:visited { color:#000000 !important;}
#global_menu ul ul { background:#fff; display:none; width:250px; position:absolute; top:30px; margin:0; padding:0; z-index:100; }
#global_menu ul ul ul { left: 100%; top:0 !important; margin:0; }
#global_menu > ul > li:last-of-type > ul { right:0; }
#global_menu > ul > li:last-of-type ul ul { left:auto; right: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; }
#global_menu ul ul a:hover { text-decoration:none; color:#fff; }
#global_menu ul ul li.menu-item-has-children > a:before { font-family:'design_plus'; content:'\e910'; color:#000; display:block; position:absolute; right:9px; top:19px; font-size:10px; }
#global_menu ul ul li.menu-item-has-children > a:hover:before { color:#fff; }
:body.megamenu_dark_color #global_menu ul ul { background:#000; }
:body.megamenu_dark_color #global_menu ul ul a { color:#fff; }
:body.megamenu_dark_color #global_menu ul ul li.menu-item-has-children > a:before { color:#fff; }

/* グローバルメニュー（1100px以下では非表示） */
@media screen and (max-width:1100px) {
  #global_menu { display:none; }
}

/* モバイルメニューとドロワーメニューはデスクトップ（1100px以上）では非表示 */
@media screen and (min-width:1101px) {
  #mobile_menu,
  #drawer_menu,
  #drawer_menu_button { 
    display: none !important; 
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* #container（純粋な#containerのみ） */
#container {
    position:relative;
    overflow:clip;
    top: -150px
}
@media screen and (max-width:768px) {
  #container {
    top: -100px;
  }
}
:body.hide_breadcrumb #container { padding-top:0; }
#container:before { content:''; display:block; width:100%; height:100%; background:rgba(0,0,0,0.3); position:fixed; top:0; left:0; /*transition: opacity 0.25s ease;*/ opacity:0; pointer-events:none; z-index:100; }
body.active_header #container:before { opacity:1; z-index:200; }

/* ドロワーメニュー開閉ボタン（1100px以下） */
@media screen and (max-width:1100px) {
  #drawer_menu_button { 
    width:50px; 
    height:50px; 
    display:block; 
    position:fixed; 
    right:10px; 
    top:50%; 
    transform:translateY(-50%);
    z-index:999999;
    cursor:pointer;
    background-color: #333333;
    border-radius: 50%;
  }
  #drawer_menu_button span { 
    width:22px; 
    height:1px; 
    background:#fff; 
    display:block; 
    position:absolute; 
    left:50%; 
    transform: translateX(-50%); 
    transition: all 0.4s ease; 
  }
  #drawer_menu_button span:nth-child(1) { top:19px; }
  #drawer_menu_button span:nth-child(2) { top:25px; }
  #drawer_menu_button span:nth-child(3) { top:31px; }
  body.header_type2 #drawer_menu_button span { background:#fff; }
  body.header_type2.header_fixed #drawer_menu_button span { background:#000; }
  html.open_menu #drawer_menu_button { z-index:9999999 !important; }
  html.open_menu #drawer_menu_button span:nth-child(1) { transform:translateX(-50%) rotate(45deg); top:25px; }
  html.open_menu #drawer_menu_button span:nth-child(2) { opacity:0; }
  html.open_menu #drawer_menu_button span:nth-child(3) { transform:translateX(-50%) rotate(-45deg); top:25px; }
  html.open_menu #drawer_menu_button span { background:#fff; }
}

/* ドロワーメニュー（全画面オーバーレイスタイル） */
@media screen and (max-width:1100px) {
  #drawer_menu {
    display:block; 
    position:fixed; 
    top:0; 
    left:0; 
    width:100vw; 
    height:100vh;
    height:100dvh;
    background:#000;
    color:#fff;
    z-index:999998;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    overflow-y:auto;
    -webkit-overflow-scrolling: touch;
  }
  .open_menu #drawer_menu { 
    opacity:1; 
    visibility:visible; 
    pointer-events:auto;
  }
  .open_menu #header { 
    z-index:999999;
  }
  #container:before { display:none; }
  .open_menu #container { }
  body.admin-bar #drawer_menu { top:32px; height:calc(100vh - 32px); height:calc(100dvh - 32px); }
}
@media only screen and (max-width: 782px) {
  body.admin-bar #drawer_menu { top:48px; height:calc(100vh - 48px); height:calc(100dvh - 48px); }
}

/* ドロワーメニューヘッダー */
@media screen and (max-width:1100px) {
  #drawer_menu .header { 
    position:relative; 
    width:100%; 
    height:80px; 
    border-bottom:1px solid rgba(255,255,255,0.1); 
    display:flex; 
    align-items:center; 
    justify-content:flex-end;
    padding:0 20px;
  }
}

/* モバイルメニュー */
@media screen and (max-width:1100px) {
  #mobile_menu { 
    width:100%; 
    margin:0; 
    padding:40px 0;
  }
  #mobile_menu ul { 
    margin:0; 
    list-style:none;
    padding:0;
  }
  #mobile_menu li ul { display:none; }
  #mobile_menu a {
    position:relative; 
    display:block; 
    margin:0; 
    padding:0 60px 0 40px; 
    height:60px; 
    line-height:60px; 
    font-size:18px; 
    font-weight:400; 
    font-family: var(--jp-font-family);
    border-bottom:1px solid rgba(255,255,255,0.05); 
    color:#fff; 
    transition: all 0.3s ease; 
    text-decoration:none; 
    overflow:hidden; 
    white-space:nowrap; 
    text-overflow:ellipsis; 
    visibility:visible;
  }
  #mobile_menu a:hover {
    background-color:rgba(255,255,255,0.05);
    padding-left:50px;
  }
  #mobile_menu li li a { 
    border:none; 
    height:60px; 
    line-height:60px; 
    font-size:16px;
    padding-left:60px;
  }
  #mobile_menu li li a:hover {
    padding-left:70px;
  }
}
@media screen and (max-width:768px) {
  #header {
    height: 68px !important;
    transition: height 0.25s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
  }
  #header_logo {
    left: 10px;
    height: 60px !important;
  }
  .symbol-circles {
    transform: translate(-28%, -63%) scale(1.4) rotate(40deg);
  }
  .open_menu #header_logo img, .open_menu #header_logo2 img {
    filter: brightness(0) invert(1) !important;
  }
  #footer_nav ul {
    gap: 0;
  }
  #footer_nav li {
    list-style: none;
    font-family: var(--jp-font-family);
  }
  #footer_nav li a {
        height: 50px;
    line-height: 50px;
  }
  #footer_nav li.separator {
    display: none;
  }
  #copyright {
    height: 50px;
    line-height: 50px;
    font-family: var(--jp-font-family);
    background-color: transparent !important;
  }
}