/* ----------------------------------------
  Setting
-------------------------------------------*/
*, *::before, *::after{
  box-sizing: border-box;
}
body,
h1,h2,h3,h4,h5,h6,
p,ul,ol,dl,dd,
figure{
  margin: 0;
}
ul,ol{
  list-style: none;
  padding: 0;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
table{
  border-collapse: collapse;
}
button,
input,
select,
textarea{
  font: inherit;
  color: inherit;
}
button{
  border: none;
  background: none;
  cursor: pointer;
}
address{
  font-style: normal;
}
a{
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:visited{
  color: inherit;
}
a,
a img{
  transition:
    color .15s ease-out,
    background-color .15s ease-out,
    opacity .15s ease-out,
    transform .15s ease-out;
}
a:hover img{
  opacity: var(--hover);
}
svg{
  display:block;
}
/* YouTube埋め込み用 */
iframe{
  max-width: 100%;
}
/* 上付き文字 */
sup{
  vertical-align: super;
  font-size: .75em;
  line-height: 0;
}

.pc{ display: block; }
.sp{ display: none; }

@media (max-width: 650px){
  .pc{ display: none; }
  .sp{ display: block; }
}

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

:root{
  --hover: 0.7;
  --page-narrow: min(90%,1000px);
  --page-wide: min(90%,1200px);
  --page-sp: 90%;
  --sec-margin: min(12%,100px);
  
  --yellow: rgba(247,186,0,1);
  --yellow-rgb: 247,186,0;
  --black: rgba(45,48,50,1);
  --black-rgb: 45,48,50;
  --bg-color: rgba(249,249,247,1);
  
  --font-en: bilo, sans-serif;
}

html,body{
  height: 100% !important;
}
html{
  font-size: clamp(13px,2.0vw,17px);
  font-feature-settings: 'palt';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}

body{
  position: relative;
  color: var(--black);
  background-color: var(--bg-color);
  font-family: dnp-shuei-gothic-gin-std, sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  word-wrap: break-word;
  font-size: clamp(13px,2.0vw,17px);
  font-weight: 500;/*400,500,600*/
  line-height: 2;
  letter-spacing: .05em;
}
#wrapper{
  position: relative;
  width: 100%;
}
.header,
#contents{
  position: relative;
  z-index: 1;
}

/* Video */

.bg_video{
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}
.bg_video{ /* 透過グラデーション */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.53) 50%,
    #000 70%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 50%,
    #000 70%
  );
}
#video{
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%) scale(1.5);  /*拡大*/
  width: auto;
  height: 100vh;
  opacity: .2;
}
/* スクロール時のフェードイン */
.fade{
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.fade.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
  Contents
-------------------------------------------*/

/* contents / cmn
-------------------------------------------*/

/* セクションタイトル
-------------------------------------------*/
.sec_title{
  display: flex;
  align-items: center;
  text-align: left;
  gap: .75rem;
  line-height: 1.4;
  font-weight: 600;
}
.sec_title_en{
  font-family: var(--font-en);
  font-size: 2rem;
  letter-spacing: .04em;
}
.sec_title_jp{
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
}
.sec_title_jp::before{
  content: "";
  display: block;
  flex-shrink: 0;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--yellow);
}
.sec_title_en_lg{
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

/* more-btn */

/* simple */

.btn_more{
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  min-width: 120px;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-size: .8rem;
  line-height: 1.5;
  background: transparent;
}
.btn_more span{
  color: #fff;
}
.btn_more::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--black);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.btn_more:hover::before{
  background: #000;
}
.arrow{
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 12px;
  overflow: hidden;
  background: none;
}
.arrow::before,
.arrow::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transition: transform .35s ease, opacity .2s ease;
}
.arrow::before{
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
}
.arrow::after{
  transform: translate(calc(-50% - 12px), -50%) rotate(45deg);
  opacity: 0;
}
.btn_more:hover .arrow::before{
  transform: translate(calc(-50% + 12px), -50%) rotate(45deg);
  opacity: 0;
}
.btn_more:hover .arrow::after{
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
}
/* 外部リンク */
.btn_outlink{
  min-width: 0;
  height: 50px;
  padding: .25rem 1rem;
}
.btn_outlink span{
  color: #fff;
}
.out_link{
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

/* circle more-btn */

.btn_circle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: fit-content;
  min-width: 260px;
  max-width: 100%;
  height: 74px;
  box-sizing: border-box;
  padding: .5rem 1.5rem .5rem 2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--black);
  text-decoration: none;
  transition: background-color .3s ease;
}
.btn_circle:hover{
  background-color: #000;
}
.btn_circle_text{
  flex: 1;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: .075em;
  white-space: nowrap;
}
.btn_circle_arrow{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.btn_circle_arrow::before,
.btn_circle_arrow::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .6rem;
  height: .6rem;
  margin: -.3rem 0 0 -.4rem;  /*矢印の位置調整*/
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  transition: transform .35s ease, opacity .2s ease;
}
.btn_circle_arrow::before{
  transform: translateX(0) rotate(45deg);
  opacity: 1;
}
.btn_circle_arrow::after{
  transform: translateX(-12px) rotate(45deg);
  opacity: 0;
}
.btn_circle:hover .btn_circle_arrow::before{
  transform: translateX(12px) rotate(45deg);
  opacity: 0;
}
.btn_circle:hover .btn_circle_arrow::after{
  transform: translateX(0) rotate(45deg);
  opacity: 1;
}

@media screen and (max-width: 650px){
  
  .btn_circle{
    margin-right: 0;
    margin-left: auto;
    padding: .5rem 2rem .5rem 2.5rem;
  }
  .btn_circle_text{
    font-size: 1.1rem;
  }
  .btn_circle_arrow{
    width: 32px;
  }
}

/* 制作実績一覧　list */

.works .sec_inner{
  width: var(--page-narrow);
  margin: 0 auto;
}
.works .sec_title{
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}
.works_categories{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
.works_categories li{
  margin: 0;
}
.works_categories a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 40px;
  padding: .25rem 1.25rem;
  border-radius: 999px;
  font-size: .75rem;
  background: #fff;
  border: 1px solid var(--black);
}
.works_categories a span{
  font-size: 1.3rem;
  line-height: .8;
}
.works_categories a:hover,
.works_categories a.is_active{
  color: #fff;
  background: var(--black);
}
.works_categories a .works_category_arrow{
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 12px;
  overflow: hidden;
}
.works_category_arrow::before,
.works_category_arrow::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transition: transform .35s ease, opacity .2s ease;
}
.works_category_arrow::before{
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
}
.works_category_arrow::after{
  transform: translate(calc(-50% - 12px), -50%) rotate(45deg);
  opacity: 0;
}
.works_categories a:hover .works_category_arrow::before{
  transform: translate(calc(-50% + 12px), -50%) rotate(45deg);
  opacity: 0;
}
.works_categories a:hover .works_category_arrow::after{
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
}
.works_list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 4%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.works_item a{
  display: block;
  color: inherit;
  text-decoration: none;
}
.works_img{
  overflow: hidden;
  aspect-ratio: 1.6 / 1;
  background: #eee;
}
.works_img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.works_item a:hover .works_img img{
  transform: scale(1.04);
}
.works_caption{
  padding-top: 1rem;
}
.works_title{
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  margin: 0 0 1rem;
}
.works_tags{
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.works_tags span{
  display: inline-block;
  padding: .35rem .65rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  color: #777;
  font-size: .7rem;
  line-height: 1.3;
  letter-spacing: .1;
}
.works_more{
  margin: 3rem 0 0 auto;
}
.works_more .btn_circle_text{
  white-space: nowrap;
}

@media screen and (max-width: 900px){
  
  .works_list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 4%;
  }
}

@media screen and (max-width: 650px){
  
  .works_categories a{
    min-height: 34px;
    font-size: .85rem;
  }
  .works_categories a span{
    font-size: 1.3rem;
    line-height: .8;
  }
  .works_list{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .works_title{
    font-size: 1.1rem;
  }
  .works_tags span{
    font-size: .8rem;
  }
}

/* ----------------------------------------
  Footer
-------------------------------------------*/

.footer{
  margin-top: 8rem;
}
/* CONTACT */
.contact{
  width: var(--page-wide);
  margin: 0 auto;
  padding: 6rem 2rem 7rem;
  border-radius: 2rem;
  background: rgba(var(--black-rgb), .05);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  text-align: center
}
.contact_inner{
  max-width: 800px;
  margin: 0 auto;
}
.contact .sec_title{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin: 0 0 3rem;
}
.contact .sec_title_en{
  font-family: var(--font-en);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.contact .sec_title_jp{
  font-size: 1.1rem;
  font-weight: 600;
}
.contact .sec_title_jp::before{
  display: none;
}
.contact_lead{
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .15em;
}
.contact_text{
  margin-bottom: 2rem;
  font-size: .95rem;
}
.contact_link{
  justify-content: space-between;
  max-width: 100%;
  height: 74px;
  padding: .5rem 1.5rem .5rem 2rem;
  margin: 0 auto;
}
.contact_link .btn_circle_text{
  color: #fff;
  font-size: .9rem;
}
.contact_link .btn_circle_arrow{
  width: 32px;
}

/* FOOTER */

.footer_inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: var(--page-wide);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}
.footer_info{
  min-width: 0;
  text-align: left;
}
.footer_logo{
  display: inline-block;
  margin: 0 0 1.5rem;
  width: 260px;
}
.footer_address{
  margin: 0;
  font-size: .75rem;
  font-style: normal;
  line-height: 2;
  letter-spacing: .08em;
}
.footer_copyright{
  margin: 4rem 0 0;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  font-family: var(--font-en);
}
.footer_sns{
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.footer_sns a{
  display: block;
  width: 26px;
  height: 26px;
  transition: opacity .3s;
}
.footer_sns a:hover{
  opacity: .6;
}
.footer_sns img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 650px){
  
  .contact{
    padding: 4rem 1.5rem 5rem;
  }
  .contact .sec_title_en{
    font-size: 1.8rem;
    letter-spacing: .1rem;
  }
  .contact_text{
    margin-bottom: 3rem;
  }
  .contact_link .btn_circle_text{
    font-size: 1rem;
  }
  
  .footer_inner{
    flex-direction: column;
    gap: 2rem;
  }
  .footer_logo{
    width: min(240px,60%);
  }
  .footer_address{
    font-size: .85rem;
  }
  .footer_copyright{
    margin-top: 3rem;
    font-size: .9rem;
  }
  .footer_sns{
    gap: 1.5rem;
  }
  .footer_sns a{
    width: 22px;
    height: 22px;
  }
}