@charset "utf-8";

/*  - - - - - - - -
      Basic
- - - - - - - - */
:root {
  --text_color: #555;
  --text_color2: #888;
  --text_color3: #a9a9a9;
  --main_color: #222;
  /* --main_color: #ff69b4; */
  --sub_color: #009bb7;
  --bg_color: #f5f5f5;
  --line_gray: #ddd;
}
body {
  font-family:  sans-serif;
}
.ff_sub {
  font-family: kinuta-shin-stdn, sans-serif;
  font-weight: 600;
  font-style: normal;
}
ul {
  list-style-type: none;
  padding-left: 0;
}
a { text-decoration:  none;}
body{ color: var(--text_color);}

/*  - - - - - - - -
      Common
- - - - - - - - */

.bold { font-weight: bold;}

.mt05 { margin-top: 0.5em;}
.mt10 { margin-top: 1em;}
.mt15 { margin-top: 1.5em;}
.mt20 { margin-top: 2em;}
.mt25 { margin-top: 2.5em;}
.mt30 { margin-top: 3em;}
.mt35 { margin-top: 3.5em;}
.mt40 { margin-top: 4em;}
.mt45 { margin-top: 4.5em;}
.mt50 { margin-top: 5em;}
.mt55 { margin-top: 5.5em;}

.mt05 { margin-top: 0.5em;}
.mt10 { margin-top: 1em;}
.mt15 { margin-top: 1.5em;}
.mt20 { margin-top: 2em;}
.mt25 { margin-top: 2.5em;}
.mt30 { margin-top: 3em;}
.mt35 { margin-top: 3.5em;}
.mt40 { margin-top: 4em;}
.mt45 { margin-top: 4.5em;}
.mt50 { margin-top: 5em;}
.mt55 { margin-top: 5.5em;}

.mb05 { margin-bottom: 0.5em;}
.mb10 { margin-bottom: 1em;}
.mb15 { margin-bottom: 1.5em;}
.mb20 { margin-bottom: 2em;}
.mb25 { margin-bottom: 2.5em;}
.mb30 { margin-bottom: 3em;}
.mb35 { margin-bottom: 3.5em;}
.mb40 { margin-bottom: 4em;}
.mb45 { margin-bottom: 4.5em;}
.mb50 { margin-bottom: 5em;}
.mb55 { margin-bottom: 5.5em;}

.pt05 { padding-top: 0.5em;}
.pt10 { padding-top: 1em;}
.pt15 { padding-top: 1.5em;}
.pt20 { padding-top: 2em;}
.pt25 { padding-top: 2.5em;}
.pt30 { padding-top: 3em;}
.pt35 { padding-top: 3.5em;}
.pt40 { padding-top: 4em;}
.pt45 { padding-top: 4.5em;}
.pt50 { padding-top: 5em;}
.pt55 { padding-top: 5.5em;}

.pb05 { padding-bottom: 0.5em;}
.pb10 { padding-bottom: 1em;}
.pb15 { padding-bottom: 1.5em;}
.pb20 { padding-bottom: 2em;}
.pb25 { padding-bottom: 2.5em;}
.pb30 { padding-bottom: 3em;}
.pb35 { padding-bottom: 3.5em;}
.pb40 { padding-bottom: 4em;}
.pb45 { padding-bottom: 4.5em;}
.pb50 { padding-bottom: 5em;}
.pb55 { padding-bottom: 5.5em;}

.fs_s { font-size: 0.75rem;}
.fs_l { font-size: 1.2rem;}
.fs_ll { font-size: 1.8rem;}

.bold { font-weight: bold;}

/* .mdl_content {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
}
.mdl_overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 5;
} */

/* - - - - - アコーディオン- - - - - */
input.acc { display: none;}
label.acc_label {
  color: var(--text_color);
  display: block;
  font-size : 1.6em;
  padding: 0.3em 1em;
  border-bottom: 1px var(--text_color2) solid;
  position: relative;
  transition: .6s;
}
label.acc_label::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1px var(--text_color2) solid;
  border-bottom: 1px var(--text_color2) solid;
  position: absolute;
  top: 15px;
  right: 1.5em;
  transform: rotate(45deg);
  transition: .6s;
}
label.acc_label:hover::after {
  border-right: 1px var(--main_color) solid;
  border-bottom: 1px var(--main_color) solid;
  transition: .6s;
}
input.acc:checked+label::after {
  transform: rotate(225deg);
}
label.acc_label:hover {
  color: var(--main_color);
  transition: .6s;
}
label.acc_label:hover::before{
 content: "";
 display: block;
 width: 100%;
 height: 1px;
 background-color: var(--main_color);
 position: absolute;
 left: 0;
 bottom: -1px;
 animation-name: underline_1;
 animation-duration: .6s;
}
  @keyframes underline_1 {
    0% { width: 0%; }
    100% { width: 100%; }
  }


/* - - - - - モーダル - - - - - */
.work_mordal{/* モーダル非表示 */
  display: none;
  opacity: 0;
}
.work_mordal.showmodal {/* モーダル非表 */
  display: block;
  transition: .6s;
  opacity: 1;
}
body.stopscroll{/* モーダル時背景固定 */
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
  position: fixed;
}
.m_overlay {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 600px){
  .m_overlay { padding: 1em;}
}
.m_wrap {
  background-color: #fff;
  padding: 35px 20px;
  box-sizing: border-box;
  border: 1px solid var(--line_gray);
  margin-left:  auto;
  margin-right: auto;
  z-index: 101;
  position: relative;
  overflow-x: hidden;
  /* width: clamp( 550px, 95%, 800px);
  height: 500px; */

}
@media screen and (max-width: 600px){
  .m_wrap {
    padding: 2em 1em;
    /* width: 95%;
    height: 90%; */
    /* overflow-y: scroll; */
  }
}
/* 閉じるボタン */
.m_close {
  position: absolute;
  top: 10px;
  right: 7px;
}
.m_close span{
  display: block;
  width: 25px;
  height: 25px;
  border-right: 1px solid var(--text_color);
  position: relative;
  margin-top: -7px;
  margin-right: 10px;
  transform: rotate( 45deg);
}
.m_close span::before {
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  border-top: 1px solid var(--text_color);
  position: absolute;
  top: 50%;
  left: 50%;
}
.m_close span:hover,
.m_close span:hover::before {
  border-color: var(--main_color);
  cursor: pointer;
}
/*END 閉じるボタン */
.m_body {
  width: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 600px) {
  .m_body {/* 縦になる */
    grid-template-columns: auto;
    grid-template-rows: 80% auto;
    row-gap: 10px;
  }
}
.m_caption {
  padding-left: 1em;
  padding-right: 1em;
}
@media screen and (max-width: 600px) {
.m_caption p { font-size: 13px;}
}
@media screen and (max-width: 600px){
  .m_caption{/* 縦になったのでpaddingも変更 */
  padding-left: 0em;
  padding-right: 0em;
  }
}
.m_img {
  height: min( 100%, 500px);
  padding-left: 20px;
  padding-right: 20px;
  grid-row-start: auto;
}
@media screen and (min-width: 1200px) {
  .m_img { 
    height: 600px;
  }
}
@media screen and (max-width: 600px){
  .m_img {
    height: auto;
    padding-left: 0px;
    padding-right: 0px;
  }
}
.m_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 600px){
  .m_img img { object-position: center;}
}

.m_toolbar {
  position: absolute;
  width: 93%;
  top: 50%;
  z-index: 10;
}
@media screen and (max-width: 600px){
  .m_toolbar {
    margin-top: 0px;
    padding-top: 30px;
  }
}
.m_nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.m_nav div span {
  display: block;
  width: 15px;
  height: 15px;
  border-right: solid 1px var(--text_color2);
  border-bottom: solid 1px var(--text_color2);
}
.m_nav div#js_m_next span { transform: rotate( -45deg);}
.m_nav div#js_m_prev span { transform: rotate( 135deg);}
.m_nav div#js_m_next:hover span { border-color: var(--main_color);}
.m_nav div#js_m_prev:hover span {
  border-color: var(--main_color);
}

/* - - - - - heaeder .con_header - - - - - */
header { /* 一番上に来るようにする。 .header__mainがもぐりこめるように */
  position: relative;
  z-index: 100;
}
header .header__wrap {
  max-width: 2000px;
  height: 100vh;
  background: url(../img/topimage.jpg) no-repeat;
  background-position: center top;
  background-size: cover;
  margin: 0 auto;
  position: relative;
}
header .header__main {
  width: 25%;
  max-width: 300px;
  min-width: 250px;
  aspect-ratio: 1 / 1;
  background-image: url(../img/toplogo4.png);
  background-size: contain;
  opacity: 0.95;
}
header .header__main {
  position: sticky;
  top:0;
  left: 68%;
}
  @media screen and (max-width: 1000px) {
    header .header__main {
      left: calc(50% - 125px);
    }
  }
#p_works header .header__wrap {
  max-width: 2000px;
    height: 200px;
    background: url(../img/topimage2.jpg) no-repeat;
    background-position: center top;
    background-size: cover;
    background-position: top;
    margin: 0 auto;
    position: relative;
}
.con_header .header__wrap { position: relative;}
.con_header .header__main {
  width: 25%;
  max-width: 300px;
  min-width: 250px;
  /* background: linear-gradient(rgba(205,1,110,0.93) 30%,rgba(234, 16, 130, 0.95)) ; */
  background: linear-gradient(rgba(27, 27, 27, 0.95) 30%, rgba(58, 58, 58, 0.95));
  padding: 1em 1em 0;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  position: fixed;/* stickyは高さが出るからダメ*/
  top: -100%;
  left: 68%;
  z-index: 10;
  opacity: 0;
}
  @media screen and (max-width: 1000px) {
    .con_header .header__main {
      left: calc(50% - 125px);
    }
  }
.con_header .header__main::after {
  content: "";
  display: block;
  width: 95%;
  height: 97.5%;
  border-top: none;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  position: absolute;
  top: 0;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}
.con_header .header__main h1,
.con_header .header__main h3 {
  color: #fff;
}
.con_header .header__main img {
  width: 60%;
  aspect-ratio: 1/1;
  margin-left: auto;
  margin-right: auto;
}
.menu_toggle {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 1em;
  z-index: 2;
}
.toggleinput {display: none;}
.menu_toggle label {
  display: block;
  width: 1em;
  height: 1em;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  position: relative;
  transform: rotate(45deg);
  transition: all 0.5s ease 0s;
  margin-bottom: 0.8em;
}
.menu_toggle label::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  position: absolute;
  top: 5px;
  left: 5px;
  transition: all 0.5s ease 0s;
}
/* js ホバーで発火 */
.con_header .header__main.js_down5px {
  transform: translateY(5px);
  transition: .5s;
}
/* js conMainPos < 0 で発火 */
.con_header .header__main.js_menuappear {
  opacity: 1;
  top: -295px;
  transition: .3s;
}
  @media screen and (max-width: 1100px){
    .con_header .header__main.js_menuappear {
      opacity: 1;
      top: -282px;
      transition: .3s;
    }
  }
  @media screen and (max-width: 1000px) {
    .con_header .header__main.js_menuappear {
        opacity: 1;
        top: -272px;
        transition: .3s;
      }
  }

.con_header .header__main_logo {
  width: 45%;
  aspect-ratio: 1 / 1 ;
}
.con_header .header__main_logo img {
  width: 100%;
  object-fit: contain;
}
.gnav {
  width: 100%;
  z-index: 2;
}
.gnav li {
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}
.gnav li:hover { cursor: pointer;}
.gnav p {
  color: #fff;
  text-align: center;
  font-size: 1.35em;
  transition: 0.6s;
}
.gnav p:hover {
  color: var(--main_color);
  transition: 0.6s;
}

/* - - - - - .contents - - - - - */
.contents { background-color: #fff;}
.title_site {
  font-size: 4em;
  line-height: 1.1em;
  font-weight: 100;
  margin-bottom: 10px;
}

/* - - - - - Works - - - - - */
.works {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
  @media screen and (max-width: 1200px){
    .works__title { padding-left: 1em;}
  }
  @media screen and (max-width: 414px) {
    .works__title {
      padding-left: 0;
      text-align: center;
    }
  }
  #works .works { height: calc( 100vh - 200px);}
  #p_works .works__title {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
  }
.thumbnail {
  margin: 0 auto;
}
.thumbnail__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
.thum__box {
  box-sizing: border-box;
  width: 25%;
  min-width: 200px;
  padding: 3px;
}
  @media screen and (max-width: 800px) {
    /* 600px */
    .thum__box {
      width: 33.33%;
      min-width:200px;
    }
  }
  @media screen and (max-width: 600px) {
    /* 414px */
    .thum__box {
      width: 50%;
      min-width: 150px;/* 300pxの半分 */
    }
  }
  @media screen and (max-width: 300px) {
    .thum__box {
      width: 100%;
    }
  }
.thum__box .thum__pic {
  overflow: hidden;
}
.thum__box .thum__pic img{
  width: 100%;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate( 0 );
  transition: .5s;
}
@media screen and (max-width: 600px){
  .thum__box .thum__pic img {
    aspect-ratio: 1 / 1;
      object-fit: cover;
  }
}
.thum__box:hover img {
  transform: scale(103%);
  filter: saturate(1);
  transition: .5s;
}

.works_more { text-align: center;}
.works_more a {
  transform-origin: center;
  display: inline-block;
}
.works_more a span {
  display: inline-block;
  width: 21px;
  height: 21px;
  border-bottom: 1px solid var(--text_color2);
  position: relative;
  transform: translateY(-10px);
  }
  .works_more a span:after {
    content: '';
    display: inline-block;
    width: 21px;
    height: 21px;
    border-right: 1px solid var(--text_color2);
    position: absolute;
    top:10px;
    right: 10px;
  }

.works_more a:hover span,
.works_more a:hover span::after {
  border-color: var(--main_color);
}

/* - - - - - content - - - - - */
.content1,
.content2{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.con1_body {
  background-color: #fff;
    padding: 2em;
}
.acc_b {
  height: 0;
  padding: 0;
  overflow: hidden;
}
.canvas_size table {
  /* background-color: #fff; */
  border-collapse: separate;
  border-spacing: 3px;
  /* padding: 1em; */
  margin-left: auto;
  margin-right: auto;
}

.canvas_size table th {
  padding: 1em;
  background: #eee;
  font-weight: 200;
  font-size: 1.7em;
}
  @media screen and (max-width: 600px) {
    .canvas_size {
      width: 100%;
      overflow-X: scroll;
    }
  }
.canvas_size table th p {
  line-height: 1em;
}
.canvas_size table th p+p {
  color: var(--text_color2);
  letter-spacing: 0.8em;
}
.canvas_size table tr td {
  padding: 0.5em 0.8em;
  text-align: center;
  white-space: nowrap;
      border-bottom: #ddd 1px dashed;
}
.canvas_size table tr td span {
  color: var(--text_color3);
}
.canvas_size table tr td:first-child {
  font-weight: bold;
  color: var(--text_color2);
}
.canvas_size table caption:first-child {
  letter-spacing: 0.4em;
}
.canvas_size table caption+caption {
  text-align: right;
  padding-right: 10px;
}
.canvas_size table tr:last-child td {
  border: none;
  color: var(--text_color);
  text-align: left;
  font-weight: 200;
}
.canvas_size table tr td:hover
.canvas_size table tr td:hover span {
  color: var(--main_color);
  transform: .5s;
}
/* - - - - - gotop - - - - - */
.gotop__main {
  position: fixed;
  bottom: 100px;
  right: 1em;
}
.gotop__main a {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.gotop__main_arrow {
  width: 1px;
  height: 25px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--text_color2);
  position: relative;
  transition: .5s;
}
.gotop__main_arrow span {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  border-right: 1px solid var(--text_color2);
  border-bottom: 1px solid var(--text_color2);
  position: absolute;
  top: 3px;
  left: -10px;
  transform: rotate(-135deg);
  transition: .5s;
}
.gotop__main_arrow+div {
  color: var(--text_color2);
  transition: .5s;
}
.gotop__main a:hover>div.gotop__main_arrow {
  transform: translateY(-3px);
  background-color: var(--main_color);
  transition: .5s;
}
.gotop__main a:hover>div.gotop__main_arrow span{
  border-right: 1px solid var(--main_color);
  border-bottom: 1px solid var(--main_color);
  transition: .5s;
}
.gotop__main a:hover>div.gotop__main_arrow+div {
  color: var(--main_color);
  transition: .5s;
}

/* footerエリアで白になる */
.fff .gotop__main_arrow+div { color: #fff; transition: .5s;}
.fff .gotop__main_arrow { background-color: #fff;}
.fff .gotop__main_arrow span {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
/* - - - - - footer - - - - - */
footer { background: #333 ;}
.footer__container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em 1em 2em;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  gap: 1em;
}
.footer_menu {
  width: 100%;
}
.footer_menu ul {
  display: flex;
  justify-content: center;
  gap: 3em;
}
.footer_menu a{
  color: #fff;
  transition: .5s;
}
.footer_menu a:hover {
  color: var(--main_color);
  transition: .5s;
}
.footer_img {
  width: 13%;
  min-width: 100px;
  max-width: 180px;
}
.footer_instaLogo {
  width: 23px;
  height: 23px;
  background: url(../img/instagram.svg) no-repeat;
  background-size: contain;
  transition: .6s;
  opacity: 0.7;
}
.footer_instaLogo:hover{
  cursor: pointer;
  width: 23px;
  height: 23px;
  background: url(../img/instagram_color.png) no-repeat;
  background-size: contain;
  transition: .6s;
  opacity: 1;
}

.footer_instaLogo a {
  display: block;
  height: 100%;
}
.footer__footer p{
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-bottom: 0.5em;
}
.footer__footer p a { display: block;}

