/* style.css */
/* Reset */
* { margin: 0; box-sizing: border-box; }

@import url("https://use.typekit.net/abd6qun.css");
html, 
body { 
  width: 100%; 
}

body { 
  font-family: "noto-sans-cjk-jp", "helvetica-neue-lt-pro", "Arial", sans-serif; 
  padding-top:40px; 
}
.container { 
  max-width:1280px; 
  margin:0 auto; 
  padding:0 20px; 
}
.content { 
  flex:1; 
  padding:20px; 
}

/* Header */
.site-header { 
  position:fixed; 
  top:0; 
  left:0; 
  width:100%; 
  padding:20px; 
  background:#fff; 
  border-bottom:1px solid #e0e0e0; 
  z-index:1000; 
  background-color: rgba(255,255,255,0.9);
}
.site-header .container { 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
}
.site-header h1 a { 
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size:32px; 
  font-weight:bold; 
  letter-spacing: 0.1em;
  color:#000; 
  text-decoration:none; 
}

/* Global Navi */
.global-nav { 
  position:relative; 
}
.global-nav ul { 
  display:flex; 
  gap:50px; 
  list-style:none; 
}
.global-nav a { 
  font-family: "helvetica-neue-lt-pro", sans-serif;
  color:#333; 
  text-decoration:none; 
  font-size:16px; 
  font-weight:bold; 
  letter-spacing: 0.05em;
}
.global-nav a:hover { 
  color: #20b2aa;
}
.menu-jp {
  font-size:10px; 
  font-weight:normal; 
}

/* Hamburger */
.hamburger { 
  display:none; 
  flex-direction:column; 
  gap:4px; 
  cursor:pointer; 
}
.hamburger span { 
  width:24px; 
  height:3px; 
  background:#333; 
  transition:0.05s; 
}
.hamburger.active span:nth-child(1) { 
  transform: translateY(7px) rotate(45deg); 
  background: #20b2aa;
}
.hamburger.active span:nth-child(2) { 
  opacity:0; 
}
.hamburger.active span:nth-child(3) { 
  transform: translateY(-7px) rotate(-45deg); 
  background: #20b2aa;
}

/* Slider */
.slider { 
  position:relative; 
  overflow:hidden; 
  width:100%; 
  margin:40px 0; 
}
.slides { 
  display:flex; 
  transition:transform 2.5s 
  ease-in-out; 
}
.slides img { 
  width:100%; 
  aspect-ratio:800/400; 
  object-fit:cover; 
}
.dots { 
  text-align:center; 
  padding-top:10px; 
}
.dot { 
  display:inline-block; 
  width:6px; 
  height:6px; 
  margin:0 10px; 
  background:#ccc; 
  border-radius:50%; 
  cursor:pointer; 
}
.dot.active { 
  background:#333; 
}

.sp-hero {
  display: none;
}
.sp-point {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40px;
  height: 40px;
}


/* Gallery Title */
.gallery-top {
  text-align:center;
}
.gallery-top h2 { 
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size:28px; 
  padding-top:140px;
  margin-bottom:16px; 
  letter-spacing: 0.1em;
}
.gallery-top p { 
  font-size:16px; 
  font-weight: bold;
  line-height:1.6; 
  color:#333; 
  letter-spacing: 0.1em;
}

/* Gallery */
.gallery {
  display:grid; 
  grid-template-columns:repeat(3,1fr); 
  gap: 60px 60px; 
  margin-top:40px;
  margin-bottom:160px;
}
.gallery img {
  width:100%; 
  aspect-ratio:1/1; 
  object-fit:cover; 
  background:#f0f0f0; 
}
.gallery a img:hover {
  opacity: 0.7;
}
.gallery figcaption {
  padding: 2px 10px; 
  background:#f9f9f9; 
}
.gallery figcaption h3 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 700;
  font-size:20px; 
  margin-top:8px; 
  margin-bottom:6px; 
  color:#333; 
  cursor:pointer; 
}
.gallery figcaption a h3:hover{
  color: #20b2aa;
}
.gallery figcaption h4 {
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 10px; 
  font-weight: 400;
  margin-bottom: 24px; 
  letter-spacing: 0.1em;
  color:#333; 
}
.gallery figcaption p {
  font-size:14px; 
  color:#333; 
  line-height:1.6; 
  margin-bottom:8px;
}
.gallery figcaption .more a {
  display: inline-block;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size:14px; 
  color:#333; 
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border: 1px solid #333;
  text-decoration: none;
  cursor:pointer; 
}
.gallery figcaption .more a:hover{
  color: #20b2aa;
}

/* Work Title */
.works-top {
  text-align:center;
}
.works-top h2 { 
  font-family: "helvetica-neue-lt-pro", sans-serif;
  margin-top: 60px;
  font-size:28px; 
  margin-bottom:16px; 
  letter-spacing: 0.1em;
}
.works-top p { 
  font-size:16px; 
  font-weight: bold;
  line-height:1.6; 
  color:#333; 
  letter-spacing: 0.2em;
}

/* 作品詳細（1カラム表示） */
.work-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
}
.work-image {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.work-image img {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}
.image-container {
  display: flex; /* 親要素にflexboxを設定 */
}
.image-container img {
  width: 50%; /* それぞれの画像を横幅の50%に設定 */
  box-sizing: border-box; /* paddingとborderをwidthに含める */
  padding: 0 4px; /* 必要に応じて余白を設定 */
}
.image-container3 {
  display: flex; /* 親要素にflexboxを設定 */
}
.image-container3 img {
  width: 33.3%; /* それぞれの画像を横幅の50%に設定 */
  box-sizing: border-box; /* paddingとborderをwidthに含める */
  padding: 0 4px; /* 必要に応じて余白を設定 */
}
.work-info {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.work-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}
.work-info .shop {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  padding: 2px 10px;
  border: 1px solid #333;
  margin-bottom: 30px;
  cursor:pointer; 
}
.work-info a .shop:hover{
  color: #20b2aa;
}
.work-info p {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 80px;
}
.work-company {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 20px; 
  margin-bottom: 100px;
  background:#f9f9f9; 
}
.work-company h3 {
  font-size: 16px;
  font-weight: normal;;
  margin-bottom: 8px;
  color: #333;
}
.work-company p {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/*----------------------------------------
お問合せボタンのスタイル
----------------------------------------*/
.contact-btn {
  position: fixed;
  bottom: 80px;  /* 画面下部から80px */
  right: 40px;   /* 画面右側から40px */
  background-color: #20b2aa;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 4px; 
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ボタンに影をつける */
  transition: background-color 0.3s ease;
}
  
.contact-btn:hover {
  background-color: #40e0d0; /* ホバー時に色を変更 */
}


/* Footer */
.site-footer { 
  position: fixed; 
  bottom:0;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  background-color: #dcdcdc; 
}
.footer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  text-align: center;
}
.social-icon {
  position: absolute;
  top: 17px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px; 
}
.social-icon img {
  display: block;
}
.social-icon a img:hover {
  opacity: 0.5;
}
.site-footer .to-top {
  position: absolute;   /* フッターを基準に配置 */
  right: 20px;          /* 右端から20px */
  top: 16px;             /* 高さ中央に置く */
  display: block;
}

.site-footer .to-top img {
  width: 28px;
  height: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .content { 
    flex:1; 
    padding:20px; 
  }
  .site-header .container { 
    justify-content: space-between; 
  }
  .global-nav ul { 
    display: none; 
    position: absolute; 
    top: 60px; 
    right: 0; 
    flex-direction: column; 
    padding: 60px;
    background: #fff; 
    border: 1px solid #e0e0e0; 
  }
  .global-nav ul.open { 
    display: flex; 
  }
  .hamburger { 
    display: flex; 
  }

  .slider {
    display: none;
  }
  .sp-hero {
    position:relative; 
    overflow:hidden; 
    width:100%; 
    margin:40px 0; 
    display: flex;
  }
  .sp-hero img { 
    width:100%; 
    aspect-ratio:400/500; 
    object-fit:cover; 
  }

  .gallery-top {
    text-align:center;
  }
  .gallery-top h2 { 
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size:28px; 
  margin-bottom:16px; 
  letter-spacing: 0.1em;
  }

  .gallery { 
    grid-template-columns: 1fr; 
  }
  .image-container  {
    display: block;
  }
  .image-container img {
    width: 100%;
  }
  .footer-container { 
    justify-content: space-between; 
  }

/*----------------------------------------
お問合せボタンのスタイル
----------------------------------------*/
  .contact-btn {
    display: none;
  }
  .sp-contact-btn {
    position: fixed;
    bottom: 72px;  /* 画面下部から80px */
    right: 20px;   /* 画面右側から40px */
    background-color: #20b2aa;
    color: white;
    width: 92px;
    height: 92px;
    font-size: 14px;
    border-radius: 50%; 
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ボタンに影をつける */
    transition: background-color 0.3s ease;
  }
  .sp-contact-btn:hover {
    background-color: #40e0d0; /* ホバー時に色を変更 */
  }
}
