/*!
Theme Name: wayui
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wayui
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# 0. Reset
# 1. Typography
# 2. Base Elements
# 3. Header
# 4. Navigation
# 5. Content
# 6. Footer
# 7. Utilities / Accessibility
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# 0. Reset
--------------------------------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}


/*--------------------------------------------------------------
# 1. Typography
   フォント: Noto Serif JP
   読み込みは functions.php で行う
--------------------------------------------------------------*/

body {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    background: #EDE8E2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5em;
}

a {
    color: #333333;
    text-decoration: none;
}

img {
    height: auto;
    max-width: 100%;
    display: block;
}

.h2-common {
  font-family: "Noto Serif JP", serif;
  display: flex;
  flex-direction: column;
  gap: 4px; 
  align-items: center;
}

.h2-common .h2-en {
  font-size: 14px;
  color: #8F8F8F;
  letter-spacing: 0.1em;
}

.h2-common .h2-ja {
  font-size: 40px;
  color: #01604A;
  line-height: 1.4;
}


/*--------------------------------------------------------------
# 2. Base Elements
--------------------------------------------------------------*/

ul, ol {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}


/*--------------------------------------------------------------
# 3. Header
--------------------------------------------------------------*/
:root {
    --color-primary: #01604A;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 80px;
    border-bottom: 1px solid #e8e8e8;
    background: #EDE8E2;
    position: sticky;
    top: 0;
    z-index: 100;
}


/* ================================================
   Site Branding（左側）
   ================================================ */

.site-branding {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.site-header a {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.site-branding img {
    height: 40px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    display: none;
}


/* ================================================
   Navigation（右側）
   ================================================ */

.main-navigation {
    display: flex;
    align-items: center;
}

.global-nav__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
    column-gap: 64px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav__item {
    position: relative;
}

.global-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 4px 0;
    position: relative;
}

/* 日本語テキスト */
.global-nav__text-jp {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #111111;
    line-height: 1;
    position: relative;
}

/* 英語テキスト */
.global-nav__text-en {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: 0.05em;
    position: relative;
}

/* 横線 */
.global-nav__text-jp::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

/* Hover時：左から右へ線が伸びる */
.global-nav__link:hover .global-nav__text-jp::after {
    width: 100%;
}


/* ================================================
   ハンバーガーメニュー（SP）
   ================================================ */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle::before,
.menu-toggle::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #01604A;
    transition: transform 0.35s ease 0.1s;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #01604A;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* 開いた状態：中央線をフェードアウトし、上下線を回転してXに */
.main-navigation.toggled .menu-toggle span {
    opacity: 0;
    transform: scaleX(0);
}

.main-navigation.toggled .menu-toggle::before {
    transform: translateY(8px) rotate(45deg);
}

.main-navigation.toggled .menu-toggle::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* ================================================
   Breakpoints
   ================================================ */

/* Tablet */
@media screen and (max-width: 1023px) {
    .site-header {
        padding: 0 32px;
    }

    .global-nav__list {
        gap: 28px;
    }

    #primary {
        max-width: 100%;
    }
}

/* SP */
@media screen and (max-width: 767px) {

    .site-header {
        padding: 0 20px;
        height: 64px;
        position: relative;
    }

    /* ハンバーガーボタン表示 */
    .menu-toggle {
        display: flex;
    }

/* ナビゲーションメニュー（デフォルトは非表示） */
    .main-navigation .global-nav__list {
        display: none;
		height: calc(100vh - 64px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #EDE8E2;
        border-top: 1px solid #EDE8E2;
        padding: 0px 20px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    }

    /* toggled クラスが付いたら表示 */
    .main-navigation.toggled .global-nav__list {
        display: flex;
    }

    .global-nav__item {
        width: 100%;
        border-bottom: 1px solid #01604A;
    }

    .global-nav__link {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 24px 0;
    }

    .global-nav__text-jp {
        font-size: 15px;
		text-align: left;
    }

    .global-nav__text-en {
        font-size: 12px;
		text-align: left;
    }

    .global-nav__text-en::after {
        display: none;
    }


} /* end @media (max-width: 767px) */


/*--------------------------------------------------------------
# 5. Content
--------------------------------------------------------------*/

/* ================================================
   FV スライダー
   ================================================ */

.fv {
    display: flex;
	position: relative;
	overflow: hidden;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 0;
    gap: 28px;
}

.fv__arch-bottom {
    position: absolute;
	z-index:-99;
	bottom: -20%;
	 left: 50%;
	 transform: translateX(-50%);
	 width: 140%; 
	 aspect-ratio: 6 / 1;
	 background-color: #01604A;
	 border-radius: 50%;
}


.fv__arch {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 960 / 600;
    border-radius: 50% 50% 0 0 / 65% 65% 0 0;
    overflow: hidden;
    position: relative;
}

.fv__slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fv__slide {
    min-width: 100%;
    height: 100%;
}

.fv__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv__dots {
    display: flex;
    gap: 10px;
}

.fv__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(1, 96, 74, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.fv__dot.is-active {
    background: var(--color-primary);
    transform: scale(1.3);
}

@media screen and (max-width: 767px) {
    .fv__arch {
        width: 88vw;
    }
	
	.fv__arch-bottom {
		bottom: -10%; 
		width: 120%;
		aspect-ratio: 5 / 1;
		}
}

/* ================================================
   第1セクション
   ================================================ */

.sec1 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 48px;
	background-color: #01604A;
	background-size: auto 100%;
}

.sec1__inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sec1__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 64px;
    text-align: left;
    color: white;
    align-self: flex-end;
}

.sec1__body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    align-self: center;
}

.sec1__text {
	order: 1;
    flex: 1.8;
    min-width: 0;
    font-size: 16px;
    line-height: 40px;
    text-align: left;
    color: white;
}

.sec1__text p {
    margin-bottom: 0;
}

/* 画像：右 */
.sec1__image {
    order: 2;
    flex: 1;
    min-width: 0;
}

.sec1__image img {
    width: 100%;
    height: auto;
    display: block;
}

.sec1-btn{
	max-width: 786px;
	margin:0 auto;
	text-align: right;
}

@media screen and (max-width: 767px) {
    .sec1 {
        padding: 48px 0px;
		margin-top: 0;
        background-size: auto 65%;
        background-position: center top;
		background-color: #01604A;
    }

    .sec1__inner {
        align-items: center;
		gap: 16px;
		margin: 0 20px;
    }

    .sec1__title {
        width: 100%;
        font-size: 28px;
        line-height: 48px;
        text-align: center;
    }

    .sec1__body {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    /* SP：画像が上、テキストが下 */
    .sec1__image {
        order: 1;
        width: 80%;
    }

    .sec1__text {
		order: 2;
        width: 100%;
		font-size:14px;
    }
	
	.sec1-btn{
	    text-align:center;
		margin-top:16px;
	}
}

/* ================================================
   第2セクション
   ================================================ */

.sec2 {
    max-width:980px;
	margin: 0 auto;
	padding:48px 0;
}

/* ================================================
   sec2 カード
   ================================================ */

.sec2-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0 40px;
}

.sec2-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sec2-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sec2-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sec2-card__img-wrap:hover .sec2-card__img {
  transform: scale(1.05);
}

.sec2-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: #d4cfc9;
}

.sec2-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.sec2-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0;
  color: #333;
  transition: color 0.2s ease;
}

.sec2-card__body:hover .sec2-card__title {
  color: #01604A;
}

.sec2-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

.sec2-btn {
  text-align: center;
  margin-top: 8px;
}

@media screen and (max-width: 767px) {
  .sec2-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 16px 32px;
  }

  .sec2-btn {
    padding: 0 16px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .sec2-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ================================================
   第3セクション
   ================================================ */
.sec3 {
  margin: 0 auto;
  background-color: #01604A;
  padding: 80px 20px;
}

.sec3__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
}

.sec3-card {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 23 / 16;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  transition: background-size 0.4s ease;
}

.sec3-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background 0.4s ease;
}

.sec3-card:hover::after {
  background: rgba(0,0,0,0.35);
}

.sec3-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.sec3-card__text {
  position: relative;
  z-index: 2;
}

.h2-common--white .h2-en {
  color: rgba(255, 255, 255, 0.8);
}

.h2-common--white .h2-ja {
  color: #ffffff;
}

@media screen and (max-width: 767px) {
	
  .sec3 {
	padding:20px;
		}
  .sec3__inner {
    flex-direction: column;
  }

  .sec3-card {
    height: 240px;
  }
}

/*--------------------------------------------------------------
# 5-B. Button
--------------------------------------------------------------*/

.btn-arch {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 14px 24px;
  width: 240px; 

  color: #fff;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;

  border: 2px solid #fff;
  border-radius: 9999px; 

  transition: all 0.3s ease;
}

.btn-text {
  flex: 1;
	text-align: left;
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-arch:hover {
  background-color: #fff;
  color: #01604A;
}

.btn-arch:hover .btn-arrow {
  transform: translateX(4px);
}

/* ================================================
   ボタン：グリーン variant（明るい背景用）
   ================================================ */

.btn-arch--green {
  color: #01604A;
  border-color: #01604A;
}

.btn-arch--green:hover {
  background-color: #01604A;
  color: #fff;
}

.btn-arch--wide {
  width: 320px;
}





/* ================================================
   商品一覧ページ（archive.php）
   ================================================ */

.products-archive {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 24px;
}

.products-archive__header {
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card__img-wrap:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: #d4cfc9;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
  flex: 1;
}

.product-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0;
}

.product-card__title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card__title a:hover {
  color: #01604A;
}

.product-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

.products-archive__nav {
  display: flex;
  justify-content: center;
}

.products-archive__nav .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.products-archive__nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #01604A;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.products-archive__nav .page-numbers:hover,
.products-archive__nav .page-numbers.current {
  background: #01604A;
  color: #fff;
}

.products-archive__nav .prev,
.products-archive__nav .next {
  width: auto;
  border-radius: 4px;
  padding: 0 12px;
}

.products-archive__empty {
  text-align: center;
  color: #888;
  padding: 80px 0;
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .products-archive {
    padding: 40px 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   商品詳細ページ（single.php）
   ================================================ */

.product-detail {
  max-width: 100%;
}

.product-detail__hero {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}

.product-detail__hero-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.product-detail__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.product-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.product-detail__breadcrumb a {
  color: #01604A;
  text-decoration: none;
}

.product-detail__breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail__breadcrumb-sep {
  color: #bbb;
}

.product-detail__header {
  margin-bottom: 32px;
  border-bottom: 2px solid #01604A;
  padding-bottom: 24px;
}

.product-detail__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin-bottom: 0;
}

.product-detail__specs {
  background: #f5f3f0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.product-spec__row {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid #e0dbd4;
}

.product-spec__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-spec__row:first-child {
  padding-top: 0;
}

.product-spec__label {
  font-size: 14px;
  font-weight: 700;
  color: #01604A;
  min-width: 100px;
  flex-shrink: 0;
}

.product-spec__value {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

/* 商品スペックカード */
.product-specs-card {
  display: flex;
  gap: 32px;
  align-items: center;
  background: #f5f3f0;
  border: 1px solid #d6d0c9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.product-specs-card__image {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.product-specs-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-specs-card__body {
  flex: 1;
  padding: 24px 28px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-specs-card__row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e0dbd4;
  align-items: baseline;
}

.product-specs-card__row:first-child {
  padding-top: 0;
}

.product-specs-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-specs-card__row--desc {
  align-items: flex-start;
}

.product-specs-card__label {
  font-size: 13px;
  font-weight: 700;
  color: #01604A;
  min-width: 80px;
  flex-shrink: 0;
}

.product-specs-card__value {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
}

.product-specs-card__value--price {
  line-height: 1.8;
}

@media screen and (max-width: 767px) {
  .product-specs-card {
    flex-direction: column;
    gap: 0;
  }

  .product-specs-card__image {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
  }

  .product-specs-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .product-specs-card__body {
    padding: 20px 20px 20px 20px;
  }
}

.product-detail__content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 48px;
}

.product-detail__content p {
  margin-bottom: 1.5em;
}

.product-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

.product-detail__contact {
  text-align: center;
  margin-bottom: 48px;
}

.product-detail__back {
  border-top: 1px solid #e0dbd4;
  padding-top: 32px;
  margin-top: 16px;
}

.product-detail__back-link {
  font-size: 14px;
  color: #01604A;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.product-detail__back-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .product-detail__hero {
    max-height: 260px;
  }

  .product-detail__inner {
    padding: 32px 16px 60px;
  }

  .product-detail__title {
    font-size: 24px;
  }

  .product-spec__row {
    flex-direction: column;
    gap: 4px;
  }

  .product-spec__label {
    min-width: unset;
  }
}



/*--------------------------------------------------------------
# 6. Footer
--------------------------------------------------------------*/

.footer-inner{
	max-width: 980px;
	margin:0 auto;
	padding: 48px 0 0;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav__link {
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-nav__link:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 13px;
    text-align: center;
	margin-top: 20px;
	margin-bottom: 0px;
	background-color: black;
	color:white;
}

@media screen and (max-width: 767px) {
    .footer-nav__list {
        flex-direction: column;
        gap: 20px;
    }
}


/*--------------------------------------------------------------
# 6-B. 会社概要ページ（page-company.php）
--------------------------------------------------------------*/

/* バナー画像 */
.company-banner {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}

.company-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* セクション */
.company-section {
  padding: 80px 24px;
}

.company-section__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

/* テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #01604A;
}

.company-table tr {
  border-bottom: 1px solid #01604A;
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 28px 40px;
  font-size: 16px;
  line-height: 1.7;
  vertical-align: middle;
  text-align: left;
}

.company-table th {
  width: 240px;
  font-weight: 400;
  text-align: center;
  border-right: 1px solid #01604A;
  color: #333;
}

.company-table td {
  color: #333;
}

.company-table td a {
  color: #01604A;
  text-decoration: none;
}

.company-table td a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .company-banner img {
    height: 160px;
  }

  .company-section {
    padding: 48px 16px;
  }

  .company-section__inner {
    gap: 40px;
  }

  .company-table th,
  .company-table td {
    padding: 16px 20px;
    font-size: 14px;
  }

  .company-table th {
    width: 100px;
  }
}


/*--------------------------------------------------------------
# お問い合わせページ (page-contact)
--------------------------------------------------------------*/

.contact-banner {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}

.contact-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.contact-section {
  padding: 80px 24px;
}

.contact-section__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.contact-lead {
  text-align: center;
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 0;
}

.contact-form-wrap {
  width: 100%;
}

/* CF7 フォームスタイル */
.contact-form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-wrap .wpcf7-form p {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-wrap label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.contact-form-wrap label .required {
  color: #c0392b;
  margin-left: 4px;
  font-size: 13px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: #01604A;
  box-shadow: 0 0 0 3px rgba(1, 96, 74, 0.12);
}

.contact-form-wrap textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-wrap input[type="submit"] {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: #fff;
  background: #01604A;
  border: 2px solid #01604A;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  width: 240px;
}

.contact-form-wrap input[type="submit"]:hover {
  background: transparent;
  color: #01604A;
}

.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px;
}

.contact-form-wrap .wpcf7-response-output {
  padding: 16px 20px;
  font-size: 14px;
  border-radius: 4px;
  margin-top: 8px;
  text-align: center;
}

.contact-form-wrap .wpcf7-mail-sent-ok {
  background: #e8f5f1;
  border: 1px solid #01604A;
  color: #01604A;
}

.contact-form-wrap .wpcf7-mail-sent-ng,
.contact-form-wrap .wpcf7-aborted {
  background: #fdf0ef;
  border: 1px solid #c0392b;
  color: #c0392b;
}

.contact-form-wrap .wpcf7-validation-errors,
.contact-form-wrap .wpcf7-acceptance-missing {
  background: #fdf6e3;
  border: 1px solid #e6a817;
  color: #7d5a00;
}

@media screen and (max-width: 767px) {
  .contact-banner img {
    height: 160px;
  }

  .contact-section {
    padding: 48px 16px;
  }

  .contact-section__inner {
    gap: 32px;
  }

  .contact-form-wrap input[type="submit"] {
    width: 100%;
  }
}


/*--------------------------------------------------------------
# 7. Utilities / Accessibility
--------------------------------------------------------------*/

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}



/*--------------------------------------------------------------
# 企業理念ページ (page-concept)
--------------------------------------------------------------*/

/* バナー画像 */
.concept-banner {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}

.concept-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.concept {
  font-family: "Noto Serif JP", serif;
  color: #333;
  line-height: 1.9;
}

/* Hero */
.concept-hero {
  padding: 80px 24px;
  text-align: center;
}

.concept-hero__title {
  font-size: 32px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.concept-hero__text {
  font-size: 14px;
  color: #777;
}

/* Block */
.concept-block {
  padding: 64px 0 0;
  max-width: 980px;
  margin:0 auto;
}

/* Title */
.concept-title {
  font-size: 22px;
  margin-bottom: 30px;
  letter-spacing: 0.08em;
}

/* Inner layout */
.concept-block .inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 0 24px;
}

.concept-block .inner__content {
  flex: 1;
  min-width: 0;
}

.concept-block .inner__image {
  flex-shrink: 0;
  width:40%;
}

.concept-block .inner__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
  .concept-banner img {
    height: 160px;
  }

  .concept-hero {
    padding: 80px 20px 60px;
  }

  .concept-hero__title {
    font-size: 24px;
  }

  .concept-block {
    padding: 60px 0;
  }

  .concept-block .inner {
    flex-direction: column;
    gap: 24px;
  }

  .concept-block .inner__image {
    width: 100%;
  }

  .concept-block .inner__image img {
    aspect-ratio: 2 / 1;
  }

}