@charset "UTF-8";

/* =========================================
   コンテンツ用余白設定
========================================= */
main.page-content { padding-top: 0; padding-bottom: 0; }

/* =========================================
   Hero Section & 画像リビールエフェクト
========================================= */
.hero { height: 100vh; width: 100%; display: flex; flex-direction: column; padding-top: 20vh; box-sizing: border-box; background-color: var(--color-white); }
.hero-top-container { position: relative; width: 100%; flex: 0 0 auto; margin-bottom: 10vh; }
.hero-top { width: 80%; padding: 30px 0 30px 8%; position: relative; z-index: 2; box-sizing: border-box; }
.hero-title-en { font-size: clamp(2rem, 5vw, 6.5rem); font-weight: 900; line-height: 1.1; margin: 0; display: inline-block; width: 100%; }
.hero-bottom { flex: 1 1 auto; position: relative; width: 90%; overflow: hidden; background-color: var(--color-dark); }
.img-reveal-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.img-reveal-wrap::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; background-color: #e0e0e0; z-index: 5; transform: translateX(101%); }
.img-reveal-wrap.is-active::after { animation: blockRevealRL 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
@keyframes blockRevealRL { 0% { transform: translateX(101%); } 50% { transform: translateX(0); } 100% { transform: translateX(-101%); } }
.img-reveal-wrap .img-inner { width: 100%; height: 100%; opacity: 0; }
.img-reveal-wrap.is-active .img-inner { animation: textReveal 0.1s 0.4s forwards; }
.img-reveal-wrap.delay-1::after { animation-delay: 0.2s; }
.img-reveal-wrap.delay-1 .img-inner { animation-delay: 0.6s; }
.img-reveal-wrap.delay-2::after { animation-delay: 0.4s; }
.img-reveal-wrap.delay-2 .img-inner { animation-delay: 0.8s; }
.hero-sub { width: 30%; position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; }
.hero-sub-img { background-color: #fce205; background-image: url('/images/business/hero-sub.jpg'); background-size:auto 100% ; background-position: center; background-repeat: no-repeat; }
.hero-slide { background-size: cover; background-position: center; }
.slide1 { background-image: url('/images/business/homag_110.png'); }

/* =========================================
   PICK UP Section
========================================= */
.pickup { text-align: left; background-color: var(--color-white); position: relative; z-index: 10; width: 40%; margin-top: -100px; margin-left: 8%; margin-bottom: 80px; padding: 40px; box-sizing: border-box; border-radius: 4px; }
.pickup .pickup-catch { font-size: 1.6rem; font-weight: 700; margin-top: 0; margin-bottom: 20px; line-height: 1.6; color: var(--color-text); }
.pickup p.pickup-desc { font-size: 0.95rem; color: #555; line-height: 1.8; margin-top: 0; margin-bottom: 30px; }
.scroll-fade { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.scroll-fade.is-visible { opacity: 1; transform: translateY(0); }
.pickup-title-wrap { display: inline-block; overflow: hidden; padding-bottom: 0.1em; }
.reveal-text-lr { position: relative; display: inline-block; }
.reveal-text-lr > span { display: inline-block; opacity: 0; }
.reveal-text-lr::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; background-color: var(--color-dark); transform: translateX(-101%); }
.scroll-fade.is-visible .reveal-text-lr > span { animation: textReveal 0.1s 0.4s forwards; }
.scroll-fade.is-visible .reveal-text-lr::after { animation: blockRevealLR 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.reveal-wrap { display: block; overflow: hidden; padding-bottom: 0.1em; }
.reveal-text { position: relative; display: inline-block; }
.reveal-text > span { display: inline-block; opacity: 0; }
.reveal-text::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; transform: translateY(101%); }
.line1 { color: var(--color-dark); }
.line2 { color: #2c5282; }
.hero-title-en.is-active .line1 > span { animation: textReveal 0.1s 0.4s forwards; }
.hero-title-en.is-active .line1::after { background-color: var(--color-dark); animation: blockReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.hero-title-en.is-active .line2 > span { animation: textReveal 0.1s 0.7s forwards; }
.hero-title-en.is-active .line2::after { background-color: #2c5282; animation: blockReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards; }
@keyframes blockReveal { 0% { transform: translateY(101%); } 50% { transform: translateY(0); } 100% { transform: translateY(-101%); } }
@keyframes blockRevealLR { 0% { transform: translateX(-101%); } 50% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes textReveal { 0% { opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 768px) {
  .hero-top { width: 100%; padding-left: 5%; }
  .hero-sub { width: 100%; opacity: 0.3; }
  .hero-sub-img { background-color: #fce205; background-image: url('/images/business/hero-sub.jpg'); background-size:100% auto ; background-position: center; background-repeat: no-repeat; }
  .hero-bottom { width: 100%; }
  .pickup { width: 90%; margin-left: 5%; margin-right: 5%; padding: 30px; margin-top: -50px; }
  .slide1 { background-image: url('/images/business/homag_110_sp.png'); }
}

/* =========================================
   ページ独自スタイル & 2カラムレイアウト
========================================= */
.tac { text-align: center; }
#site-body { margin: 0; padding: 0; }
#site-body .item7, #site-body .item8 { width: 1280px; max-width: 100%; margin: 0 auto 80px auto; padding: 0; box-sizing: border-box; }
.layout-2col { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 40px; margin-bottom: 80px; }
.sidebar { width: 25%; position: sticky; top: 120px; align-self: flex-start; }
.local-menu { list-style: none; padding: 0; margin: 0; }
.local-menu li { margin-bottom: 15px; }
.local-menu > li > a, .local-menu > li > span { text-decoration: none; color: var(--color-text); font-weight: 700; font-size: 0.95rem; transition: color 0.3s; display: flex; align-items: center; }
.local-menu > li > a::before, .local-menu > li > span::before { content: ""; display: inline-block; width: 6px; height: 6px; background-color: var(--color-text); border-radius: 50%; margin-right: 10px; transition: background-color 0.3s; }
.local-menu a:hover { color: #9F8E23; }
.local-menu a:hover::before { background-color: #9F8E23; }

/* サブメニュー (設備一覧用) */
.local-sub-menu { list-style: none; padding: 0 0 0 15px; margin: 5px 0 20px 0; }
.local-sub-menu li { margin-bottom: 10px; }
.local-sub-menu a { font-size: 0.85rem; font-weight: 500; color: #666; text-decoration: none; display: flex; align-items: center; transition: color 0.3s; }
.local-sub-menu a::before { content: ""; display: inline-block; width: 4px; height: 4px; background-color: #666; border-radius: 50%; margin-right: 8px; transition: background-color 0.3s; }
.local-sub-menu a:hover { color: #9F8E23; }
.local-sub-menu a:hover::before { background-color: #9F8E23; }

.main-col { width: 70%; }
h3.presenTitle { scroll-margin-top: 120px; }

@media (max-width: 1024px) {
  #site-body .item7, #site-body .item8 { width: 100%; padding: 0 24px; }
  .layout-2col { flex-direction: column; }
  .sidebar { width: 100%; position: static; margin-bottom: 40px; }
  .main-col { width: 100%; }
}

.presenTitle { font-family: var(--font-main); font-size: 2.5rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: #000; margin: 0 0 30px 0; padding: 0; border: none; }
@media (max-width: 768px) { .presenTitle { font-size: 1.8rem; } }
.pt50 { padding-top: 50px; }

/* =========================================
   Business 動画・コンセプトセクション
========================================= */
.lp-chatch { width: 100%; margin: 0; padding: 40px 0; display: flex; flex-flow: row wrap; }
.lp-chatch-one { order: 1; width: 60%; }
.lp-chatch-two { order: 2; width: 40%; display: flex; justify-content: flex-end; align-items: flex-end; }
.lp-chatch-three { order: 3; width: 50%; display: flex; justify-content: left; align-items: flex-start; }
.lp-chatch-four { order: 4; width: 50%; }
.lp-chatch-five { order: 5; width: 30%; display: flex; justify-content: flex-start; align-items: flex-end; }
.lp-chatch-six { order: 6; width: 70%; display: flex; justify-content: right; }
.lp-chatch-seven { order: 7; width: 60%; }
.lp-chatch-eight { order: 8; width: 40%; display: flex; justify-content: right; align-items: flex-start; }
.lp-chatch-title, .lp-chatch-sub { font-size: 1.1rem; font-weight: 800; line-height: 1.4; letter-spacing: 2px; margin: 0; color: var(--color-dark); }
.lp-chatch-title { padding: 0 40px 0 0; }
.lp-chatch-sub { padding: 0 0 0 40px; }
.lp-chatch-txt { font-size: 0.95rem; font-weight: 500; line-height: 1.8; letter-spacing: 1px; text-align: left; margin: 0; padding: 24px 40px; color: var(--color-text); }
.youtube { width: 100%; padding-bottom: 56.25%; height: 0px; position: relative; }
.youtube iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media only screen and (max-width: 1080px) {
  .lp-chatch { align-items: flex-end; }
  .lp-chatch-one { width: 100%; }
  .lp-chatch-two { width: 74%; margin: 24px 0 0 24%; justify-content: flex-end; padding: 0; }
  .lp-chatch-three { width: 100%; }
  .lp-chatch-four { width: 100%; }
  .lp-chatch-five { order: 6; width: 100%; margin: 24px 0 0 0; justify-content: left; padding: 0; }
  .lp-chatch-six { order: 5; width: 100%; }
  .lp-chatch-seven { order: 8; width: 100%; }
  .lp-chatch-eight { order: 7; width: 100%; }
  .lp-chatch-title { padding: 0; }
  .lp-chatch-sub { padding: 0 0 0 24px; }
  .lp-chatch-txt { max-width: 100%; padding: 30px 0; }
}

/* =========================================
   設備アコーディオンセクション
========================================= */
.accordion-item { scroll-margin-top: 120px; }
.accordion-trigger { font-size: 1.2rem; letter-spacing: 1px; font-weight: 700; padding: 20px 30px 20px 0; margin: 0; color: var(--color-dark); cursor: pointer; position: relative; transition: opacity 0.3s ease; }
.accordion-trigger:hover { opacity: 0.7; }
.accordion-trigger::after { content: ''; position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; border-right: 2px solid var(--color-dark); border-bottom: 2px solid var(--color-dark); transition: transform 0.3s ease; }
.accordion-trigger.is-active::after { transform: translateY(-50%) rotate(-135deg); }
.accordion-content { display: none; padding-bottom: 10px; animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   設備アコーディオン内リスト & HOMAG 2カラム
========================================= */
.function { list-style: none; margin: 0; padding: 0; }
.function li { margin-bottom: 15px; font-size: 0.95rem; color: var(--color-text); line-height: 1.6; }
.function img { width: 100%; max-width: 400px; margin-top: 10px; display: block; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.homag-card { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px dashed #ccc; }
.homag-card:last-child { border-bottom: none; margin-bottom: 20px; padding-bottom: 0; }
.homag-img { width: 45%; }
.homag-img:empty { display: none; }
.homag-img img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.homag-desc { width: calc(55% - 30px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.homag-img:empty + .homag-desc { width: 100%; }
.homag-title { font-size: 1.15rem; font-weight: 700; color: var(--color-dark); margin: 0 0 15px 0; }
.homag-text { font-size: 0.95rem; line-height: 1.8; color: var(--color-text); margin: 0; } /* margin修正 */

@media (max-width: 768px) {
  .homag-img, .homag-desc { width: 100%; }
}
