 /* ----------------------------------
       CSS Variables & Reset
    ---------------------------------- */
    :root {
      --bg-color: #fcfbf9;
      --card-bg: #ffffff;
      --text-main: #2b2b2b;
      --text-muted: #6e6e6e;
      --accent-color: #3b5249;
      --border-color: #e8e6e1;
      --font-en: 'Inter', sans-serif;
      --font-ja: 'Noto Serif JP', serif;
    }

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

    body {
      background-color: var(--bg-color);
      color: var(--text-main);
      font-family: var(--font-en), "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
      line-height: 1.8;
      letter-spacing: 0.03em;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    /* ----------------------------------
       Layout & Components
    ---------------------------------- */
    .container {
      width:98%;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Header */
    header {
      padding: 40px 0;
      border-bottom: 1px solid var(--border-color);
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.2rem;
      font-weight: 600;
      letter-spacing: 0.1em;
    }

    nav ul {
      display: flex;
      gap: 24px;
      list-style: none;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    nav a:hover {
      color: var(--accent-color);
    }

    /* Hero */
    .hero {
      padding: 0px 0;
      text-align: center;
      width: 100%;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
        background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
    }

    .hero-title {
      font-family: var(--font-ja);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 600;
      margin-bottom: 16px;
      line-height: 1.4;
    }

    .hero-subtitle {
      color: var(--text-muted);
      font-size: 1rem;
    }

    /* Section Global */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-family: var(--font-en);
      font-size: 1.8rem;
      font-weight: 300;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 48px;
      position: relative;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 40px;
      height: 1px;
      background-color: var(--accent-color);
      margin-top: 12px;
    }

    /* Work Cards Grid */
    .works-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 60px;
    }

    .work-card {
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .work-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.04);
    }

    /* Mockup Visual */
    .work-image-wrapper {
      background-color: #f2f0ec;
      padding: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mockup-box {
      width: 100%;
      border-radius: 4px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-weight: 600;
      box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    }
    .mockup-box .img_con{
      position: relative;
 
    }

    .mockup-box .img_con .page-view{
      position: absolute;
      left: 50%;
      top: 0;
      transform:translateX(-50%);
      /*display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;*/
      font-size: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .6);
      opacity: 0;
      cursor: pointer;
      transition: 0.2s ease-in !important;
    }
    .mockup-box .img_con:hover .page-view{
      opacity: 1;
    }
    .mockup-box .img_con .page-view::before{
      content: "";
      width: 95px;
      height: 20px;
      display: block;
      position: absolute;
      left: 50%;
      top: 50%;
      transform:translate(-50%);
      background: url("../img/ic_blank.svg") no-repeat,right center;
    }   
    .mockup-box .img_con img{
      width: 100%;
      height: 100%;
    }
    .mockup-box img{
      width: 100%;
      object-fit: cover;
  
     }
    /*.mockup-1 { background: linear-gradient(135deg, #2b3a42, #3f5e6b); }
    .mockup-2 { background: linear-gradient(135deg, #d4a373, #e9edc9); color: #333; }
    .mockup-3 { background: linear-gradient(135deg, #4a5d4e, #a3b18a); }*/

    /* Work Details */
    .work-content {
      padding: 40px;
    }

    .work-category {
      font-size: 0.8rem;
      color: var(--accent-color);
      font-weight: 600;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
      text-transform: uppercase;
    }

    .work-title {
      font-family: var(--font-ja);
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .work-description {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 24px;
    }

    .work-meta {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 16px;
      padding-top: 20px;
      border-top: 1px dashed var(--border-color);
      margin-bottom: 24px;
    }

    .meta-item-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .meta-item-value {
      font-size: 0.85rem;
      font-weight: 600;
    }

    .btn {
      display: inline-block;
      padding: 10px 24px;
      border: 1px solid var(--accent-color);
      color: var(--accent-color);
      font-size: 0.85rem;
      letter-spacing: 0.05em;
      border-radius: 4px;
      transition: background-color 0.2s, color 0.2s;
    }

    .btn:hover {
      background-color: var(--accent-color);
      color: #ffffff;
    }

    /* About Section */
    .about-content {
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      padding: 40px;
      border-radius: 8px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 30px;
    }
    .about-content .img_con{
        width: 120px;
      }
    .about-text {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 24px;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 40px 0;
      border-top: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    /* ----------------------------------
       Responsive Queries
    ---------------------------------- */
    @media (min-width: 860px) {
      .work-card {
        grid-template-columns: 1.1fr 1.2fr;
      }

      .about-content .about-text{
        width: calc((100% - 150px) - 30px);
      }
    }
    /* ----------------------------------
   Design Comps Section (デザインカンプ案内)
---------------------------------- */
.comp-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  margin-top: 60px;
}

.comp-header {
  margin-bottom: 32px;
}

.comp-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f2f0ec;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.comp-title {
  font-family: var(--font-ja);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.comp-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* カンプ表示用のグリッドレイアウト */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.comp-card {
  background-color: #fcfbf9;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.comp-img-wrapper {
  height: 200px;
  overflow: hidden;
  background-color: #e8e6e1;
  position: relative;
}

.comp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.comp-card:hover .comp-img {
  transform: scale(1.03);
}

.comp-info {
  padding: 20px;
}

.comp-info-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.comp-info-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.comp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.comp-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}
/******アニメーション*****/
.io.fade {
	-webkit-transition: opacity 1.5s ease-out;
	transition: opacity 1.5s ease-out;
	opacity: 0
}

.io.fade.active {
	opacity: 1
}

.io.img-cover {
	background-color: #e5e4e3;
	overflow: hidden;
	opacity: 0
}

@media (max-width: 767px) {
	.io.img-cover {
		-webkit-transform: translate3d(0, 26.66667vw, 0);
		transform: translate3d(0, 26.66667vw, 0)
	}
}

@media (min-width: 768px) {
	.io.img-cover {
		-webkit-transform: translate3d(0, 200px, 0);
		transform: translate3d(0, 200px, 0)
	}
}

.io.img-cover img {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	will-change: transform, clip-path;
	-webkit-clip-path: inset(100% 0% 0% 0% round 0 30% 0 0);
	clip-path: inset(100% 0% 0% 0% round 0 30% 0 0)
}

.io.img-cover.active {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: opacity 0.5s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
	transition: opacity 0.5s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
	transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
	transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-transform 1.5s cubic-bezier(0.16, 1, 0.3, 1)
}

.io.img-cover.active img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-clip-path: inset(-30% 0% 0% 0% round 0 30% 0 0);
	clip-path: inset(-30% 0% 0% 0% round 0 30% 0 0)
}

@media (max-width: 767px) {
	.io.img-cover.active img {
		-webkit-transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1s cubic-bezier(0.77, 0, 0.175, 1), -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1s cubic-bezier(0.77, 0, 0.175, 1)
	}
}

@media (min-width: 768px) {
	.io.img-cover.active img {
		-webkit-transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1), -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1)
	}
}

.io.img-cover2 {
	overflow: hidden;
	opacity: 0;
	background-color: #e5e4e3
}

.io.img-cover2 img {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	will-change: transform, clip-path;
	-webkit-clip-path: inset(100% 0% 0% 0% round 0 30% 0 0);
	clip-path: inset(100% 0% 0% 0% round 0 30% 0 0)
}

.io.img-cover2.active {
	opacity: 1;
	-webkit-transition: opacity 1s cubic-bezier(0.39, 0.575, 0.565, 1);
	transition: opacity 1s cubic-bezier(0.39, 0.575, 0.565, 1)
}

.io.img-cover2.active img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-clip-path: inset(-20% 0% 0% 0% round 0 20% 0 0);
	clip-path: inset(-20% 0% 0% 0% round 0 20% 0 0)
}

@media (max-width: 767px) {
	.io.img-cover2.active img {
		-webkit-transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1s cubic-bezier(0.77, 0, 0.175, 1), -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1s cubic-bezier(0.77, 0, 0.175, 1)
	}
}

@media (min-width: 768px) {
	.io.img-cover2.active img {
		-webkit-transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
		transition: transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1), -webkit-transform 2s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1)
	}
}/* アニメーション用のCSS */

.hero {
  position: relative;
  overflow: hidden;
  /* z-index階層を確立 */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2; /* テキストを前方へ */
}
/* ヒーロータイトルの1文字アニメーション用 */
.hero-title span {
  display: inline-block;
  opacity: 0; /* 初期状態は非表示（GSAP側で制御するため） */
  will-change: transform, opacity;
}
/* 背景Canvas */
.hero-background-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* ぼかしはCanvas側のグラデーションで表現しているため、CSSのblurはマイルドに設定 */
  filter: blur(8px);
  opacity: 0.9;
}