/* =============================
   共通
============================= */

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

html{
  background-color: #eeede9;
  scroll-behavior: smooth;
}

.icon {
  width: 48px;  /* 必要に応じてサイズ調整 */
  height: 48px; /* widthと同じにする */
  border-radius: 25%; /* ここで丸くする */
  object-fit: cover;  /* 画像が歪まないようにする */
}

body {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  background: #eeede9;
  color: #200d05;
  line-height: 1.8em;
}

.top,
#projects,
.prj-container,
.products__inner,
.access__inner,
.header-inner{
  width:100%;
  max-width:1640px;
  margin-left:auto;
  margin-right:auto;
}

.container{
  width:100%;
  max-width:1640px;
  margin-left:auto;
  margin-right:auto;
  padding:0  10%;
}

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

h2{
  font-size: 1.35em;
  letter-spacing: 0.2em;
}

p,span{
  font-size: 0.85em;
  text-align: justify; 
}

ruby {
    ruby-align: center; /* ルビを中央寄せにする */
}

rt {
  font-size: 50%;
  zoom: 0.8; /* Chrome用：必要に応じて調整 */
}

a {
  font-size: 0.95em;
  color: inherit;
}

a:hover {
  color: #a09274;
  border-color: #a09274;
}

.btn-wrap {
  text-align: center;
  margin: 2em 0;
}

.view-more,.project-more,.back-to-top{
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-weight: 300;           /* ultra-light */
  font-style: normal;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
}

/* =============================
   English Page
============================= */

.en-page{
  font-family: "Cormorant", serif;
  font-weight: 200;           /* ultra-light */
  font-style: normal;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.05em;
}

.en-page p,
.en-page span{
  font-family: "Cormorant", serif;
  font-size: 0.8em;
}

.en-page h2{
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-size: 1.85em;
  font-weight: 400;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
}

.en-page a{
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-weight: 300;           /* ultra-light */
  font-style: normal;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
}

.en-page h4{
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-weight: 400;           /* ultra-light */
  font-style: normal;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
}

.en-page nav.navigation a{
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-weight: 400;           /* ultra-light */
  font-style: normal;
  letter-spacing: 0.07em;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.9em;
}

.about-entitle{
  font-size: 0.75em;
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-weight: 200;           /* ultra-light */
  font-style: normal;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
  -moz-osx-font-smoothing: grayscale;
}

.en-page .project-en{
  font-family: Cormorant, serif;
}

footer .copyright{
  font-family: "Optima","Arsenal" ,"Candara", "Segoe UI", "Arial","Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif; 
  font-weight: 200;           /* ultra-light */
  text-align: center;
}

/* 下線矢印リンク */
.view-more {
  font-size: 0.8em;
  font-weight: 300;
  position: relative;
  display: inline-block;
  padding: 0.2em 3em;
  text-decoration: none;
}

/* 下線＋矢印 */
.view-more::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: skewX(50deg) translateX(0);
  transition: transform .5s ease;
}

/* ホバー・フォーカス */
.view-more:hover::before,
.view-more:focus-visible::before {
  transform: skewX(50deg) translateX(10%);
}

section{
  margin-bottom: 150px;
}


/* =============================
   JAVA SCRIPT
============================= */

/* .fade-section */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

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

/* products専用 */
/* 初期状態 */
.products .products__item--bowl {
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 1.2s ease-out;
}

.products .products__item--chopsticks {
  transform: translateY(-60px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 2.0s ease-out;
}

/* 発火後 */
.products.is-visible .products__item--bowl,
.products.is-visible .products__item--chopsticks {
  transform: translateY(0);
  opacity: 1;
}

/* 文字は遅れて */
.products__title,
.products__lead,
.view-more {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.products.is-visible .products__title,
.products.is-visible .products__lead,
.products.is-visible .view-more {
  opacity: 1;
  transition-delay: 0.6s;
}

/* projectsだけ微調整 */
.projects .projects-title {
  transition-duration: 1.2s;   /* 早く出す */
  transition-delay: 0s;
}

.projects .projects-grid {
  transition-duration: 0.8s;   /* ややゆっくり */
  transition-delay: 0.5s;     /* 少し遅らせる */
}

/* =============================
   Header
============================= */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.logo img {
  height: 40px;
}


/* 右側 */
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

div.lang{
  font-family: "Optima", "sans-serif" ;
  color: #eeede9;
  font-weight: 300;
}

.scroll-indicator{
  display: none; /* スクロールインジケーターはPCでは非表示 */
}

/* ==============================
   ハンバーガー（三本線）
============================= */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  width: 28px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #eeede9;
  transition: 0.3s;
}

.hamburger:hover{
  opacity: 0.5;
}


/* ==============================
   メニュー
============================= */

.hamburger-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100vh;
  background: #eeede9;
  transition: 0.5s;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
}

.hamburger-menu.is-open {
  right: 0;
}

.hamburger-menu ul {
  list-style: none;
  text-align: center;
}

.hamburger-menu li {
  margin: 1.8em 0;
  line-height: 1em;
}

.hamburger-menu a {
  font-size: 0.9em;
  text-decoration: none;
  color: #200d05;
}

.hamburger-menu img{
  max-width: 150px;
  margin-right:2.5em ;
}

.hamburger-menu small{
  color: #a09274;
}


/* ==============================
   ×ボタン
============================= */

.menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #200d05;
  top: 50%;
  left: 0;
}

.menu-close span:nth-child(1) {
  transform: rotate(45deg);
}
.menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

/* =============================
   Hero
============================= */

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1920px;
  height: 100vh;
  margin: 0 auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 3.5s ease;
  z-index: 0;
}

.hero-bg--1 {
  background-image: url("../img/tools.jpg");
  opacity: 1;
}

.hero-bg--2 {
  opacity: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* ほんのり暗く */
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 縦書きタイトル */
.hero-text h1 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.5em;
  letter-spacing: 0.2em;
  color: #eeede9;
  margin-left:auto;
  margin-right: auto;

  opacity: 0;
  transform: translateY(30px);
  filter: blur(20px);
  transition: all 2.0s ease;
}

.hero-text h1.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* キャッチコピー */
h4.catch{
  font-family: "Optima", "Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif;
  margin-top: 22%;
  color: #eeede9;
  font-size: 0.85em;
  font-weight: 200;
  letter-spacing: 2px;

  opacity: 0;
  transition: opacity 1.5s ease;
}

.catch.is-visible {
  opacity: 1;
  transition-delay: 0.1s;  
}

/* =============================
   top
============================= */

/* 1640中央制御 */
.top {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 7.3vw;
}

/* =============================
   navigation
============================= */

.navigation {
  margin: 120px 0;
}

.navigation ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  list-style: none;
  padding: 0;
}

.navigation li {
  text-align: center;
}

.navigation a {
  display: block;              /* ←重要 */
  padding-bottom: 8px;
  border-bottom: 2px solid #6e100a;
  text-decoration: none;
  color: #200d05;
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 0.15em;
  transition: 0.3s;
}

.navigation a:hover {
  color: #a09274;
  border-color: #9a5b4f;
}

/*活動紹介（PC〜1240px）*/

/* 親 */
.navigation li {
  position: relative;
}

/* サブメニュー初期状態 */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  
  /* 初期位置を少し下に下げておくと、浮き上がる演出になります */
  transform: translateX(-50%) translateY(20px); 

  list-style: none;
  padding: 14px 0;

  width: max-content;
  min-width: 160px;
  
  opacity: 0;
  visibility: hidden;

  /* ★ここを修正：透明度と位置の変化を0.5秒かけて滑らかに行う */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* サブメニューのリンクから下線を消す */
.submenu a {
  border-bottom: none !important; /* 既存の設定を上書きして下線を消す */
  font-size: 0.85em;
}


/* ホバー表示 */
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  /* ホバー時は本来の位置（translateY(0)）へ */
  transform: translateX(-50%) translateY(10px);
}

/* ===============================
   ABOUT
================================ */

/* 8カラム定義 */
.about .container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 10px;
}

/* 左4カラム */
.about-image {
  grid-column: 1 / 5;
}

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

/* 右4カラム */
.about-content {
  grid-column: 5 / 9;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
}

/* タイトル */
.about-title {
  grid-column: 2 / 8;
  display: flex;
  flex-direction: column;   /* ←縦並び */
  align-items: center;      /* 横中央 */
  justify-content: center;
}

.about-title h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.5em;
  letter-spacing: 0.2em;
  margin-top: 20%;
  margin-bottom: 10%;
}

.en-page .about-title h2{
  margin-top: 50px;
  margin-bottom: 50px;
}

.about-entitle{
  font-size: 0.75em;
  letter-spacing: 0.15em;
  margin-bottom: 10%;
}

/* 本文 */
.about-text {
  grid-column: 2/8;
}

.about-text p {
  margin-bottom: 28px;
}

.signature {
  text-align: right;
}

/* =============================
   URUSHI
============================= */

.urushi-grid{
  display:grid;
  grid-template-columns: repeat(8,1fr);
  grid-template-rows: auto auto;
  gap:30px;
  place-items: center;
}

/* title */
.urushi-title{
  grid-column:2 / 4;
  align-self:center;
  text-align: center;
}

.urushi-title h2{
  margin-bottom:10px;
}

.urushi-sub{
  font-size:0.9rem;
}

/* small images */

.urushi-images{
  grid-column:4 / 9;
  display:flex;
  gap:10px;
  justify-content:flex-end;

}

.urushi-images img{
  width:40%;
  height:250px;
  object-fit:cover;
}

/* main image */

.urushi-mainimg{
  grid-column:1 / 5;
}

.urushi-mainimg img{
  width:100%;
  display:block;
}

/* text */

.urushi-text {
  grid-column: 5 / 9;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}




/* ===============================
   PRODUCTS
================================ */

.products__inner {
  max-width: 1640px;
  margin: 0 auto;
  position: relative;
}

/* 縦書きタイトル */
.products__title {
  writing-mode: vertical-rl;
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #eeede9;
  text-shadow: #200d05 1px 0 10px;
  letter-spacing: 0.4em;
  z-index: 2;
}

.products__inner {
  position: relative;
}

/* 横書き文章 */
.products__lead {
  position: absolute;
  top: 58%;   /* 下部に配置 */
  left: 50%;
  transform: translateX(-50%);
  max-width: 1000px;
  text-align: center;
  color: #eeede9;
  text-shadow: #200d05 1px 0 10px;
  z-index: 2;
}

.products .view-more{
  position: absolute;
  top: 72%;   /* 下部に配置 */
  left: 50%;
  transform: translateX(-50%);
  max-width: 1000px;
  text-align: center;
  letter-spacing: 0.05em;
  color: #eeede9;
  text-shadow: #200d05 1px 0 10px;
  z-index: 2;
  margin-top: 10px;
}

.products .view-more:hover {
  color: #eeede9;
  border-color: #eeede9;
  opacity: 0.8;
  transition : all 0.25s ease 0s;
}


/* 画像 */
.products__images {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  filter: brightness(0.7);
}


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

/* 左下 */
.products__item--bowl {
  flex-basis: 50%;
  margin-top: 0px;
}

/* 右上 */
.products__item--chopsticks {
  flex-basis: 50%;
  margin-top: 50px;
}


/* ===============================
   PROJECTS
================================ */
.projects{
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.project-item {
  position: relative;
  display: block;
}

.project-item img {
  transition: transform 0.6s ease;
}

.project-item:hover img {
  transform: scale(1.05);
}

/* ★ 比率固定の箱 */
.project-image {
  width: 100%;
  aspect-ratio: 3 / 2;  /* ←ここで比率を統一 */
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.en-page .project-title{
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color:#eeede9;
  line-height: 1.8em;
}

/* ===============================
   PROJECTS overlay
================================ */

/* カード基準 */
.project-item{
  position:relative;
  display:block;
}

/* overlay */
.project-overlay{
  position:absolute;
  inset:0;
  padding:40px;

  display:flex;
  justify-content:space-between;

  color:#eeede9;
}

.project-heading{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
}

/* 縦タイトル */
.project-title{
  writing-mode:vertical-rl;
  text-orientation:upright;

  font-size:28px;
  letter-spacing:0.25em;

  text-shadow:#200d05 1px 0 10px;
}

/* 英語 */
.project-en{
  font-size:0.9em;
  letter-spacing:0.1em;
  min-width:10ch;
  text-shadow:#200d05 1px 0 10px;
}

/* view more */
.project-more{
  position:relative;
  align-self:flex-end;
  font-size:0.9em;
  letter-spacing:0.08em;
  opacity:0.6;
  transition:all .3s ease;
}

.project-more::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:125%;
  height:10px;
  border-bottom:1px solid currentColor;
  border-right:1px solid currentColor;
  transform:skewX(50deg) translateX(0);
  transition:all .3s ease;
}


/* hover */
.project-item:hover .project-more{
  opacity:1;
  letter-spacing:0.12em;
}

.project-item:hover .project-more::before{
  transform:skewX(50deg) translateX(10%);
}

/* ===============================
   ACCESS
================================ */

.access__inner {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.access__map {
  flex: 1;
  aspect-ratio: 3 / 2;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  filter: sepia(.15);
}

.access__info {
  flex: 1;
}

.access__info h2{
  margin-top: 25px;
  margin-bottom: 25px;
}

.access__info span{
  display: block;
  margin-bottom: 25px;
}

/* ===============================
   FOOTER
================================ */

.footer {
  background: #a09274;
  padding: 30px 0 25px;
  text-align: center;
  color: #eeede9;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 15px;
}

.footer-links a {
  font-size: 0.8em;
}

.footer-links a:hover {
  color: #200d05;
  border-color: #200d05;
  opacity: 0.8;
}

.footer-logo img {
  height: 25px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 5px;
}



/* ===============================
   HERO-SUB
================================ */
.hero-sub {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 45vh;
  margin: 0 auto;
  background: url("../img/tools.jpg") center center / cover no-repeat;
}

.hero-sub-text{
  text-align: center;
}

.hero-sub-text h1{
  font-size:1.5em;
  font-family: Yu Mincho, "Hiragino Mincho ProN", serif;
}

.hero-sub-text h4{
  font-family: "Optima", "Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif;
  font-size: 0.75em;
  margin-top: 15px;
}

.hero-sub::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* ほんのり暗く */
}

.hero-sub-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eeede9;
}

.back-to-top {
  display: block;
  width: fit-content;
  margin: 0px auto 80px;
  font-size: 0.85em;
  padding-bottom: 6px;
  opacity: 0.8;
  transition: 0.4s ease;
}

.back-to-top:hover {
  opacity: 1;
  color: #a09274;
  border-color: #a09274;
}

  /* =========================
   PROJECTS PAGE
========================= */

.main-content {
  max-width: 1080px;     /* サイト全体の最大幅を設定 */
  margin: 0 auto;        /* 左右を自動中央寄せ */
  width: 100%;           /* 横幅いっぱいに広げるお守り設定 */
}


#projects section{
  margin-bottom: 0;
}

/* =========================
   HERO
========================= */

.pj-hero img{
    width:100%;
    height:30vw;
    object-fit:cover;
    filter: brightness(75%);
}

.pj-hero{
  margin-bottom: 10%;
}

.grow-hands{
    object-position: center 40%;
}


/* =========================
   INTRO
========================= */

.pj-intro{
  display:grid;

  grid-template-columns:10px 1fr;
  grid-template-rows:auto auto auto;
  column-gap:100px;

  margin-top: 25px;
  padding-bottom: 50px;
}

/* -------------------------
   title
------------------------- */

.pj-intro__title{
  grid-column:1/2;
  grid-row:1/3;

  justify-self:start;

  writing-mode:vertical-rl;
  text-orientation:upright;

  font-size:3rem;
  letter-spacing:0.2em;
  line-height:1.2em;
}

/* -------------------------
   line
------------------------- */

.pj-intro__line{
  grid-column:2;
  grid-row:1/3;

  align-self:center;

  height:1px;
  background:#6e100a;
}

/* -------------------------
   english
------------------------- */

.pj-intro__en{
  grid-column:1;
  grid-row:3;

  font-family:"Optima","Noto Sans",sans-serif;
  font-size:1rem;
  letter-spacing:0.08em;
}


/* -------------------------
   lead
------------------------- */
.pj-intro__lead{
  grid-column:2;
  grid-row:2/5;

  margin-top:40px;
  line-height:2.2;
}


.pj-activity__text{
  align-self:center;
}

/* ========================= PJ SECTION ========================= */ 
.pj-activity{
   display:grid;
   grid-template-columns:1fr 1fr;
   gap:0.5em;
   padding-bottom:5em;
   }
    
.pj-activity__text h2{
   margin-bottom:0.5em;
   } 

.pj-activity__image{
  aspect-ratio: 4 / 3; /* PCは横長 */
  overflow: hidden;
}

.pj-activity__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  object-position:center 35%;
}

.pj-half-title{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto;
  gap: 0.25em;;
  place-items:center;
  margin-bottom: 1em;
}

.pj-half-title__image {
  aspect-ratio: 4 / 3; /* PCは横長 */
  overflow: hidden;
}

.pj-half-title__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pj-half-title__text{
  line-height:1.8em;
}

.pj-flow-halftitle__text{
  grid-column: 1 / -1;
}

.pj-flow-wrap{
  padding-bottom: 5em;
}

.pj-flow{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.5em;
  margin-bottom: 2em;
  place-items:center;
}

.pj-flow-title{
  grid-column: 1 / -1;
}

.pj-flow__text{
place-items:center;
padding-right:10%;
padding-left:10%;
}

.pj-flow__text h4{
  margin-bottom: 0.5em;
}


.pj-flow__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.pj-3images{
  padding-bottom: 0.5em;
}

.pj-centerrow__title{
  margin-bottom: 1.25em;
}

.pj-centerrow__text h2{
  text-align:center;
  margin-bottom: 0.5em;
}

.pj-centerrow__text h3{
  text-align:center;
  margin-bottom: 0.5em;
}

.pj-3images{
  padding-bottom: 5em;
}

.pj-3images__text{
  margin-bottom:0.5rem;
}

.pj-3images__text p{
  text-align:center;
}

.pj-3images__text ul{
  text-align:center;
}

.pj-3images__gallery{
  display:grid;
  grid-template-columns:2fr 1fr;
  grid-template-rows:1.5fr 1fr;
  gap: 0.25em;
  aspect-ratio: 16/9;
  margin-bottom: 0.8em;
}

.pj-3images__image1{
  grid-row:1 / 3;
}

.pj-3images__gallery > div{
  overflow:hidden;
}

.pj-3images__gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pj-ordermade-wrapper{
  margin-bottom: 1.5em;
}

.pj-tall{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
  place-items:center;

}

.pj-tall__text{
  padding-right:5%;
  padding-left:5%;
}

.pj-tall__image{
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

.pj-centercolumn__text h2{
  writing-mode:vertical-rl;
  margin:0px auto 0.8em;
}

.pj-center__image{
  aspect-ratio: 16/9;
  padding-bottom: 0.8em;
  overflow: hidden;
}

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

.pj-alternately{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  place-items:center;
}

.pj-alternately__image1,
.pj-alternately__image2{
  aspect-ratio: 16/9;
  overflow: hidden;
}

.pj-alternately__image1 img,
.pj-alternately__image2 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pj-halfcolumn-title{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto;
  gap: 0.8em;;
  place-items:center;
}

.pj-halfcolumn-title h2{
  writing-mode:vertical-rl;
  margin-bottom: 0.8em;
}



.pj-link-region.pj-center__image img{
  object-position:top top;
}

ul.pj-inpglink-list{
  list-style: none;
  font-size: 0.85em;
  line-height: 1.75em;
  margin-top: 0.5em;
}

.pj-wrapper
{
  padding-bottom: 5em;
}


/* ====================================
画像位置調整
======================================= */

.banhof2{
  object-position:center 20%;
}

.banhof3{
  object-position:center 55%;
}

.make-lei2{
  object-position:center 75%;
}
/* ====================================
  Products Page
======================================= */

.pd-hero{
    width:100%;
    height:30vw;
    overflow:hidden;
    margin-bottom: 1em;
}

.pd-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter: brightness(75%);
}

.pd-intro__title{
  writing-mode:vertical-rl;
  text-orientation:upright;
  font-size:2rem;
  letter-spacing:0.2em;
  line-height:1.2em;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1em;
}

.pd-intro{
  display:grid;
   grid-template-columns:1.5fr 1fr;
   gap:1.5em;
  margin-bottom: 5em;
   place-items: center;
}

.pd-intro__text p{
  padding-bottom: 0.5em;
}

.pd-intro__text li{
  list-style: none;
  line-height: 1.25em;
}

.pd-inpage-link{
  font-size: 0.8em;
  color: #a09274;
}

.pd-intro__image{
  aspect-ratio: 5 / 4; /* PCは横長 */
  overflow: hidden;
}

.pd-intro__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  object-position:center 35%;
}

.pd-feature{
  margin-bottom: 5em;
}

.pd-center__title {
  text-align: center;
  padding-bottom:1em;
}

.pd-feature__odd{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto;
  gap: 0.25em;;
  place-items:center;
  padding-bottom: 1em;
}

.pd-feature h3{
  text-align: center;
}

.pd-feature__image{
  max-height: 320px;
  aspect-ratio: 16 / 9; /* PCは横長 */
  overflow: hidden;
  object-fit: cover;
}

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

.pd-feature__text{
  grid-column: 1/4;
  grid-row: 3/3;
  line-height:1.8em;
}

.pd-feature__even{
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: auto;
  gap: 0.25em;;
  place-items:center;
  padding-bottom: 1em;
}

.pd-introduction-wrapper{
  margin-bottom: 2.5em;
}

.pd-center__subtitle{
  text-align: center;
  margin-bottom: 0.8em;
}

.pd-half-text{ 
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  grid-template-rows: auto;
  gap: 0.8em;;
  place-items:center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.pd-repair{
  margin-bottom: 5em;
}

.pd-repair img{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.pd-preorder{
  margin-bottom: 5em;
}

.pd-preorder .pd-half-text{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 0.8em;;
  place-items:center;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.pd-preorder img{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

p.pd-preorder-text{
  text-align: center;
}

ul.pd-preorder-list{
  list-style: none;
  font-size: 0.85em;
  text-align: center;
}



/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    margin:0 auto 1em;
}

.slider img {
  width: 100%;
  max-height:350px;
  object-fit: cover;
}

.slider .slick-slide {
	transform: scale(0.8);/*左右の画像のサイズを80%に*/
	transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
	opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
	opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top:30%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #a09274;/*矢印の色*/
    border-right: 2px solid #a09274;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: 3%;
    transform: rotate(-135deg);
    z-index: 1;
}

.slick-next {/*次へ矢印の位置と形状*/
    right: 3%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    border: none;
    background:#a09274;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#6e100a;/*ドットボタンの現在地表示の色*/
  }













@media (max-width:960px){
.pd-hero{
    width:100%;
    height:75vw;
    overflow:hidden;
}


  .pd-intro__title{
    font-size:1.5rem;
    letter-spacing: 0.2em;
  }


.pd-intro{
   display:grid;
   grid-template-columns:1.5fr 1fr;
   gap:20px;
   margin-bottom: 3em;
   }
    

.pd-intro__image{
  aspect-ratio: 9 / 16; /* PCは横長 */
  overflow: hidden;
}

.pd-intro__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pd-feature{
  margin-bottom: 3em;
}

.pd-feature__image{
  aspect-ratio: 4 / 3; /* PCは横長 */
}


.pj-flow{
  grid-template-columns: 1fr 1fr;
  padding-bottom: 10px;
}

.pj-flow__text{
padding-right:5%;
padding-left:5%;
}

.pj-flow__text h3{
  margin-bottom: 0.25em;
}


.pj-flow__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

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

.pj-3images__gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap: 0.5em;

  aspect-ratio:5/4; /* またはheight指定 */
}

.pj-3images__image1{
  grid-column:1 / 3;
  grid-row:1;
}

  .pj-3images__image2{
    grid-column:1;
    grid-row:2;
  }

  .pj-3images__image3{
    grid-column:2;
    grid-row:2;
  }

  .pj-tall{
  grid-template-columns: 1.5fr 1fr;
}

.pj-tall__text{
  padding-right:0%;
  padding-left:0%;
}

.pj-tall__image{
  aspect-ratio: 10 / 25;

}

.pj-tall__image img{
  object-position:72% 35%;
}

.pj-alternately{
  gap:0.8em;
  padding-top: 10px;
}

.pj-alternately__image1,
.pj-alternately__image2{
  aspect-ratio: 1/1;
}

.slider img {
  max-height:250px;
}

.slick-prev, 
.slick-next {
    top:40%;
}

img.pd-preorder-imag{
  max-height: 250px;
  aspect-ratio: 4 / 5;
}

}



/* ====================================
  Projects  Main Section
======================================= */

/* レイアウト */
.prj-main-section{
  display:grid;
  grid-template-columns: 200px 1fr;
  gap:60px;
  align-items:center;
}

/* タイトル側 */

.prj-title{
  display:flex;
  flex-direction:column;
  align-items:center;
  border-right:1px solid #6e100a;
}

/* 縦タイトル */
.prj-main-section .vertical-title{
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin-bottom:10px;
}

/* 文章 */
.prj-text p{
  max-width:700px;
}


/* =========================
   Prj Container
========================= */
.prj-container {
  max-width: 1640px;
  margin: 0 auto 120px;

}

/* 左上メイン画像 */
.prj-container .prj-main-image{
  grid-column:1 / 5;
  height:420px;
  overflow:hidden;
}

.prj-container .prj-main-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* 右側コンテンツ */
.prj-container-text{
  grid-column:5 / 9;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  height:420px;
}


.prj-container-text .vertical-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin-bottom: 20px;
}

.prj-container p {
  margin: 30px 10px;
}

.prj-container-list{
  list-style: none;
}

.prj-container-list li {
  margin-bottom: 0.8em;
}

.prj-container-list a {
  display: inline-block;
  font-size: 0.85em;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid;
  transition: opacity 0.3s ease;
  color: #a09274;
  line-height: 1.25em;
}

.prj-container-list a:hover {
  opacity: 0.6;
}

/* 下段3枚 */
.prj-gallery {
  grid-column: 1 / 9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.prj-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tasuku-research-link {
  display: block;
  text-align: center;
  margin-bottom: 150px;
  color: #a09274;
}

/* =========================
   products EN page
========================= */
/* productsタイトル */
.en-page .products__title {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0.12em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.en-page .section-title, .access__info h2{
  letter-spacing: 0.1em;
}

/* =========================
   projects EN page
========================= */
.en-page .prj-title .vertical-title{
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.en-page .prj-title .title-en{
  font-family: "Optima", "Noto Sans", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif;
}

/* コンテナタイトル */
.en-page .container-title{
  letter-spacing: 0.08em;
}

/* =========================
   TABLET
========================= */

@media (max-width:1024px){

.section{
  padding:120px 0;
}

.projects-grid{
  grid-template-columns:repeat(2,1fr);
}

.hamburger-menu {
  width: 50%;
}

.hamburger-menu li {
  margin: 1.6em 0;
  line-height: 1em;
}

.hamburger-menu a {
  font-size: 0.8em;
}


}
/* =========================
   MOBILE
========================= */

@media (max-width:768px){

body{
  font-size: 0.9em;
}

.hamburger-menu {
  width: 100%;
}


/* section余白 */

section{
  margin-bottom: 0%;
  padding:10px 0;
}

/* hero */

.hero-text h1{
  font-size:2.5rem;
}

.scroll-indicator{
  display: flex;
}

/* 矢印のアニメーション部分 */
.scroll-indicator::before {
  animation: scroll 4.5s infinite;
  border-bottom: 1px solid #eeede9;
  border-left: 1px solid #eeede9;
  content: "";
  height: 15px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 15px;
}
/* 矢印のアニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 0.5;
  }
  80% {
    opacity: 1;
    transform: rotate(-45deg) translate(-15px, 15px);
  }
  100% {
    opacity: 0;
    transform: rotate(-45deg) translate(-15px, 15px);
  }
}

.hero::after {
  display: none;
}

.sp-bg-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* ほんのり暗く */
}

/*about*/

.about{
  padding-top: 80px;
  padding-bottom: 80px;
  color:#eeede9;
}

.about-content{
  display: contents;
}

.about-title {
  grid-column: 3 / 4;   /* ←左側に移動 */
  grid-row: 1/1;
  align-items: flex-start; /* ←左寄せ */
}

.about-text {
  grid-column: 5/8;
  grid-row: 2/2;
  align-items: flex-start; /* ←左寄せ */
}



/* sp-bg-wrapper */
.sp-bg-wrapper {
  position: relative;
  margin-bottom: 100px;
}

.sp-bg-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/sp-urushi-wrapper.jpeg") center / cover no-repeat;

  z-index: 0; /* ←ここが超重要！！ */
}


/* 背景のアニメーション */


.sp-bg-wrapper::before {
  animation:
    forestDawn 7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    bgLight 7s ease-in-out infinite alternate 18s;
}

@keyframes forestDawn {


  0% {
    filter:
      brightness(0.12)
      blur(1px)
      saturate(0.4);
  }

  100% {
    filter:
      brightness(0.9)
      blur(0px)
      saturate(1);
  }
}

@keyframes bgLight {

  0% {
    filter: brightness(0.95) saturate(1);
  }

  20% {
    filter: brightness(0.9) saturate(1);
  }

  45% {
    filter: brightness(0.88) saturate(1);
  }

  70% {
    filter: brightness(0.92) saturate(1);
  }

  100% {
    filter: brightness(0.95) saturate(1);
  }
}

/* コンテンツを前に出す */
.sp-bg-wrapper > * {
  position: relative;
  z-index: 1;
}

/* heroの余計な背景は消す */
.hero::before {
  display: none;
}

.hero-bg {
  display: none;
}

/* 透明にする */
.hero,
.about {
  background: transparent;
}

.hero-bg {
  display: none;
}

.hero::before {
  display: none;
}

.about-image{
  display: none;
}

/* urushi */

.urushi-grid{
  display:grid;
  place-items: center;
  grid-template-columns:1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap:20px;
}

/* タイトル */
.urushi-title{
  grid-column:1 / 3;
  grid-row: 1/2;
  text-align:center;
  z-index: 1000;
}

/* メイン画像 */
.urushi-mainimg{
  grid-column:2 / 5;
  grid-row: 1/2;
  margin-right: -15%;
}

/* 小画像2枚をバラす */
.urushi-images{
  display:contents; /* バラすコード */
}

.urushi-images img:nth-child(1){
  grid-column: 1/3;
  grid-row: 2/3;
  width: 100%;
}

.urushi-images img:nth-child(2){
  grid-column: 3/5;
  grid-row: 3/3;
  width: 100%;
}

/* テキスト */
.urushi-text{
  display: contents;
}

.urushi-text1{
  grid-column: 3/5;
  grid-row: 2/3;
}

.urushi-text2{
  grid-column: 1/3;
  grid-row: 3/3;
}

/* projects */
.projects-grid{
  grid-template-columns:1fr 1fr 1fr 1fr 1fr;
}

/* footer */
.footer{
  text-align:center;
}

.footer-links{
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

}

/* =========================
   SP専用：ストーリー型レイアウト
========================= */

@media (max-width:768px){

/* ===== Hero（背景固定） ===== */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* iOS対応：擬似fixed背景 */
.hero::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/tree.jpg") center / cover no-repeat;
  z-index: -1;
}

/* 暗めオーバーレイ */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* 中央配置 */
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* タイトル */
.hero-text h1 {
  writing-mode: vertical-rl;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.2em;
}

/* キャッチ */
.catch {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 0.1em;
}

/* Scroll */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  color: #fff;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===== About（かぶせる） ===== */



/* タイトル */
.about-title h3 {
  writing-mode: vertical-rl;
  font-size: 1.2rem;
  margin: 0 auto 40px;
}

/* 本文 */
.about-text p {
  font-size: 0.85rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ===== Urushi（世界切替） ===== */

.products,
.projects,
.access {
  background: #eeede9;
  color: #200d05;
}

/* ===== Products ===== */

.products__title {
  writing-mode: horizontal-tb;
}

.products__inner {
  position: relative;
}

/* 横書き文章 */
.products__lead {
  color: #eeede9;
  text-shadow: #200d05 1px 0 10px;
  z-index: 2;
}

p.products__lead {
  margin-top: -15px;
  width: 100%;
}

.btn-wrap{
  padding-top: 10px;
}

/* 左下 */
.products__inner.container {
  padding:0;
}

.products__item--bowl {
  width: 100%;
  object-fit: cover;
}

/* 右上 */
.products__item--chopsticks {
  width: 100%;
  object-fit: cover;
  margin-top: 10px;
}

/* ===== Projects ===== */

.projects {
  padding: 80px 20px;
}

.projects-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ===== Access ===== */

.access__inner {
  flex-direction: column;
  padding: 40px 20px;
}

  .access__map {
    order: 2;
  }

  .access__info {
    order: 1;
  }

  .access__map iframe {
    width: 100%;
  }

/* ===== ナビ非表示（シンプル化） ===== */

.navigation {
  display: none;
}
}

@media (max-width:960px){

.pj-intro{
    column-gap:100px;
  }

  .pj-intro.container{
    padding:0 10% 10%;
  }

  .pj-intro__title{
    font-size:2.8rem;
  }

.pj-intro__line{
  width:calc(100% + 10vw);
  margin-right:-10vw;
  }


.pj-activity{
   display:grid;
   grid-template-columns:1.5fr 1fr;
   gap:20px;
   padding-bottom:50px;
   }
    
.pj-activity__text h2{
   margin-bottom:20px;
   } 

.pj-activity__image{
  aspect-ratio: 4 / 5; /* PCは横長 */
  overflow: hidden;
  margin-right:-32%;
}

.pj-activity__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


.pj-half-title__image {
  grid-column: 1 / 2;
  aspect-ratio: 4 / 5; /* PCは横長 */
}


.pj-flow{
  grid-template-columns: 1fr 1fr;
  padding-bottom: 10px;
}

.pj-flow__text{
padding-right:5%;
padding-left:5%;
}

.pj-flow__text h3{
  margin-bottom: 0.25em;
}


.pj-flow__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

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

.pj-3images__gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap: 0.5em;

  aspect-ratio:5/4; /* またはheight指定 */
}

.pj-3images__image1{
  grid-column:1 / 3;
  grid-row:1;
}

  .pj-3images__image2{
    grid-column:1;
    grid-row:2;
  }

  .pj-3images__image3{
    grid-column:2;
    grid-row:2;
  }

  .pj-tall{
  grid-template-columns: 1.5fr 1fr;
}

.pj-tall__text{
  padding-right:0%;
  padding-left:0%;
}

.pj-tall__image{
  aspect-ratio: 10 / 25;

}

.pj-tall__image img{
  object-position:72% 35%;
}

.pj-alternately{
  gap:0.8em;
  padding-top: 10px;
}

.pj-alternately__image1,
.pj-alternately__image2{
  aspect-ratio: 1/1;
}



}