/*
Theme Name: SEIEI ORIGINAL THEME
Theme URI: 
Author: BRIGHT COMMS
Author URI: https://bright-comms.com/
Description: 成栄様オリジナルのコーポレートサイト用WordPressテーマです。
*/

/****************************************************
  リセットスタイル
****************************************************/

/* プル・トゥ・リフレッシュを無効化 */
html, body {
    overscroll-behavior: none;
}

.main-visual {
    overscroll-behavior: none;
}

/****************************************************
  共通スタイル
****************************************************/

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: clip;
}

.english-text {
    font-family: 'Lato', sans-serif;
}

a {
    transition: opacity 0.3s ease;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

p {
    line-height: 1.8;
}

article:not(.sticky) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  background-color: whitesmoke;
}

article h2 {
  text-align: center;
}

.pc-only, .pc-only2 {
    display: inline;
}

/* ヘッダースタイル */
.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 0 0;
    background-color: transparent;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 60px;
    align-items: center;
}

.header-logo img {
    display: flex;
    align-items: center;
    width: 30%;
    height: auto;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .menu-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav .menu-list li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    transition: color 0.5s ease;
}

.page-template-default  .menu-list li a {
    color: #1a1a1a;
}

.header-nav .menu-list .contact-button {
    background-color: #00A0E9;
    padding: 10px 30px;
    border-radius: 19px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

/* モバイルメニュー */
.mobile-menu-icon,
.mobile-menu-bg {
    display: none; 
}

.mobile-menu-icon {
    font-size: clamp(14px, 5vw, 30px);
    color: #1a1a1a;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #00A0E9;
    z-index: 1999;
    overflow-y: auto;
    padding-top: 100px; 
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

.mobile-menu-inner {
    width: 80%;
    margin: 0 auto;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mobile-menu-list li a {
    font-size: clamp(14px, 3.5vw, 22px);
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    text-align: left;
    line-height: 1.8;
}

.mobile-menu-icon.is-open i::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Pro";
    color: #FFFFFF;
}

.mobile-menu-bg.is-open {
    opacity: 1;
    pointer-events: auto;
}

.no-scroll {
    overflow: hidden;
}

/* フッタースタイル */
.site-footer {
    background-color: #00A0E9;
    padding: 140px 60px 90px;
    color: #FFFFFF;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    max-width: 40%;
}

.footer-title {
    font-size: 72px;
    font-weight: 400;
    text-align: left;
    color: #FFFFFF;
    margin: 0 0 40px;
    line-height: 1;
}

.footer-text, .footer-address, .footer-copyright {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #FFFFFF;
    margin: 0 0 40px;
}

.footer-phone {
    font-size: 72px;
    font-weight: 400;
    text-align: left;
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    margin-bottom: 40px;
}

.footer-link {
    font-size: 30px;
    font-weight: 400;
    text-align: left;
    color: #FFFFFF;
    text-decoration: none;
    display: block;
}

.footer-underline {
    width: 514px;
    height: 1px;
    background-color: #FFFFFF;
    margin: 0 0 40px;
    border-style: none;
}

.footer-right {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    max-width: 1000px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
}

.footer-menu-item {
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 50px;
}

.machine-schedule-box a {
	display: block;
}

.machine-schedule-box .footer-menu-item {
	margin-bottom: 1em;
}

.footer-logo {
    text-align: center;
    margin-top: 130px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/****************************************************
  固定ページ追加
****************************************************/
.page-template-default main {
	padding: 140px 60px 90px;
}

/****************************************************
  トップページスタイル
****************************************************/

/* メインビジュアルスタイル */
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.main-visual-content {
    position: absolute;
    bottom: 5%;
    left: 60px;
    color: #FFFFFF;
    transition: opacity 0.5s ease;
    width: -webkit-fill-available;
}

.main-visual-content img {
    width: 602px;
    height: auto;
}

.main-visual-content h1 {
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

.main-visual-content p {
    font-size: 18px;
    font-weight: 400;
    margin: 40px 0;
}

.iso-mark {
    position: relative;
    width: 100%;
    height: 100%;
}

.iso-mark img {
    position: absolute;
    right: 2%;
    bottom: 10%;
    width: 400px;
}

/* アバウトスタイル */
.about-us-section {
    padding: 140px 60px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-us-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.about-us-left {
    text-align: left;
    display: flex;
    align-items: flex-start;
    width: 25%;
}

.about-us-left h2 {
    font-weight: 700;
    font-size: 50px;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.3;
}

.about-us-center {
    text-align: center;
}

.about-us-image {
    width: 840px;
    height: auto;
    margin: 0;
}

.about-us-right {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 25%;
}

.about-us-right h3 {
    font-size: 22px;
    font-weight: 600;
}

.about-us-right p {
    color: #1A1A1A;
}

.about-us-button {
    background-color: #EEEEEE;
    width: 220px;
    height: 46px;
    border-radius: 23px;
    font-weight: 400;
    font-size: 16px;
    color: #1A1A1A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    margin-top: 50px;
}

.about-us-button i {
    margin-left: 10px;
}

/* プロダクションスタイル */
.production-section {
    background-color: #1A1A1A;
    padding: 140px 60px;
}

.production-title {
    font-weight: 700;
    font-size: 50px;
    color: #FFFFFF;
    text-align: left;
    margin: 0 0 60px;
}

.production-container {
	display: flex;
    justify-content: space-between;
	margin-bottom: 5em;
	gap: 2em;
}

.production-container h3 {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 600;
}

.production-container-left {
	width: 45%;
    overflow: hidden;
}

.production-container-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 6;
}

.production-container-left h4 {
	font-size: 1.6em;
    line-height: 1;
    margin: 0 0 1em;
    padding: 0;
    color: #FFFFFF;
    font-weight: 500;
}


.production-description {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: left;
    margin-bottom: 80px;
}

/* ★ 横スクロール機能廃止＆画像を横一列（5枚並び）に表示するスタイル ★ */
.horizontal_scroll {
    height: auto;
    box-sizing: border-box;
    padding: 20px 0;
}

.horizontal_scroll .sticky {
    position: static;
    display: block;
}

.horizontal_scroll .scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 20px;
    justify-content: space-between;
}

.horizontal_scroll .scroller > section {
    flex: 0 0 calc(90% / 5);
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.slide-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.slide-number {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
}

.slide-title {
    font-size: 32px !important;
    margin: 0;
    line-height: 1;
	color: #FFFFFF;
}

.slide-button {
    background-color: #333333;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    margin-left: auto;
}

/* ストレングススタイル */
.strength-section {
    background-color: #FFFFFF;
    padding: 140px 60px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.strength-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-wrap: nowrap;
}

.strength-left {
    position: sticky;
    top: 60px;
    text-align: left;
    z-index: 10;
    flex-shrink: 0;
    width: 28%;
}

.strength-right {
    text-align: left;
    width: 62%;
    position: relative;
    z-index: 5;
}

.strength-title {
    font-size: 58px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 50px;
}

.strength-text p {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.8;
}

.strength-block {
    margin-bottom: 70px;
}

.strength-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.reason-number {
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
}

.reason-title {
    font-size: 38px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 15px;
}

.reason-text {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.8;
    margin: 0;
}

/****************************************************
  事業内容ページスタイル
****************************************************/
.page-id-44 .site-header {
    position: fixed;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.page-id-44 .header-nav .menu-list li a {
    color: #1a1a1a;
}

.page-id-44 .header-nav .menu-list .contact-button {
    color: #FFFFFF;
}

/* タイトルセクション */
.business-title-section {
    width: 100%;
    margin: 0 auto;
    padding: 200px 60px 140px;
    box-sizing: border-box;
}

.business-title-inner {
    position: relative;
}

.business-title {
    font-family: 'EB Garamond', serif;
    font-size: 180px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    text-align: left;
    line-height: 1;
}

.business-description {
    max-width: 1300px;
    font-size: 24px;
    font-weight: 400;
    color: #1A1A1A;
    margin-top: 100px;
    margin-left: auto;
    text-align: left;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ビジネスセクション */
.business-section {
    width: 100%;
    margin: 0 auto;
    padding: 0 60px 120px;
    box-sizing: border-box;
}

.business-section-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

/* 左カラム */
.business-left-col {
    width: 94%;
    box-sizing: border-box;
    position: relative;
    border-right: solid #CCCCCC 1px;
    padding-right: 4%;
}

.business-box {
    width: 100%;
    box-sizing: border-box;
    padding: 60px 0;
}

.business-hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #CCCCCC;
    margin: 0; 
    padding: 0;
}

.business-box-image-area {
    width: 80%;
    height: 1000px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.business-box-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.business-box-number {
    font-size: 14px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0 0 25px;
    line-height: 1;
    color: #00a0e9;
    text-align: center;
}

.business-box-title {
    font-size: 38px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 25px;
    line-height: 1.6;
    color: #00a0e9;
    text-align: center;
}

.business-box-subtitle {
    font-size: 30px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0 0 20px;
    line-height: 1.5;
    border-left: 4px solid #00a0e9;
    padding-left: 0.75em;
}

.business-box-text {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.8;
}

.business-divider {
    width: 1px;
    background-color: #CCCCCC;
    height: 100%;
    flex-shrink: 0;
    margin: 0 20px;
}

/* 右カラム */
.business-right-col {
    width: 4%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
}

.business-right-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-orientation: mixed;
    cursor: pointer;
}

.business-right-number {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.business-right-text {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-align: center;
    writing-mode: vertical-rl; 
}

.business-right-number,
.business-right-text {
    color: #666666;
}

/* アニメーション */
.business-right-item.active .business-right-number,
.business-right-item.active .business-right-text {
    color: #00a0e9;
}

.business-right-item.active {
    transition: color 0.3s ease;
}

.business-right-col {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 10;
}

.business-right-text {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transition: none;
}

.business-right-item.active .business-right-number {
    transition: color 0.5s ease;
}

.business-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.business-achievements-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.business-achievements-item-image-area {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1 / 1;
}

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

.business-achievements-item-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #1A1A1A;
    line-height: 1.4;
}

.business-achievements-item-text {
    font-size: 16px;
    color: #1A1A1A;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* 主要設備一覧テーブル */
.business-equipment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.business-equipment-table th,
.business-equipment-table td {
    border: 1px solid #CCCCCC;
    padding: 10px;
    text-align: left;
}
.business-equipment-table th {
    background-color: #00A0E9;
    color: #FFFFFF;
    font-weight: bold;
}
.business-equipment-table td {
    background-color: #FFFFFF;
    color: #1a1a1a;
}
.business-equipment-table td.bold {
    font-weight: bold;
}
.business-equipment-table td.bold .cell-content {
    display: flex;
    align-items: center;
}

/****************************************************
  会社案内ページスタイル
****************************************************/
.page-id-49 .site-header {
    position: fixed;
    padding: 30px 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.page-id-49 .header-nav .menu-list li a {
    color: #1a1a1a;
}

.page-id-49 .header-nav .menu-list .contact-button {
    color: #FFFFFF;
}

/* タイトルセクション */
.about-title-section {
    width: 100%;
    margin: 0 auto;
    padding: 350px 60px 200px;
    box-sizing: border-box;
}

.about-title-inner {
    position: relative;
}

.about-title {
    font-family: 'EB Garamond', serif;
    font-size: 180px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    text-align: left;
    line-height: 1;
}

/* イメージセクション */
.about-image-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}
.about-image-area {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}
.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 理念セクション */
.about-philosophy-section {
    width: 100%;
    box-sizing: border-box;
    padding: 200px 60px;
}
.about-philosophy-inner {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}
.about-philosophy-left {
    width: 45%;
}
.about-philosophy-heading {
    font-size: 60px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}
.about-philosophy-right {
	width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
}
.about-philosophy-text {
    font-size: 20px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    text-align: left;
    line-height: 1.8;
}
.about-video-button {
    background-color: #00A0E9;
    width: 260px;
    height: 60px;
    border: none;
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 動画ポップアップモーダル */
.about-video-modal {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.about-video-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.about-video-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background-color: #000;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
.about-video-modal-close {
    position: absolute;
    top: -45px;
    right: -45px;
    background: transparent;
    border: none;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}
.about-video-player {
    width: 100%;
    height: auto;
    display: block;
}

/* 自動横スライドコンテンツ */
.about-slider-section {
    width: 100%;
    overflow: hidden;
}
.about-slider-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 400px;
}
.about-slider-track {
    display: inline-flex;
    height: 400px; 
    animation: aboutSliderAnim 20s linear infinite;
}
.about-slider-track img {
    width: 580px; 
    height: 400px;
    object-fit: cover; 
    flex-shrink: 0;
    margin-right: 0; 
}

/* キーフレーム: 左方向に流れる */
@keyframes aboutSliderAnim {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 会社概要セクション */
.about-company-section {
    width: 100%;
    padding: 100px 60px;
    box-sizing: border-box;
}
.about-section-hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #CCCCCC;
    margin: 0 0 100px;
    padding: 0;
}
.about-company-title {
    font-size: 60px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 60px;
    text-align: left;
    line-height: 1;
}
.about-company-table-wrap {
    overflow-x: auto;
}
.about-company-table {
    width: 100%;
    border-collapse: collapse;
    border: solid 1px #DDDDDD;
}
.about-company-table th,
.about-company-table td {
    border: solid 1px #DDDDDD;
    padding: 20px;
    line-height: 1.8;
}
.about-company-table th {
    background-color: #F5F5F5;
    width: 16%;
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    vertical-align: top;
}
.about-company-table td {
    background-color: #FFFFFF;
    width: 84%;
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
}
.about-company-table a {
    color: #1A1A1A;
    align-items: center;
    display: flex;
	cursor: pointer;
}
/* =========================
   会社ロゴマーク表示用
========================= */
.company-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

/* アクセスマップ */
.about-access-section {
    width: 100%;
    padding: 0 60px 100px;
    box-sizing: border-box;
}
.about-access-title {
    font-size: 60px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 60px;
    text-align: left;
    line-height: 1;
}
.about-map-wrap {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ISOセクション */
.about-iso-section {
    width: 100%;
    padding: 0 60px 100px;
    box-sizing: border-box;
}
.about-iso-title {
    font-size: 60px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 60px;
    text-align: left;
    line-height: 1;
}
.about-iso-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.about-iso-section .about-iso-row:first-of-type {
    margin-bottom: 60px;
}

.about-iso-left {
    width: 60%;
}
.about-iso-right {
    width: 40%;
    display: flex;
    justify-content: flex-end;
}
.about-iso-subtitle {
    font-size: 30px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 30px;
    text-align: left;
}
.about-iso-text {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.8;
    text-align: left;
}
.about-iso-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* 企業行動憲章 */
.about-ethics-section {
    width: 100%;
    padding: 0 60px 100px;
    box-sizing: border-box;
}
.about-ethics-title {
    font-size: 60px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 60px;
    text-align: left;
    line-height: 1;
}
.about-ethics-subtitle {
    font-size: 30px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 30px;
    text-align: left;
}
.about-ethics-text {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    text-align: left;
    line-height: 1;
    margin: 0;
}

.about-ethics-text p {
    margin: 0 0 30px;
}

/****************************************************
  お問い合わせページ (Contact Page)
****************************************************/
.page-id-51 .site-header, .page-id-53 .site-header {
    position: fixed;
    padding: 30px 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.page-id-51 .header-nav .menu-list li a, .page-id-53 .header-nav .menu-list li a {
    color: #1a1a1a;
}

.page-id-51 .header-nav .menu-list .contact-button, .page-id-53 .header-nav .menu-list .contact-button {
    color: #FFFFFF;
}

/* タイトルセクション */
.contact-title-section {
    width: 100%;
    margin: 0 auto;
    padding: 200px 60px 140px;
    box-sizing: border-box;
}

.contact-title-inner {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
}

.contact-page-title {
    font-family: 'EB Garamond', serif;
    font-size: 180px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    text-align: left;
    line-height: 1;
}

.contact-page-intro {
    max-width: 1300px;
    font-size: 24px;
    font-weight: 400;
    color: #1A1A1A;
    margin-top: 40px;
    margin-left: auto;
    text-align: right;
    line-height: 1.8;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    width: 100%;
    margin: 0 auto;
    padding: 0 60px 120px;
    box-sizing: border-box;
}

.contact-form-hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #CCCCCC;
    margin: 0 0 60px;
    padding: 0;
}

.contact-form-heading {
    font-size: 60px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 60px;
    text-align: left;
    line-height: 1;
}

/* フォーム全体 */
.contact-form {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form-label {
    width: 20%;
    font-size: 20px;
    font-weight: 400;
    color: #1A1A1A;
    text-align: left;
    line-height: 1.8;
    position: relative; 
}

.contact-error {
    display: block;
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.contact-form-input {
    width: 80%;
    display: flex;
    justify-content: flex-end;
}

.contact-form-input input[type="text"],
.contact-form-input textarea {
    width: 1100px;
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    font-size: 20px;
    font-weight: 400;
    color: #BBBBBB;
    padding: 0 15px;
    box-sizing: border-box;
    line-height: 1.6;
}

.contact-form-input input[type="text"] {
    height: 80px;
    line-height: 80px;
}

.contact-form-input textarea {
    height: 80px;
    resize: none;
    padding-top: 15px;
}

.contact-form-input input[type="text"]:focus,
.contact-form-input textarea:focus {
    color: #1A1A1A;
    outline: none;
}

.contact-form-input input[type="text"]:not(:placeholder-shown),
.contact-form-input textarea:not(:placeholder-shown) {
    color: #1A1A1A;
}

.contact-form-submit {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.contact-form-submit button {
    width: 1100px;
    height: 80px;
    border-radius: 40px;
    background-color: #00A0E9;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* サンクスセクション */
.thanks-section {
    padding: 200px 60px;
    text-align: center;
}
.thanks-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.thanks-title {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1A1A1A;
}
.thanks-text {
    font-size: 20px;
    color: #1A1A1A;
    line-height: 1.8;
}

/* ------------------------------------------------------------
 マシン工程表サブメニュー用スタイル
------------------------------------------------------------ */
.menu-item-has-children {
    position: relative;
}

.machine-schedule-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 200px;
}

.machine-schedule-submenu li {
    list-style: none;
}

.machine-schedule-submenu li a {
    display: block;
    padding: 8px 20px;
    color: #1A1A1A !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.machine-schedule-submenu li a:hover {
    background-color: #f2f2f2;
}

.machine-schedule-submenu.active {
    display: block;
}

/****************************************************
  レスポンシブスタイル
****************************************************/

@media screen and (max-width: 1600px) {
    /****************************************************
    共通スタイル
    ****************************************************/
    .pc-only {
        display: none;
    }
    
    /* フッタースタイル */
    .site-footer {
        padding: 100px 30px 60px;
    }
    
    .footer-title {
        margin: 0 0 30px;
        font-size: clamp(42px, 8vw, 72px);
    }
    
    .footer-text, .footer-address, .footer-copyright {
        margin: 0 0 30px;
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .footer-phone {
        margin-bottom: 30px;
        font-size: clamp(42px, 8vw, 72px);
    }
    
    .footer-link {
        font-size: clamp(18px, 4vw, 30px);
    }
    
    .footer-underline {
        height: 0;
    }
	
	/****************************************************
	固定ページ追加
	****************************************************/
	.page-template-default main {
		padding: 100px 30px 60px;
	}
    
    /****************************************************
    トップページスタイル
    ****************************************************/
    
    /* アバウトスタイル */
    .about-us-section {
        padding: 100px 30px;
    }
    
    .about-us-container {
        gap: 30px;
    }
    
    .about-us-left {
        width: 20%;
    }
    
    .about-us-left h2 {
        font-size: clamp(18px, 5vw, 44px);
        line-height: 1.4;
    }
    
    .about-us-right h3 {
        font-size: clamp(14px, 3.5vw, 22px);
        margin: clamp(10px, 2.4vw, 25px) 0 clamp(10px, 2.4vw, 25px);
    }
    
    .about-us-center {
        width: 50%;
    }
    
    .about-us-image {
        margin: 0;
        width: 100%;
    }
    
    .about-us-right {
        width: 30%;
    }
    
    .about-us-right p {
        font-size: clamp(12px, 2vw, 16px);
        margin: 0;
    }
    
    .about-us-button {
        width: 180px;
        height: 40px;
        font-size: clamp(12px, 2.8vw, 16px);
        margin-top: 20px;
    }
    
    /* プロダクションスタイル */
    .production-section {
        padding: 100px 30px;
    }
    
    .production-title {
        margin: 0 0 30px;
        font-size: clamp(18px, 5vw, 44px);
        line-height: 1.4;
    }
    
    .production-description {
        margin-bottom: 0;
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .slide-number {
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .slide-title {
        font-size: clamp(16px, 2vw, 32px) !important;
    }
    
    .slide-button {
        font-size: clamp(12px, 2vw, 16px);
    }
    
    /* ストレングススタイル */
    .strength-section {
        padding: 100px 30px;
    }
    
    .strength-title {
        margin: 0 0 30px;
        font-size: clamp(15px, 4vw, 44px);
    }
    
    .strength-text p {
        font-size: clamp(10px, 2vw, 16px);
    }
    
    .reason-number {
        font-size: clamp(12px, 2vw, 18px);
    }
    
    .reason-title {
        margin: 0 0 10px;
        font-size: clamp(15px, 3vw, 38px);
    }
    
    .reason-text {
        font-size: clamp(12px, 2vw, 16px);
    }
}

@media screen and (max-width: 1200px) {
    .header-logo img {
        width: 30px;
    }}


@media screen and (max-width: 1100px) {
    /****************************************************
    共通スタイル
    ****************************************************/
    .pc-only2 {
        display: none;
    }
    
    /* ヘッダースタイル */
    .menu-list li {
        display: none;
    }

    .menu-list li:last-child {
        display: list-item;
    }
    
    .header-nav .menu-list {
        padding-right: clamp(10px, 2vw, 20px);
    }
    
    /* モバイルメニュー */
    .mobile-menu-icon {
        display: block;
    }
    
    .mobile-menu-bg {
        display: block;
    }
    
    /* フッタースタイル */
    .site-footer {
        padding: 80px 30px 40px;
    }
    
    .footer-right {
        display: none;
    }
    
    .footer-left {
        max-width: 100%;
    }
	
	/****************************************************
	固定ページ追加
	****************************************************/
	.page-template-default main {
		padding: 80px 30px 40px;
	}
    
    /* メインビジュアルスタイル */
    .main-visual-content {
        bottom: 13%;
        left: 30px;
    }
    
    .main-visual-content img {
        width: 60%;
    }
    
    .main-visual-content h1 {
        font-size: clamp(30px, 6vw, 60px);
    }
    
    .main-visual-content p {
        margin: 25px 0;
        font-size: clamp(12px, 2vw, 18px);
    }
    
    .iso-mark img {
        width: 35% !important;
        right: auto;
        left: 0%;
        bottom: -100px;
    }
	
	.production-container {
		flex-wrap: wrap;
	}
	
	.production-container-left {
		width: 100%;
		margin-top: 3em;
	}
	
	.production-container-left h4 {
		font-size: 1.3em;
	}
	
}

@media screen and (max-width: 1024px) {
    /****************************************************
    共通スタイル
    ****************************************************/
    
    /* ヘッダースタイル */
    .header-inner {
        padding: 0 30px;
    }
    
    .site-header {
        padding: 1em 0 0;
    }
    
    /****************************************************
    トップページスタイル
    ****************************************************/
    
    /* アバウトスタイル */
    .about-us-section {
        padding: 80px 30px;
    }
    
    .about-us-container {
        display: block;
        width: 100%;
    }
    
    .about-us-left {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .about-us-center {
        width: 100%;
    }
    
    .about-us-right {
        width: 100%;
    }
    
    /* プロダクションスタイル: 横スクロール→縦積みに */
    .production-section {
        padding: 80px 30px;
    }
	
	.slide-title {
        font-size: clamp(16px, 4vw, 32px) !important;
    }
    
    /* ▼ 追記：スマホ時は縦並びにする */
    .horizontal_scroll {
        height: auto !important;
        min-height: auto !important;
        margin: clamp(20px, 8vw, 40px) 0;
    }
    .horizontal_scroll .sticky {
        position: static;
        top: auto;
        min-height: auto;
    }
    .horizontal_scroll .scroller {
        display: block !important;
        overflow: visible !important;
    }
    .horizontal_scroll .scroller > section {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 40px !important;
    }
    .horizontal_scroll .scroller > section:last-child {
        margin-bottom: 0 !important;
    }
    
    /* ストレングスセクション: sticky無効化 */
    .strength-section {
        padding: 80px 30px;
    }
    
    /* ▼ 追記：.strength-left を固定しない */
    .strength-left {
        position: static !important;
        top: auto !important;
        width: 100%;
        margin-bottom: 30px;
    }
    .strength-right {
        width: 100%;
        margin-left: 0 !important;
    }
    .strength-block {
        width: 100%;
    }
    
    .strength-title {
        margin: 0 0 20px;
    }
    
    .strength-container {
        display: block;
    }
    
    /****************************************************
    事業内容ページスタイル
    ****************************************************/
    .page-id-44 body {
        overflow-x: hidden;
    }
    
    .business-title-section {
        padding: clamp(100px, 28vw, 200px) 30px clamp(60px, 18vw, 140px);
    }
    
    .business-title {
        font-size: clamp(40px, 15vw, 180px);
    }
    
    .business-description {
        font-size: clamp(13px, 2.4vw, 24px);
        margin-top: clamp(30px, 10vw, 100px);
    }
    
    .business-section {
        padding: 0 30px 120px;
    }
    
    .business-box {
        padding: clamp(30px, 6vw, 60px) 0;
    }
    
    .business-box-number {
        font-size: clamp(10px, 2.4vw, 14px);
        margin: 0 0 clamp(15px, 2.4vw, 25px);
    }
    
    .business-box-title {
        font-size: clamp(17px, 4.5vw, 38px);
        margin: 0 0 clamp(15px, 2.4vw, 25px);
    }
    
    .business-box-image-area {
        width: 100%;
        height: clamp(300px, 100vw, 1000px);
    }
    
    .business-right-number {
        font-size: clamp(10px, 2.4vw, 14px);
    }
    
    .business-right-text {
        font-size: clamp(12px, 3vw, 18px);
    }
    
    .business-box-subtitle {
        font-size: clamp(14px, 4vw, 30px);
        margin: 0 0 clamp(10px, 3vw, 20px);
        border-left: 2px solid #00a0e9;
    }
    
    .business-box-text {
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .business-achievements {
        grid-template-columns: 1fr;
        gap: clamp(20px, 6vw, 40px);
        margin-top: clamp(20px, 6vw, 40px);
    }
    
    .business-achievements-item-title {
        font-size: clamp(12px, 2vw, 18px);
        margin: 0 0 clamp(5px, 1.2vw, 10px);
    }
    
    .business-achievements-item-text {
        font-size: clamp(10px, 2vw, 16px);
    }
    
    .business-achievements-item-image-area {
        margin-bottom: clamp(10px, 3vw, 20px);
    }
    
    .business-right-item {
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .business-right-col {
        overflow-x: hidden;
    }
    
    .business-right-text {
        writing-mode: vertical-rl;
        text-orientation: upright;
        white-space: nowrap;
    }
    
    /****************************************************
    会社案内ページスタイル
    ****************************************************/
    .page-id-49 .site-header {
        padding: clamp(15px, 5vw, 30px) 0;
    }
    
    .about-title-section {
        padding: clamp(100px, 28vw, 200px) 30px clamp(60px, 18vw, 140px);
    }
    
    .about-title {
        font-size: clamp(40px, 15vw, 180px);
    }
    
    .about-image-area {
        height: clamp(300px, 75vw, 600px);
    }
    
    .about-philosophy-section {
        padding: clamp(50px, 20vw, 200px) 30px;
    }
    
    .about-company-section {
        padding: clamp(30px, 12vw, 100px) 30px;
    }
    
    .about-section-hr {
        margin: 0 0 clamp(30px, 12vw, 100px);
    }
    
    .about-access-section {
        padding: 0 30px clamp(30px, 12vw, 100px);
    }
    
    .about-philosophy-inner {
        flex-direction: column;
    }
    .about-philosophy-left,
    .about-philosophy-right {
        width: 100%;
        gap: clamp(30px, 8vw, 60px);
    }
    .about-philosophy-heading {
        font-size: clamp(17px, 6vw, 60px);
        margin-bottom: clamp(10px, 3vw, 20px);
    }
    .about-philosophy-text {
        font-size: clamp(14px, 3.5vw, 20px);
    }
    .about-video-button {
        width: clamp(160px, 40vw, 260px);
        height: clamp(40px, 10vw, 60px);
        font-size: clamp(14px, 3.5vw, 20px);
    }
    .about-video-modal-content {
        width: 100%;
    }
    .about-video-modal-close {
        right: 0;
    }
    .about-slider-wrap {
        height: clamp(200px, 60vw, 400px);
    }
    .about-slider-track {
        height: clamp(200px, 60vw, 400px);
        animation-duration: 30s; /* 遅めにする */
    }
    .about-slider-track img {
        width: clamp(240px, 80vw, 580px);
        height: clamp(200px, 60vw, 400px);
    }
    .about-company-title,
    .about-access-title,
    .about-iso-title,
    .about-ethics-title {
        font-size: clamp(17px, 7vw, 60px);
        margin: 0 0 clamp(20px, 8vw, 60px);
    }
    .about-company-table th {
        width: 30%;
    }
    .about-company-table th,
    .about-company-table td {
        font-size: clamp(12px, 3vw, 20px);
        padding: clamp(10px, 2.6vw, 20px);
    }
    
    .about-map-wrap iframe {
        height: clamp(300px, 110vw, 800px);
    }
    
    .about-iso-section {
        padding: 0 30px clamp(30px, 12vw, 100px);
    }
    
    .about-iso-section .about-iso-row:first-of-type {
        margin-bottom: clamp(30px, 8vw, 60px);
    }
    
    .about-iso-row {
        flex-direction: column;
        gap: clamp(15px, 5vw, 30px);
    }
    .about-iso-left,
    .about-iso-right {
        width: 100%;
    }
    .about-iso-right {
        justify-content: flex-start;
    }
    .about-iso-subtitle {
        font-size: clamp(14px, 5vw, 30px);
        margin: 0 0 clamp(15px, 5vw, 30px);
    }
    .about-iso-text {
        font-size: clamp(12px, 3vw, 16px);
    }
    
    .about-ethics-section {
        padding: 0 30px clamp(30px, 12vw, 100px);
    }
    .about-ethics-subtitle {
        font-size: clamp(18px, 5vw, 30px);
    }
    .about-ethics-text {
        font-size: clamp(12px, 3vw, 16px);
    }
    
    .about-ethics-text p {
        margin: 0 0 clamp(15px, 5vw, 30px);
    }
    
    /****************************************************
    お問い合わせページ (Contact Page)
    ****************************************************/
    .page-id-51 .site-header, .page-id-53 .site-header {
        padding: clamp(15px, 5vw, 30px) 0;
    }
    
    .contact-title-section {
        padding: clamp(100px, 28vw, 200px) 30px clamp(60px, 18vw, 140px);
    }
    
    .contact-page-title {
        font-size: clamp(40px, 15vw, 180px);
    }
    
    .contact-page-intro {
        font-size: clamp(13px, 3.4vw, 24px);
        margin-top: clamp(30px, 10vw, 100px);
    }
    
    .contact-form-section {
        padding: 0 30px clamp(60px, 20vw, 120px);
    }
    
    .contact-form-heading {
        font-size: clamp(17px, 7vw, 60px);
        margin: 0 0 clamp(20px, 8vw, 60px);
    }
    
    .contact-form-row {
        flex-direction: column;
        gap: clamp(10px, 3vw, 40px);
        margin-bottom: 0;
    }
    
    .contact-form-label {
        width: 100%;
        font-size: clamp(13px, 3.8vw, 20px);
    }
    
    .contact-form-input {
        width: 100%;
    }
    
    .contact-form-submit button {
        width: 100%;
        height: clamp(60px, 14vw, 80px);
        font-size: clamp(14px, 3.6vw, 24px);
    }
    
    .contact-form-input input[type="text"], .contact-form-input textarea {
        font-size: clamp(13px, 3.8vw, 20px);
    }
    
    .thanks-title {
        font-size: clamp(17px, 7vw, 60px);
        margin-bottom: clamp(10px, 3vw, 40px);
    }
    
    .thanks-text {
        font-size: clamp(13px, 3.8vw, 20px);
    }
	
	.business-equipment-table td.bold img {
		display: block;
	}
	
	.business-equipment-table td.bold .cell-content {
		display: block;
	}
	
}

@media screen and (max-width: 600px) {
    /****************************************************
    共通スタイル
    ****************************************************/
    
    /* ヘッダースタイル */
    .header-inner {
        padding: 0 20px;
    }
    
    .site-header {
        padding: 20px 0 0;
    }
    
    .header-logo {
        width: 22%;
    }
    
    .header-nav .menu-list .contact-button {
        padding: 8px 20px;
        font-size: clamp(12px, 2vw, 15px);
    }
    
    /* フッタースタイル */
    .site-footer {
        padding: 60px 20px 30px;
    }
    
    .footer-title {
        margin: 0 0 10px;
    }
    
    .footer-text, .footer-address, .footer-copyright {
        margin: 0 0 20px;
    }
    
    .footer-phone {
        margin-bottom: 20px;
    }
    
    .footer-underline {
        margin: 0 0 30px;
    }
    
    .footer-logo {
        margin-top: 50px;
    }
	
	/****************************************************
	固定ページ追加
	****************************************************/
	.page-template-default main {
		padding: 60px 20px 30px;
	}
    
    /****************************************************
    トップページスタイル
    ****************************************************/
    
    /* メインビジュアルスタイル */
    .main-visual-content {
        bottom: 80px;
        left: 20px;
    }
    
    .main-visual-content p {
        margin: 20px 0;
    }
    
    .iso-mark img {
        width: 40% !important;
        bottom: -60px;
    }
	
	.business-right-col {
		top: 70px;
	}
	
	.business-equipment-table {
		font-size: 0.6em;
	}
	
	.about-company-table a {
		flex-wrap: wrap;
	}
	
	.company-logo {
		height: 26px;
		margin-right: 4px;
	}
	
}

@media screen and (max-width: 400px) {
    .iso-mark img {
        bottom: -46px;
    }
}
