@charset "utf-8";
#wrapper{
	position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
}

a:hover{opacity: 0.6;}
img{
  width: 100%;
}
#container{
  position: relative;
}


/* ------------------------------

　　　　GlovalNavi

------------------------------ */
#GlovalNavi {
  width: 100%;
}

#GlovalNavi ul {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 2rem;
  margin: 1rem 2rem 0 0;
  padding: 0;
  list-style: none;
}

#GlovalNavi li {
  margin: 0;
  padding: 0;
}

#GlovalNavi a {
  display: block;
  padding: 0.5em 0.25em;
  font-size: 1rem;
  text-decoration: none;
  color: #1f2020;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
}

#GlovalNavi a:hover {
  color: #000;
}
#GlovalNavi a {
  position: relative;
}

#GlovalNavi a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

#GlovalNavi a:hover::after {
  transform: scaleX(1);
}
#GlovalNavi li.is-active a {
  color: #1f2020;
  font-weight: 600;
}

#GlovalNavi li.is-active a::after {
  transform: scaleX(1);
}




#GlovalNavi.index ul {
  justify-content: left;
  margin: 1rem 0 0 2rem;
}

#GlovalNavi.index a {
  color: #fff;
}
#GlovalNavi.index a::after {
  background: #fff;
}
#GlovalNavi.index li.is-active a {
  color: #fff;
}



@media (min-width: 769px){
#GlovalNavi.index {
  position: absolute;
  left: 5%;
  bottom: 2%;
}
}
/* ------------------------------

　　　　パンくず

------------------------------ */
.breadcrumb{
  max-width: 1400px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.4;
  padding: 0 100px;
}

.breadcrumb ol{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35em .6em;
}

.breadcrumb li{
  display: inline-flex;
  align-items: center;
  font-family: "ten-mincho", serif;
  font-weight: 400;
}

.breadcrumb li:not(:last-child)::after{
  content: ">";
  margin-left: .6em;
  opacity: .55;
}

.breadcrumb a{
  color: inherit;
  text-decoration: none;
  opacity: .85;
}

.breadcrumb a:hover{
  text-decoration: underline;
  opacity: 1;
}

.breadcrumb [aria-current="page"]{
  font-weight: 600;
  opacity: 1;
}
/* ------------------------------

　　　　footer

------------------------------ */
#footer address{
  font-size: 12px;
  text-align: center;
  padding: 50px 0 20px;
  color: #666;
}


@media (min-width: 769px){
#index #footer{
  position: absolute;
  right: 5%;
  bottom: 2%;
}
#index #footer address{
  color: #fff;
  padding: 20px 0 0;
}

}
@media (max-width: 768px){

#index #footer address{
  color: #fff;
  padding: 20px 0 20px;
}

}
/* ------------------------------

　　　　index

------------------------------ */

  #index{
    background: url("../images/bg_index.jpg") no-repeat center top/100%,#000;
    position: relative;
  }

#index .inner{
  position: relative;
  width: 100%;
  padding-top: 29.9%;
  padding-left: 2%;
  box-sizing: border-box;
}
@media (min-width: 1001px) {
  #index .inner{
    padding-top: 50vh;
    min-height: 650px;
  }
  #index .sns{
    box-sizing: border-box;
    width: 3.5%;
    position: absolute;
    top: 80vh;
    right: 4vh;
  }
}
  #index h1{
    text-align: center;
    width: 69%;
    margin: 0 auto;
  }

/*@media screen and (min-width:1000px) and (max-width:1200px) {*/
@media (min-width: 1001px) {
  #index{
    background: url("../images/bg_index.png") no-repeat center bottom/3600px 675px,
                url("../images/bg_index2.png") no-repeat left top/100%,#fff;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
}
@media (max-height: 675px) and (min-width:1000px) {
  #index{
    background: url("../images/bg_index.png") no-repeat center bottom/3600px 675px,
                url("../images/bg_index2.png") no-repeat left top/800px 454px,#fff;
  }
  #index .inner {
    padding-top: 41vh;
  }
  #index .sns{
    top: 75vh;
  }
}

@media (max-width: 1000px) {
#index h1 {
    width: 80%;
}
#index .sns {
    padding-top: 3.7%;
    margin-left: 89.5%;
    padding-bottom: 3%;
    box-sizing: border-box;
    width: 8%;
}
}
  
/* ------------------------------

　　　　About

------------------------------ */
#About .inner{
  position: relative;
  padding: 60px 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
#About .clm2block{
  display: flex;
}
#About .clm2block .imgblock{
  width: 53%;
  box-sizing: border-box;
}
#About .clm2block .textblock{
  width: 47%;
  box-sizing: border-box;
  padding-left: 100px;
}
#About .clm2block .textblock h1{
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1.0;
  letter-spacing: 0.3em;
  margin-bottom: 50px;
}
#About .clm2block .textblock .text1{
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 40px;
}
#About .clm2block .textblock .profile{
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 20px;
}

/* ------------------------------

　　　　Contact

------------------------------ */
#Contact .inner{
  position: relative;
  padding: 40px 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
#Contact h1{
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1.0;
  letter-spacing: 0.3em;
  margin-bottom: 60px;
}
#Contact .clm3block{
  display: flex;
}

#Contact .clm3block .leftblock{
  width: 30%;
  box-sizing: border-box;
}
#Contact .clm3block .leftblock .img{
  width: 47%;
  box-sizing: border-box;
  margin-bottom: 50px;
}
#Contact .clm3block .leftblock .text{
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
}

#Contact .clm3block .centerblock{
  width: 34%;
  box-sizing: border-box;
  padding-left: 100px;
}
#Contact .clm3block .rightblock{
  width: 36%;
  box-sizing: border-box;
  position: relative;
}
#Contact .clm3block .rightblock .linkbox{
  padding-left: 100px;
  position: absolute;
  left: 0;
  bottom: 20px;
}
#Contact .clm3block .rightblock .linkbox p{
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 20px;
}
#Contact .clm3block .rightblock .linkbox p a{
  text-decoration: underline;
}
#Contact .clm3block .rightblock .linkbox p.web a{
  background: url("../images/contact_icon1.png") no-repeat left top/20px 20px;
  padding-left: 40px;
}
#Contact .clm3block .rightblock .linkbox p.mail a{
  background: url("../images/contact_icon2.png") no-repeat left top/20px 20px;
  padding-left: 40px;
}
#Contact .clm3block .rightblock .linkbox p.address{
  background: url("../images/contact_icon3.png") no-repeat left top/20px 20px;
  padding-left: 40px;
}



/* ------------------------------

　　　　Work index

------------------------------ */
#Work .inner{
  position: relative;
  padding: 40px 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
#Work .subtitle{
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 1.0;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}
.gallery_list ul{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.gallery_list li .img{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.gallery_list li a{
  display: block;
  width: 100%;
  height: 100%;
}

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

.gallery_list li a p{
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  margin-top: 5px;
}


/* ------------------------------

　　　　Work

------------------------------ */
#Work .inner{
  position: relative;
  padding: 60px 100px 60px;
}
#Work h1{
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1.0;
  letter-spacing: 0.3em;
  margin-bottom: 60px;
}
#Work h1 span{
  font-size: 20px;
}

/* ======================================
   Gallery base
====================================== */
.gallery{
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* wrap：矢印の基準になる箱 */
.gallery .g-wrap{
  position: relative;
  max-width: 700px;   /* 画像の実サイズ */
  margin: 0 auto;
}

/* viewport：4:3の枠（ここに合わせて画像を見せる） */
.gallery .g-viewport{
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* 横スライド */
.gallery .g-track{
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
  opacity: 1;
  transition: transform 420ms ease, opacity 260ms ease;

  height: 100%; /* ★重要：高さ伝播 */
}

.gallery .g-slide{
  flex: 0 0 100%;
  height: 100%; /* ★重要：高さ伝播 */

  /* ★重要：どの向きでも中央に配置して “全体表示” が破綻しない */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像（角丸なし／枠からはみ出さない） */
.gallery .g-slide img{
  display: block;
  user-select: none;

  /* ★重要：縦横どちらでも「枠内に収めて全体を見せる」 */
  max-width: 100%;
  max-height: 100%;
}

/* 横長：横幅100%（高さ自動） */
.gallery .g-slide img.is-landscape{
  width: 100%;
  height: auto;
}

/* 縦長：縦幅100%（横自動） */
.gallery .g-slide img.is-portrait{
  height: 100%;
  width: auto;
}

/* 正方形/近い比率：枠内に収める */
.gallery .g-slide img.is-square{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* フェード演出 */
.gallery .g-viewport.is-fading .g-track{
  opacity: .35;
}

/* ======================================
   Nav（外側配置）
====================================== */
.gallery .g-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  opacity: .7;
  transition: opacity .2s ease;

  font-size: 40px;
  line-height: 1;
  color: #fff;
}

.gallery .g-nav:hover{
  opacity: 1;
}

.gallery .g-nav.prev{ left: -60px;
  background: url("../images/prev.png") no-repeat center center/10px 20px,#1f2020;
}
.gallery .g-nav.next{ right: -60px;
  background: url("../images/next.png") no-repeat center center/10px 20px,#1f2020;
}

/* ======================================
   Thumbs
====================================== */
.gallery .g-thumbs{
  display: flex;
  gap: 10px;
  max-width: 700px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px auto 0;
  padding-bottom: 2px;
}

.gallery .g-thumbs button{
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  position: relative;
}

/* 選択時：黒50%の板を乗せるだけ */
.gallery .g-thumbs button::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.gallery .g-thumbs button.is-active::after{
  opacity: 1;
}

.gallery .g-thumbs img{
  width: 110px;
  height: 70px;
  object-fit: cover;
  display: block;
}

/* ======================================
   Text（dt横幅揃え + bold）
====================================== */
.gallery-text{
  max-width: 700px;
  margin: 40px auto 0;
  display: grid;
  gap: 10px;
  justify-content: start;
}

.gallery-text dl{
  display: grid;
  grid-template-columns: 6em 1fr; /* dtの横幅を固定 */
  column-gap: 12px;
  margin: 0;
  font-family: "ten-mincho", serif;
  font-weight: 400;
}

.gallery-text dt{
  font-weight: bold;
  white-space: nowrap;
}

.gallery-text dd{
  margin: 0;
  line-height: 1.7;
}

.btn_back{
  margin: 60px auto 0;
  text-align: center;
}
.btn_back a{
  background: url("../images/prev_black.png") no-repeat 10% center/6px 12px;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-size: 16px;
  padding-left: 30px;
}

/* ======================================
   Responsive
====================================== */
@media (max-width: 768px){
  .gallery .g-wrap{
    max-width: 100%;
  }

  /* 矢印は画面内に寄せる */
  .gallery .g-nav.prev{ left: 6px; }
  .gallery .g-nav.next{ right: 6px; }

  .gallery .g-nav{
    width: 38px;
    height: 38px;
    font-size: 28px;
    opacity: .9;
  }

  .gallery .g-thumbs img{
    width: 92px;
    height: 60px;
  }
}






@media (max-width: 768px){
.breadcrumb{
    padding: 20px 20px 0;
}
  
#About .inner {
    padding: 60px 20px 60px;
}
#About .clm2block {
    display: block;
}
#About .clm2block .imgblock {
    width: 100%;
}
#About .clm2block .textblock {
    width: 100%;
    padding-top: 50px;
    padding-left: 0;
}

#Contact .inner {
    padding: 60px 20px 60px;
}
#Contact .clm3block {
    display: block;
}
#Contact .clm3block .leftblock {
    width: 100%;
    display: flex;
}

#Contact .clm3block .leftblock .img {
  width: 35%;
  margin-right: 20px;
}

#Contact .clm3block .centerblock{
  width: 35%;
  padding-left: 0;
}
#Contact .clm3block .rightblock{
  width: 100%;
}
#Contact .clm3block .rightblock .linkbox {
    padding-left: 40%;
    position: absolute;
    left: 0;
    bottom: 0;
}
#Contact .clm3block .rightblock .linkbox p.web a{
  padding-left: 30px;
}
#Contact .clm3block .rightblock .linkbox p.mail a{
  padding-left: 30px;
}
#Contact .clm3block .rightblock .linkbox p.address{
  padding-left: 30px;
}
  
#Work.subpage h1 {
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 0em;
    margin-bottom: 30px;
}
#Work.subpage h1 span {
  display: block;
}
#Work .inner {
    padding: 60px 20px 60px;
}
.gallery_list ul {
    grid-template-columns: repeat(3, 1fr);
}


  .pc{display:none;}

}



@media (min-width: 769px){
  .sp{display:none;}
}