@charset "UTF-8";
/* CSS Document */
html {
  font-size: 16px; /* 基準サイズ: 1rem = 16px */
}
html, body {
  margin: 0;
  padding: 0;
}
main {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #000000;
}
body {
  font-family: 'Cormorant Garamond' , 'YuMincho', sans-serif;
  font-size: 0.95rem; /* 1rem 16px */
  line-height: 1.5;
}


.fade-in {
  opacity: 0;
  transform: translateY(2.5rem); /* 40px → 2.5rem */
  transition: opacity 1.5s ease, transform 1.5s ease;
}
/* 表示状態 */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.header {
  max-width: 1200px;
  position: fixed;
  height: 100px;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  color: #fff;
/*  padding: 0 30px;*/
  background-color: rgb(0,0,0,0.0);
  border-bottom: 1px solid transparent; /* 見えないボーダーでmargin相殺を防ぐ */
  z-index: 2000;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  transition: background 0.4s ease, color 0.4s ease;
}
.header_inner {
/*  max-width: 73.75rem;*/
  /* 1180px → 73.75rem */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
/*  margin: 0 auto;*/
  padding: 0 20px 0 0;
}
.logo a img {
  display: block;
  padding-right: 1.25rem; /* 20px → 1.25rem */
  width: 100%;
  height: 100%;
}
/* ナビゲーションリンクの色切り替え */
.drawer_nav a {
  color: #333;
  transition: color 0.4s ease;
}

.header.scrolled .drawer_nav a {
  color: #000;
}
.header.scrolled .drawer_nav a:hover {
  color: #ff8219; /* ホバー時は同じ赤 */
}

/* ロゴのフェードアニメーションを自然にする */
.header .logo img {
  transition: opacity 0.3s ease;
}
/* ナビ（PC幅） */
.drawer_nav {
  display: flex;
  position: static;
  width: auto;
  height: auto;
  background: none;
/*  margin: 0 50px 0 0;*/
  opacity: 1;
  transform: none;
  transition: none;
}
.drawer_nav ul {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.nav_menu {
  margin-left: 2.5rem; /* 40px → 2.5rem */
}
.nav_menu a {
  display: flex;
  align-items: center; /* 上下中央に揃える */
  font-size: 1.125rem; /* 18px → 1.125rem */
  font-weight: 600;
  color: #333;
  position: relative;
  padding-left: 1.6rem;/* アイコン分の余白 */
  transition: color 0.3s;
}
.nav_menu a::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.3s;
  color: #464646;
}
/* 項目ごとのアイコン設定 */
.n-about a::before {
  content: "\f007"; /* ユーザーアイコン */
}
.n-service a::before {
  content: "\f013"; /* 歯車 */
}
.n-works a::before {
  content: "\f0b1"; /* ブリーフケース */
}
.n-news a::before {
  content: "\f1ea"; /* 新聞 */
}
.n-contact a::before {
  content: "\f0e0"; /* メール */
}
.nav_menu a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0.1875rem); /* 3px → 0.1875rem */ /* 少しスライドする動き */
}
.nav_menu a:hover {
  color: #464646;
}
/* 既存の .header, .header_inner, .logo, .drawer_nav, .nav_menu はそのまま */

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 60px;   /* 円のサイズ */
  height: 60px;
  min-width: 60px;     /* 縮まないように */
  min-height: 60px;
  flex-shrink: 0;      /* Flexboxで縮小防止 */
  border-radius: 50%; /* 円形 */
  background: #ff8219; /* 赤色 */
  cursor: pointer;
  z-index: 1100;
  transition: background 0.3s ease;
/*  margin:0 15px 0;*/
  transition: all 0.3s ease, background 0.3s ease;
  cursor: pointer;
  overflow: hidden; /* 擬似要素がはみ出さないように */
  position: relative; /* 擬似要素の基準 */
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff; /* 初期：白線 */
  display: block;
  transition: all 0.4s ease;
  transform-origin: center;
}


/* 開いたときのバツ印 */
.hamburger.open {
  background: #888; /* ← 開いたときはグレーに変更 */
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #fff;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: #fff;
}

/* バツ印状態でhover */
.hamburger.open:hover {
  background: #000;
}
.hamburger.open:hover span:nth-child(1),
.hamburger.open:hover span:nth-child(3) {
  background: #fff;
}

/* hoverアニメーション用の擬似要素 */
.hamburger.open::after {
  content: "";
  position: absolute;
  inset: 0; /* 親の円の中いっぱい */
  border-radius: 50%;
  background: #000;
  transform: scale(0);   /* 最初は小さく */
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 0; /* 背景として配置 */
}

/* hover時：中央から黒く広がる */
.hamburger.open:hover::after {
  transform: scale(1.2); /* 拡大して背景全体を覆う */
  opacity: 1;
}
/* 擬似要素の上に線を出すため */
.hamburger.open span {
  position: relative;
  z-index: 1;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* --- レスポンシブ --- */
/* PC表示時のみ、スクロール後に黒文字に変更 */
@media (min-width: 1101px) {
  .header.scrolled .drawer_nav .nav_menu a {
    color: #000;
  }
  .header.scrolled .drawer_nav a:hover {
    color: #ff8219; /* ホバー時は赤 */
  }
}

@media (max-width: 1000px) {
	.header{
		background-color: rgb(0,0,0,0.0);
	}
  .drawer_nav {
    position: fixed;
    right: 0;
    bottom: -100%;
    width: 240px;
	height: 100vh;
    background: #fff;
    padding: 7rem 0;
	margin: 0;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    z-index: 1001;
  }

  .drawer_nav ul {
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }

  .nav_menu a {
    font-size: 1.125rem; 
	padding-left: 2rem;/* アイコン分の余白 */
	color: #000;
  }
	
   .drawer_nav.active {
    bottom: 0;
    opacity: 1;
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }
　
  .drawer_nav a:hover {
    color: #ff8219 !important; /* 常に赤にホバー */
  }
  .header_inner {
    padding: 0 20px;
}


}

@media (max-width: 500px) {
	.header{
		background-color: rgba(0,0,0,0.0);
		height: 70px;
		margin-top: 10px;
		}
	.hamburger{
		height: 40px;
		width: 40px;
	    min-width: 50px;
    	min-height: 50px;
	}
}
@media (max-width: 400px) {
	.logo a img{
		margin: 0;
	}
	.hamburger{
		margin: 0 0 0 10px;
	}
}
.drawer_nav,
.hamburger {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.drawer_nav:not(.hide),
.hamburger:not(.hide) {
  opacity: 1;
  transform: translateY(0);
}
/* ナビが開いたときに背景スクロールを止める */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}


.contact-button {
  position: fixed;
  right: 0;
  bottom: 7.5rem; /* 20px → 1.25rem */
  width: 3.75rem; /* 60px → 3.75rem */
  height: 5.625rem; /* 90px → 5.625rem */
  background: #ff4500;
  color: #fff;
  border-radius: 0.625rem 0 0 0.625rem; /* 10px → 0.625rem */
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 0; /* 12px → 0.75rem */
  font-size: 1.25rem; /* 20px → 1.25rem */
  text-decoration: none;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.2); /* 4px 6px → rem */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
.contact-button i {
  font-size: 1.375rem; /* 22px → 1.375rem */
  margin-bottom: 0.3rem; /* 25px → 1.5625rem */
}
.contact-button span {
  font-size: 0.875rem; /* 14px → 0.875rem */
  letter-spacing: 0.0625rem; /* 1px → 0.0625rem */
  line-height: 1;
}
.contact-button.show {
  opacity: 0.9;
  pointer-events: auto;
}
.contact-button:hover {
  opacity: 1;
  transform: translateY(-3px);
}


.pagetop {
  position: fixed;
  right: 0;
  bottom: 1.25rem; /* 20px → 1.25rem */
  width: 3.75rem; /* 60px → 3.75rem */
  height: 5.625rem; /* 90px → 5.625rem */
  background: #ff8129;
  color: #fff;
  border-radius: 0.625rem 0 0 0.625rem; /* 10px → 0.625rem */
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0; /* 12px → 0.75rem */
  font-size: 1.25rem; /* 20px → 1.25rem */
  text-decoration: none;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.2); /* 4px 6px → rem */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
.pagetop i {
  font-size: 1.375rem; /* 22px → 1.375rem */
  margin-bottom: 1.5625rem; /* 25px → 1.5625rem */
}
.pagetop span {
  font-size: 0.875rem; /* 14px → 0.875rem */
  letter-spacing: 0.0625rem; /* 1px → 0.0625rem */
  line-height: 1;
}
.pagetop.show {
  opacity: 0.9;
  pointer-events: auto;
}
.pagetop:hover {
  opacity: 1;
  transform: translateY(-3px);
}
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down{
  position:absolute;
  bottom: 0px;
  left: 95%;
}

.scroll_down a{
  position: absolute;
  left: 10px;
  bottom: 87px;
  color: #000;
  font-size: 14px;
  font-family: 'Cormorant Garamond', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:#808080;
  animation:
    circlemove 2s ease-in-out infinite,
    cirlemovehide 2s ease-out infinite;
}

@keyframes circlemove{
  0%{bottom:160px;}
  100%{bottom:0px;}
}

@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  width:1px;
  height: 160px;
  background:#808080;
}

.works-page{
	padding-bottom: 110px;
	background-color: #fafafa;
}

.works-page-inner{
	max-width: 1200px;
	margin: 0 auto;
	padding: 120px 0px 50px;
}

.work-detail{
	margin: 0 auto;
	width: 800px;
	max-width: 100%;
	padding: 0 30px;
}

.work-detail h1 {
	font-size: 2.062rem;
	margin-bottom: 20px;
/*	text-align: center;*/
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "serif";
	letter-spacing: 0.15rem;
	color: #464646;
}

/* 画像 */
.work-detail .work-thumb img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 50px;
}

/* 本文 */
.work-content {
	line-height: 1.8;
	color: #464646;
	letter-spacing: 0.1rem;
}

.related-works {
  padding: 60px 0px 100px;
  background-color: #ededed;
  text-align: center;
  
}

.related-title {
  font-size: 1.5rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
  font-weight: bold;
}

.inner-wrap {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: visible;
}


.sliderArea {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 25px;
  overflow: hidden;
}
.sliderArea.w300 {
  max-width: 300px;
}
.slick-slide {
  margin: 0 10px;
}
.item {
  position: relative;
  display: block;
  overflow: hidden;
}

.item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  transition: background 0.5s ease;
}

.item:hover img {
  transform: scale(1.05); /* 拡大効果 */
  opacity: 0.8;           /* 少し暗く */
  filter: brightness(0.8);
  transform: scale(1.05);
}

.item:hover::after {
  background: rgba(0,0,0,0.3); /* 半透明オーバーレイ */
}
.slick-slide img {
  width: 100%;
  height: auto;
}
.slick-prev, .slick-next {
  z-index: 10;
}
.slick-prev:before, .slick-next:before {
  color: #000;
}
.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}
.thumb {
  margin: 20px 0 0;
}
.thumb .slick-slide {
  cursor: pointer;
}
.thumb .slick-slide:hover {
  opacity: .7;
}

/*====================================================================
.full-screen
====================================================================*/

.related-works .full-screen .slick-list {
  overflow: visible;
}
.related-works .full-screen.slider {
  max-width: 400px;
  margin: 0 auto;
}

.related-works .full-screen.slider .item {
  height: 250px;          /* スライダーの統一高さ */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.related-works .full-screen.slider .item img {
  height: 100%;           /* 高さに合わせる */
  width: 100%;
  object-fit: cover;     /* はみ出す部分を切り取る */
}

.slick-dots {
	bottom: -35px;
}

.footer-bg {
  height: 100%;
  display: block;
  padding: 4.25rem 3.25rem ; /* 100px → rem */
  background-color: rgba(48, 48, 48);
  background-size: cover;
  color: #fff;
}
.footer {
  max-width: 73.75rem; /* 1180px → rem */
  margin: 0 auto;
}
.footer-content {
  display: flex;
  justify-content: space-between;
}
.footer-info {
  margin-right: 2.5rem; /* 40px → rem */
}
.footer-info p{
	font-family: 'Noto Serif JP', "Hiragino Mincho ProN", "serif";
	letter-spacing: 0.1rem;
}
.footer-logo img {
  max-width: 100%;
  height: auto;
}
.footer-list {
  width: 60%;
}
.footer-list ul {
  display: flex;
  /*	justify-content: space-between;*/
  flex-wrap: wrap;
}
.footer-list ul li {
  margin-right: 3rem; /* 60px → rem */
	
}
.footer-list ul li a {
  position: relative;
  display: inline-flex; /* アイコン＋文字を横並び */
  align-items: center;
  font-size: 1rem; /* 16px */
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  line-height: 2.5;          /* デフォルトの約2倍に */
}
/* 丸アイコン（Font Awesome 使用） */
.footer-list ul li a::before {
  content: "\f105"; /* fa-angle-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; /* 20px */
  height: 1.25rem;
  font-size: 0.75rem; /* 12px */
  border-radius: 50%;
  background-color: #eee;
  color: #000;
  margin-right: 0.5rem; /* 8px */
  transition: background-color 0.3s, color 0.3s;
}
/* テキスト部分 */
.footer-list ul li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}
/* 下線（transformで伸縮） */
.footer-list ul li a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.125rem; /* 2px → rem */
  width: 100%;
  height: 0.0625rem; /* 1px → rem */
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left; /* ← 初期は左から伸びる */
  transition: transform 0.3s ease;
}
/* hover時 */
.footer-list ul li a:hover::before {
  background-color: #ff8219;
  color: #fff;
}
.footer-list ul li a:hover span {
  transform: translateX(0.25rem); /* 4px → rem */
}
.footer-list ul li a:hover span::after {
  transform: scaleX(1);
  transform-origin: left; /* ← 左から右へ伸びる */
}
/* hover解除時に右から消える */
.footer-list ul li a span::after {
  transition: transform 0.3s ease, transform-origin 0s;
}
.footer-list ul li a:not(:hover) span::after {
  transform: scaleX(0);
  transform-origin: right; /* ← 右に向かって縮む */
}
.footer-button {
  margin: 3.125rem 0 2.5rem; /* 50px 40px */
}
.footer-button button {
  display: inline-flex;              /* アイコンと文字を横並び中央揃え */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;                       /* アイコンと文字の間隔 */
  
  background: linear-gradient(90deg, rgba(255,112,30,1) 0%, rgba(255,191,48,1) 50%, rgba(255,77,48,1) 100%);
  background-size: 200% 100%;
  
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 2rem;             /* 上下・左右の余白 */
  border-radius: 9999px;             /* 完全な pill 型にする */
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;               /* 改行を防ぐ */
  min-width: 14rem;                  /* 潰れない最小幅 */
}
.footer-button button:hover {
  background-position: 100% 0;
}
.footer-button i {
  color: #FFF; /* アイコンの色 */
  
}
.footer-sns {
  display: flex;
  margin-bottom: 1.25rem; /* 20px → rem */
  align-items: center;
  gap: 0.5rem; /* 8px → rem */
}
.footer-sns p {
  letter-spacing: 1px;
}
.footer-sns a {
  display: flex; /* aの中でもflexにする */
  align-items: center;
  font-size: 1.5rem; /* 24px → rem */
  color: #fff; /* アイコンの色（白） */
  text-decoration: none;
}
.footer-sns a:hover {
  color: #ff8219;
}


/* 768px以下（タブレット・スマホ） */
@media (max-width: 768px) {
  .footer-bg {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .footer-content {
    display: block; /* 縦並びに変更 */
  }

  .footer-info {
    margin: 0 0 2rem;
  }

  .footer-info p {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .footer-list {
    width: 100%;
  }

  .footer-list ul {
    justify-content: center; /* 中央寄せ */
  }

  .footer-list ul li {
    margin: 0 1rem 1rem 1rem; /* 横並びでも間隔確保 */
  }

  .footer-button {
    margin: 2rem 0;
  }

  .footer-button button {
    width: 100%;
    max-width: 20rem;
  }

  .footer-sns {
    justify-content: center;
  }
}

/* 480px以下（スマホ縦） */
@media (max-width: 480px) {
  .footer-bg {
    padding: 3rem 1.5rem;
  }

  .footer-list ul {
    display: grid;  
    grid-template-columns: 1fr 1fr; /* 縦2列 */
    gap: 1rem 2rem; /* 行間1rem, 列間2rem */
  }

  .footer-list ul li {
    width: auto; /* gridに任せる */
  }

  .footer-button {
    margin: 2rem 0;
    text-align: center;
  }

  .footer-button button {
    width: 100%;
    max-width: 20rem;
  }

  .footer-sns {
    justify-content: center;
    margin-top: 2rem;
  }

  .footer-sns a {
    font-size: 1.75rem;
  }
}
/* --- 300px 以下の超小さい画面 --- */
@media (max-width: 300px) {
  .footer-button button {
    font-size: 0.75rem;     /* テキスト小さく */
    padding: 0.5rem 1rem;   /* 内側の余白を縮小 */
    white-space: normal;    /* 必要なら改行を許可 */
    text-align: center;     /* テキストを中央寄せ */
  }










