@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Noto+Serif+JP:wght@200;300;400;500&display=swap');

body {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
}

.about-page-wrapper .about-page h2 {
}

.split-hero {
  display: flex;
  width: 100%;
  height: 100vh;
}

.split-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
  padding: 40px;
  transition: all 0.4s ease;
  background-size: cover;
  background-position: center;
}

.split-block:hover .split-content h1 {
  color: #ffffff;
  transition: color 0.3s ease;
}

.split-block:hover .split-content p {
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.split-block {
  position: relative;
  overflow: hidden; /* オーバーレイがはみ出さないように */
}

.split-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0); /* 最初は透明 */
  transition: background 0.4s ease;
  z-index: 1;
}

.split-block:hover::after {
  background: rgba(0,0,0,0.25); /* ← ホバー時に暗くなる（25%黒） */
}


.split-content {
  position: relative;
  z-index: 2;
}


.split-content h1 {
  font-size: 22px;   /* ← 42px → 控えめに */
  font-weight: 600;
  margin-bottom: 10px;
}

.split-content p {
  font-size: 13px;   /* ← 14px → 少し小さく */
  opacity: 0.85;
}


/* ホバーでふわっと明るく */
.logo-image:hover {
    opacity: 0.85;
}



/* -------------------------
   LEFT スライドショー
------------------------- */
.split-left {
  background-size: cover;
  background-position: center;
  animation: leftSlide 25s infinite linear;
}

@keyframes leftSlide {
  0%   { background-image: url("images/left01.jpg"); }
  35%  { background-image: url("images/left02.jpg"); }
  60%  { background-image: url("images/left03.jpg"); } 
  85%  { background-image: url("images/left03.jpg"); }
  100% { background-image: url("images/left01.jpg"); }
}


/* -------------------------
   RIGHT スライドショー
------------------------- */
.split-right {
  background-size: cover;
  background-position: center;
  animation: rightSlide 25s infinite linear;
}

@keyframes rightSlide {
  0%   { background-image: url("images/right01.jpg"); }
  35%  { background-image: url("images/right02.jpg"); }
  60%  { background-image: url("images/right03.jpg"); }
  85%  { background-image: url("images/right04.jpg"); }
  100% { background-image: url("images/right01.jpg"); }
}

/* ----------------------------------------------------
   ロゴとテキストを完全に画面中央に固定する修正版
---------------------------------------------------- */
.split-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* ← これがズレの最大の原因！ */
  position: relative;
}

/* 中央配置を安定させる */
.split-content {
  position: relative;
  z-index: 3; /* 背景・オーバーレイより前へ */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* 中央からズレないための高さ */
  width: 100%;
  height: 100%;
  pointer-events: none; /* クリックは親に渡す */
}

/* ロゴ画像 */
.logo-image {
  max-width: 40%; 
  height: auto;
  margin-bottom: 12px;
  pointer-events: none;
}

/* 1つ目のロゴだけを小さくする */
.site-header .site-branding:not(.site-branding--mobile) img.custom-logo {
    max-width: 15px;
    height: auto;
}

/* 最初のロゴだけ指定 */
.site-header .site-branding img.custom-logo:nth-of-type(1) {
    max-width: 15px;
}


/* サブタイトル（テキスト） */
.split-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}


/* ---- スマホ（縦並び） ---- */
@media screen and (max-width: 768px) {
  .split-hero {
    flex-direction: column;
    height: auto;
  }

  .split-block {
    height: 50vh;
    padding: 30px;
  }

  .split-content h1 {
    font-size: 32px;
  }
}

/* ヘッダー全体の高さを固定 */
.custom-header {
    width: 100%;
    padding: 16px 40px; /* 24px → 16px にするとよりバランスが良い場合が多い */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    backdrop-filter: blur(6px);
    background: rgba(255,255,255,0.5);
    display: flex;
    align-items: center; /* ← これが大事！上下中央 */
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* ← 念のためこちらも中央揃え */
}


/* 左のブランド切替 */
.brand-switch {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.brand-switch a {
    text-decoration: none;
    color: #333;
    margin: 0 4px;
}

.divider {
    margin: 0 6px;
}

/* 右メニュー */
.menu-list {
    display: flex;
    gap: 24px; /* メニュー間の余白 */
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
}

/* スクロール分の余白（トップ以外のページ向け） */
body {
    padding-top: 80px; /* ヘッダー高さと一致させる */
    
 }
    
    
    /* ============================
   Footer
   ============================ */

.custom-footer {
  width: 100%;
  border-top: 1px solid #ddd;
  padding: 40px 0;
  background: #fff;
}

.footer-inner {
  width: min(1200px, 90%);
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.footer-site-link {
  text-decoration: none;
  color: #333;
}

.footer-site-link:hover {
  opacity: 0.7;
}

.footer-address {
  margin-top: 6px;
}


/* Kadence の footer を完全非表示 */
.site-footer,
footer.site-footer {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== Custom Footer Style ===== */

.custom-footer {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    background: transparent; /* 必要なら色を変えてもOK */
    font-family: inherit;
}

/* 中身の横幅と中央寄せ */
.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* コピーライト */
.footer-copy {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.footer-copy a.footer-home-link {
    text-decoration: none;
}

.footer-copy a.footer-home-link:hover {
    opacity: 0.7;
}

/* 住所 */
.footer-address {
    margin: 0;
    font-size: 14px;
    color: #333;
}

body {
  padding-top: 90px; /* 必要に応じて数値調整 */
}

@media (max-width: 768px) {
  body {
    padding-top: 100px; /* スマホはヘッダーが縦に大きくなるため調整 */
  }
}

/* ============================
   About Page
============================ */

/* ページ全体 */
.about-page-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ヒーロー */
.about-page-wrapper .about-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.about-page-wrapper .about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page-wrapper .about-hero-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.about-page-wrapper .about-hero-text h1 {
    font-size: 32px;
    font-weight: 400;
    color: #222;
    letter-spacing: 0.05em;
}

/* プロフィール */
.about-page-wrapper .about-profile {
    text-align: center;
    padding: 80px 20px;
}

.about-page-wrapper .about-profile .profile-photo {
    width: 180px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.about-page-wrapper .about-profile h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.about-page-wrapper .about-profile .role {
    font-size: 15px;
    color: #777;
    margin-bottom: 20px;
}

.about-page-wrapper .about-profile .intro {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

/* Philosophy */
.about-page-wrapper .about-philosophy {
    padding: 60px 20px;
}

.about-page-wrapper .about-philosophy h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 22px;
    font-weight: 500;
}

.about-page-wrapper .philosophy-items {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
}

.about-page-wrapper .philosophy-items .item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.about-page-wrapper .philosophy-items .item p {
    color: #555;
    line-height: 1.8;
}

/* History */
.about-page-wrapper .about-history {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-page-wrapper .about-history h2 {
    text-align: center;
    margin-bottom: 20px;
}

.about-page-wrapper .about-history ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-page-wrapper .about-history li {
    padding: 8px 0;
    font-size: 15px;
    color: #444;
}

/* メッセージ */
.about-page-wrapper .about-message {
    text-align: center;
    padding: 80px 20px;
    font-size: 17px;
    line-height: 2;
    color: #333;
}