
/*=========================
Header
=========================*/

#header{
  background:#f8f6f1;
  padding:20px 0;
  position:sticky;
  top:0;
  z-index:100;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  margin:0;
}

.logo img{
  height:70px;
  width:auto;
  display:block;
}

.nav-list{
  display:flex;
  gap:40px;
  list-style:none;
  margin:0;
  padding:0;
}

.nav-list a{
  text-decoration:none;
  color:#3f352d;
  font-size:16px;
  transition:0.3s;
}

.nav-list a:hover{
  color:#8aa17d;
}

/* =========================
Hero
========================= */

#hero{
  background:#f8f6f1;
  min-height:calc(100vh - 90px);
  display:flex;
  align-items:center;
}

.hero-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:100px;
}

.hero-content{
  flex:1.2;
}

.hero-subtitle{
  font-size:18px;
  color:#6f5d4b;
  letter-spacing:.15em;
  margin-bottom:24px;
}

.hero-concept{
  font-size:88px;
  line-height:1.15;
  font-weight:700;
  color:#3f352d;
  margin-bottom:40px;
}

.hero-title{
  font-size:20px;
  font-weight:500;
  letter-spacing:0.08em;
  color:#3f352d;
  margin-bottom:24px;
}

.hero-text{
  font-size:18px;
  line-height:2;
  color:#555;
}

/* =========================
   Hero Image Collage
========================= */



/* =========================
   Hero Visual
========================= */

.hero-visual{
  position:relative;
  width:100%;
  height:560px;
}

/* 左上の名前 */
.hero-label{
  position:absolute;
  top:0;
  left:0;
  z-index:10;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.hero-label span{
  font-size:14px;
  letter-spacing:.15em;
  color:#6f5d4b;
}

.hero-label strong{
  font-size:20px;
  font-weight:500;
  letter-spacing:.08em;
  color:#3f352d;
}


/* 3つの画面共通 */
.hero-panel{
  position:absolute;
}


/* 写真 */
.hero-panel .hero-photo{
  background:#fff;
  padding:12px;
  box-shadow:0 18px 45px rgba(63,53,45,.12);
}

.hero-panel .hero-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}


/* 画面内の文字 */
.hero-panel-text{
  position:absolute;
  z-index:5;
  color:#3f352d;
}


/* 左の画面 */
.hero-panel-left{
  width:360px;
  height:360px;
  left:40px;
  top:120px;
  z-index:1;
}

.hero-panel-left .hero-photo{
  width:260px;
  height:340px;
}

.hero-panel-left .hero-panel-text{
  left:-170px;
  top:80px;
}

.hero-panel-left .hero-panel-text span{
  font-size:13px;
  letter-spacing:.15em;
}

.hero-panel-left .hero-panel-text p{
  font-size:15px;
  line-height:1.8;
  margin-top:12px;
}


/* =========================
   中央：メイン画面
========================= */

.hero-panel-main{
  width:420px;
  height:520px;
  left:390px;
  top:100px;
  z-index:3;
}


/* メイン写真 */
.hero-panel-main .hero-photo{
  width:420px;
  height:520px;
  background:#fff;
  padding:12px;
  box-shadow:0 18px 45px rgba(63,53,45,.12);
}


/* メインメッセージ */
.hero-panel-main .hero-panel-text{
  position:absolute;
  left:-165px;
  top:200px; 
  width:170px;
  z-index:5;
}

.hero-panel-main .hero-panel-text p{
  font-size:26px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:.02em;
  margin:0;
}


/* 右の画面 */
.hero-panel-right{
  width:260px;
  height:340px;
  right:150px;
  bottom:120px;
  z-index:2;
}

.hero-panel-right .hero-photo{
  width:260px;
  height:340px;
  position:relative;
  top:-30px;
}

.hero-panel-right .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.7);
}
.hero-panel-right .hero-panel-text{
  position:absolute;
  left:90px;
  top:260px;
  width:260px;
  z-index:5;
}

.hero-panel-right .hero-panel-text span{
  font-size:13px;
  letter-spacing:.15em;
}

.hero-panel-right .hero-panel-text p{
  font-size:14px;
  line-height:1.8;
  margin-top:10px;
}
.container{
  width:90%;
  max-width:1200px;
  margin:0 auto;
}
/*=========================
About
=========================*/

#about{
  padding:120px 0;
   background:#f8f6f1;
}

.section-title{
  font-size:48px;
  color:#3f352d;
  text-align:center;
  margin-bottom:60px;
}

.about-content{
  max-width:760px;
  margin:0 auto;
}

.about-text{
  font-size:18px;
  line-height:2.2;
  color:#555;
  margin-bottom:30px;
}

/*=========================
Strength
=========================*/

#strength{
  padding:120px 0;
  background:#f8f6f1;
}

.strength-list{
  display:flex;
  justify-content:space-between;
  gap:40px;
}

.strength-item{
  flex:1;
  background:#fff;
  padding:40px 32px;
  border-radius:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.strength-item h3{
  font-size:42px;
  color:#a8b59a;
  margin-bottom:16px;
}

.strength-item h4{
  font-size:22px;
  color:#3f352d;
  margin-bottom:20px;
}

.strength-item p{
  font-size:16px;
  line-height:2;
  color:#555;
}

/* ==========================
   Skills
========================== */

#skills{
    padding:100px 0;
}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:32px;

    margin-top:60px;

}

.skill-card{

    position: relative;

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid #f1ece6;

    border-radius: 24px;

    padding: 48px 42px;

    transition: .35s;

    box-shadow: 0 8px 25px rgba(0,0,0,.05);

}

.skill-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

.skill-card:hover .skill-icon{

    transform:scale(1.08);

}

.skill-number{

    position:absolute;

    top:28px;

    left:32px;

    font-size:14px;

    letter-spacing:.2em;

    color:#b8ab9b;

    font-weight:600;

}

.skill-icon{

    width:64px;
    height:64px;

    margin:30px auto 28px;

    color:#7A6855;

        transition:.35s;

}

.skill-card:hover .skill-icon{

    transform:scale(1.08);

}

.skill-icon svg{

    width:100%;

    height:100%;

}

.skill-card:hover .skill-icon{

    transform:scale(1.08);

}

.skill-title{

    font-size:24px;

    font-weight:600;

    margin-bottom:24px;

    text-align:center;

}

.skill-list{

    list-style:none;

    padding:0;

    margin:0 0 28px;

    text-align:center;

}

.skill-list li{

    margin-bottom:8px;

    letter-spacing:.05em;

}
.skill-text{

   margin-top: auto;

    color:#666;

    line-height:1.9;

    text-align:center;

    font-size:15px;

}

/* タブレット */

@media(max-width:768px){

.skills-grid{

    grid-template-columns:1fr;

}
}


/* ==========================
   Works
========================== */

#works{
    padding:100px 0;
}

.works-category{
    margin-top:70px;
}

.works-heading{

    font-size:28px;

    margin-bottom:32px;

    color:#3d352d;

}

.works-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:32px;

}

.work-card{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    border:1px solid #f1ece6;

    transition:.35s;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.work-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

.work-card a{

    display:block;

    text-decoration:none;

    color:inherit;

    cursor:pointer;

}

.work-card img{

    width:100%;

    display:block;

    transition:.35s;

}

.work-card:hover img{

    transform:scale(1.05);

}

.work-info{

    padding:28px;

}

.work-title{

    font-size:22px;

    font-weight:600;

    margin-bottom:12px;

    color:#3d352d;

}

.work-tag{
    display:inline-block;

    padding:6px 14px;

    border:1px solid #d8cfc4;

    border-radius:999px;

    background:transparent;

    color:#7A6855;

    font-size:13px;

    font-weight:500;
}

/* ==========================
   Footer
========================== */

#footer{

    padding:40px 0;

    background:#f8f5f1;

    text-align:center;

}

.footer-name{

    font-size:18px;

    font-weight:600;

    color:#3d352d;

    margin-bottom:10px;

    letter-spacing:.08em;

}

.footer-copy{

    font-size:13px;

    color:#888;

}

/* =========================
   Hero 中央パネル
========================= */

.hero-panel-main .hero-panel-text {
  position: absolute;
  left: 5px;
  top: 20px;
  width: 190px;
  z-index: 5;
}

.hero-panel-main .hero-panel-text p {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 600;
  color: #3f352d;
  margin: 0;
}

.hero-panel-main .hero-photo {
  position: absolute;
  right: 10px;
  top: -60px;
  width: 410px;
  height: 420px;
  z-index: 2;
}

.hero-panel-main .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateX(80px);
}

/* =========================
   Hero 左パネル
========================= */

.hero-panel-left .hero-panel-text {
  position: absolute;
  left: 0;
  bottom: -85px;
  width: 100%;
  z-index: 5;
  transform: translateX(35px);
}

.hero-panel-left .hero-panel-text span {
  display: block;
  font-size: 12px;
  letter-spacing: .15em;
  color: #a8b59a;
  margin-bottom: 10px;
}

.hero-panel-left .hero-panel-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #3f352d;
  margin: 0;
}

.hero-panel-left .hero-photo {
  position: absolute;
  left: 20px;
  top: 20px;
  width: calc(100% - 40px);
  height: 62%;
  z-index: 2;
}

.hero-panel-left .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateX(20px);
}

/* =========================
   About
   絵本風ページめくり
========================= */


/* ---------- 本のステージ ---------- */

.about-book {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 520px;
  margin: 60px auto 0;

  perspective: 2000px;
}


/* ---------- 本の影 ---------- */

.about-book-shadow {
  position: absolute;

  left: 6%;
  right: 6%;
  bottom: -20px;

  height: 35px;

  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.20),
    rgba(0, 0, 0, 0) 70%
  );

  filter: blur(2px);

  z-index: 0;
}


/* ---------- 本の表紙 ---------- */

.about-book-cover {
  position: absolute;
  inset: 0;

  background: #fffdf8;

  border-radius: 10px;

  box-shadow: none;

  overflow: hidden;
}

  
/* ---------- ページ部分 ---------- */

.about-page-area {
  position: absolute;

  top: 2px;
  bottom: 2px;
  left: 2px;
  right: 2px;

  background: #fffdf8;

  overflow: hidden;

    border-radius: 8px;
}


/* ---------- 固定ページ ---------- */

.about-base-page {
  position: absolute;

  top: 0;
  bottom: 0;

  width: 50%;

  background: #fffdf8;

  z-index: 1;
}

.about-base-left {
  left: 0;
}

.about-base-right {
  right: 0;
}


/* ---------- 中央の綴じ目 ---------- */

.about-spine {
  position: absolute;

  top: 0;
  bottom: 0;

  left: 50%;

  width: 40px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0),
    rgba(0,0,0,0.08) 35%,
    rgba(0,0,0,0.18) 50%,
    rgba(0,0,0,0.08) 65%,
    rgba(0,0,0,0)
  );

  z-index: 50;

  pointer-events: none;
}


/* =========================
   めくれるページ
========================= */

.about-leaf {
  position: absolute;

  top: 0;
  right: 0;

  width: 50%;
  height: 100%;

  transform-style: preserve-3d;

  transform-origin: left center;

  transform: rotateY(0deg);

  transition:
    transform 0.9s cubic-bezier(.63,.06,.28,1);

  z-index: 10;
}


/* めくった状態 */

.about-leaf.flipped {
  transform: rotateY(-180deg);
}


/* ---------- ページ表裏 ---------- */

.about-leaf-face {
  position: absolute;

  inset: 0;

  background: #fffdf8;

  backface-visibility: hidden;

  overflow: hidden;
}


/* 裏側 */

.about-leaf-back {
  transform: rotateY(180deg);
}


/* =========================
   ページ内コンテンツ
========================= */

.about-side {
  position: relative;

  width: 100%;
  height: 100%;

  box-sizing: border-box;
}


/* ---------- 文章ページ ---------- */

.about-side-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px 85px;
}


.about-side-text .about-label {
  font-size: 18px;

  letter-spacing: 0.2em;

  margin-bottom: 15px;

  color: #8b7565;

transform: translateY(-15px);
}


.about-side-text h3 {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 24px;
  font-weight: 500;
}

.about-side-text p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  color: #5d554e;
}

/* ---------- 写真ページ ---------- */

.about-side-photo {
  padding: 0px;

  display: flex;

  align-items: center;

  justify-content: center;
}


.about-side-photo .about-photo-frame {
  width: 100%;
  height: 100%;

  overflow: hidden;

  border-radius: 0px;

  background: #f1e8e5;
}


.about-side-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


/* ---------- ページ番号 ---------- */

.about-folio {
  position: absolute;

  bottom: 18px;

  font-size: 12px;

  letter-spacing: 0.15em;

  color: #8b7565;
}

.about-folio-left {
  left: 22px;
}

.about-folio-right {
  right: 22px;
}


/* =========================
   ページ番号・ボタン
========================= */

.about-controls {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 20px;

  margin-top: 25px;
}


.about-arrow {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  border: 1px solid #ddd7ce;

  background: #fffdf8;

  color: #6b4b3e;

  cursor: pointer;

  font-size: 16px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.about-arrow:hover:not(:disabled) {
  background: #6b4b3e;

  color: #fffdf8;

  transform: translateY(-2px);
}


.about-arrow:disabled {
  opacity: 0.3;

  cursor: default;
}


.about-page-indicator {
  min-width: 80px;

  text-align: center;

  font-size: 13px;

  letter-spacing: 0.15em;

  color: #6b625b;
}

.hero-panel-right .hero-photo img{
  position: relative;
  top: -50px;
}

.hero-panel-right .hero-panel-text{
  position: relative;
  top: -150px;
}
.hero-panel-text p{
  font-family: "Cormorant Garamond", serif;
}
.hero-panel-text p small{
  display:block;
  font-family:"Noto Sans JP", sans-serif;
  font-size:12px;
  margin-top:50px;
  letter-spacing:.05em;
}
.hero-panel-main .hero-panel-text p small{
  font-size:14px;
}

.hero-panel-right .hero-panel-text p small{
  margin-top:4px;
}
.hero-panel-left .hero-panel-text p,
.hero-panel-right .hero-panel-text p{
  font-weight: 600;
}
.hero-label strong{
  font-size:22px;
}
.hero-label span{
  font-size:16px;
}