@charset "utf-8";

/* ------リセットCSS------ */
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
  display:block;
}

ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  /* font-size:100%; */
  vertical-align:baseline;
  background:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000; 
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

/* table {
  border-collapse:collapse;
  border-spacing:0;
} */

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;   
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}

/* ------自分のCSS------ */

body{
    font-family: dnp-shuei-gothic-gin-std, roboto, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #272727;
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    background-color: #ffffff;
    background-attachment: fixed;
    opacity: 0;
    animation: fadein 1.5s forwards;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    position: relative;
    height: 100%;
    flex-shrink:0;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; Safari
}

img{
  vertical-align: bottom;
  object-fit: contain;
}

html{
  height: 100%;
}

/* ------フォントサイズ------ */
h1{
  font-size: 40px;
}
h2{
  font-size: 32px;
}
h3{
  font-size: 24px;
}
h4{
  font-size: 16px;
}
@keyframes fadein {
  0% {opacity: 0}
  100% {opacity: 1}
}
.zero{
  margin: 0;
  padding: 0;
}
.pc_hidden{
  display: none;
}

nav{
  font-weight: 400;
  letter-spacing: normal;
}
.tate{
  writing-mode: vertical-lr
}
.yoko{
  writing-mode: horizontal-tb;
}
.space-between{
  justify-content: space-between;
}
.backgroundcolor{
  background-color: #f2f2f26f;
}
.thin{
  font-size: 14px;
  margin-bottom: 10px;
  color: #908d8d;
  font-weight: 200;
  letter-spacing: 0.01em;
}

.flex{
  display: flex;
  justify-content: space-between;
}
main{
  max-width: 1920px;
  margin: 0 auto;
}
#wrapper{
  width: 100%;
}
.content{
  width: 96%;
  margin: 0 2%;
}

.linespacing_margin{
  margin-top: 15px;
}
.li_margin{
  margin-bottom: 30px;
}

/* ロゴ左から */
.fadeLeft{
  animation-name:fadeLeftAnime;
  animation-duration:2s;
  animation-fill-mode:forwards;
  opacity:0;
  animation-delay: 0.5s;
  }
  
  @keyframes fadeLeftAnime{
    from {
      opacity: 0;
    transform: translateX(-50px);
    }
  
    to {
      opacity: 1;
    transform: translateX(0);
    }
  }

/* ------左のナビゲーション固定------ */
/*左と右を囲う全体のエリア*/
#wrapper{
	position: relative;
	flex-wrap: wrap;/*ボックスの折り返し可*/
}

/*左エリア*/
#fixed-area{
  /*左固定記述*/
  position: -webkit-sticky;
  position: sticky;
  top:0;
	width: 14%;
	height: 50vh;
  padding-top: 20%;
  box-sizing: border-box;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.nav_left li{
  margin-bottom: 30px;
}
.nav_left a{
  text-decoration: none;
  color: #272727;
  
}

/*右エリア*/
#container{
	width: 80%;
  margin: 0 2%;
}

/* ------h2------ */

#container h2 {
  padding: 35px 0;
  margin: 150px 0 80px 0;
}

/* -------h2、footerフェードイン------- */
.element {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s, visibility 1s, transform 1s;
}
/* フェードイン時に入るクラス */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ------左からフェードイン------ */
.scroll_left {
  -webkit-transition: 1s ease-in-out;
  -moz-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  transform: translateX(-10px);
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
}
.scroll_left.on {
  opacity: 1.0;
  filter: alpha(opacity=100);
  -moz-opacity: 1.0;
  transform: translateX(0);
}

/* フッター */
#footer{
  width: 100%;
  position: relative;
}
footer p{
  text-align: right;
  font-size: 12px;
  margin-right: 5%;
  position: absolute;
  right: 10px;
  bottom: 30px;
  z-index: 10;
}
.footer_img{
  width: 100vw;
  margin-top: 100px;
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
}
/* -----TOTOP----- */
.floating{
  position: fixed;
  right: 20px;
  bottom: 200px;
  display: none;
  z-index: 30;
}
#totop {
  height: 150px;
  text-decoration: none;
  font-size: 12px;
  color: #272727;
  position: absolute;
  right: 5%;
  bottom: 200px;
}

/* -----左navラインHOVER----- */

.line_hover {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.line_hover::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 0.5px;
  background: #272727;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.line_hover:hover::after {
  transform: scale(1, 1);
}

/* -----コンタクトボタン----- */
.button-09_01 a {
  letter-spacing: 0.1em;
  color: #272727;
  font-weight: 400;
  border: solid 1px #272727;
  border-radius: 999px;
  display: block;
  box-sizing: border-box;
  max-height: 100px;
  text-align: center; 
  padding: 10px 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.button-09_01 a:hover {
  color: #ffffff;
  background-image: url(../images/hover.jpg);
  border: transparent 1px solid;
  background-size: cover;
  transition: all 0.3s;
  font-weight: 600;
}
.contact_02{
  margin: 10px 0 0 -5px;
}

.contact_02 a{
  padding: 5px 2px;
  max-width: 100px;
}


/* 1024px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 1024px) {
  img {
    max-width: 1024px;
  }
  h1{
    font-size: 36px;
  }
  h2{
    font-size: 32px;
  }
  h3{
    font-size: 24px;
  }
  h4{
    font-size: 16px;
  }
  nav{
    font-size: 12px;
  }

  #container h2 {
    padding: 20px 0;
    margin: 100px 0 80px 0;
  }

  .thin{
    font-size: 12px;
    margin-bottom: 10px;
    align-items: 1.5;
  }

  .footer_img{
    margin-top: 0;
  }

  footer p{
    font-size: 10px;
  }
  #totop {
    right: 2%;
    bottom: 150px;
  }
}

/* -----767px以下に適用されるCSS（スマホ用）----- */
@media screen and (max-width: 767px) {
  img {
    max-width: 767px;
  }
  main .flex{
    display: block;
  }
  .sp_flex{
    display: flex;
  }
  .sp_hidden{
    display: none;
  }
  .pc_hidden{
    display: block;
  }

  #container{
    width: 90%;
    margin: auto;
  }

  .top_contact{
    height: 400px;
  }
  footer p{
    bottom: 10px;
  }

/* -----TOTOP----- */
  .floating{
    right: 3px;
    z-index: 20;
  }
  #totop {
    font-size: 10px;
    right: 3px;
    bottom: 10vh;
  }

/* スマホ用ハンバーガーメニュー */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap'); */
.hamburger{
  z-index: 100;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked){
  position: absolute;
  left: -9999px;
}
.pc_hidden{
  display: block;
}

/* 3本線 */
.menu-icon:checked + label,
.menu-icon:not(:checked) + label{
  position: fixed;
  top: 35px;
  right: 34px;
  display: block;
  width: 25px;
  height: 25px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 10;
}
.menu-icon:checked + label:before,
.menu-icon:not(:checked) + label:before{
  position: absolute;
  content: '';
  display: block;
  width: 25px;
  height: 20px;
  z-index: 20;
  top: 0;
  left: 0;
  border-top: 1px solid #272727;
  border-bottom: 1px solid #272727;
  transition: border-width 100ms 1500ms ease, 
              top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
              height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 200ms ease,
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked + label:after,
.menu-icon:not(:checked) + label:after{
  position: absolute;
  content: '';
  display: block;
  width: 15px;
  height: 1px;
  z-index: 20;
  top: 10px;
  right: 1px;
  background-color: #272727;
  margin-top: 0;
  transition: width 100ms 1750ms ease, 
              right 100ms 1750ms ease,
              margin-top 100ms ease, 
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked + label:before{
  top: 10px;
  transform: rotate(45deg);
  height: 1px;
  background-color: #272727;
  border-width: 0;
  transition: border-width 100ms 340ms ease, 
              top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
              height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 200ms 500ms ease,
              transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked + label:after{
  width: 25px;
  margin-top: 0;
  right: 0;
  transform: rotate(-45deg);
  transition: width 100ms ease,
              right 100ms ease,  
              margin-top 100ms 500ms ease, 
              transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* nav全体 */
.nav{
  position: fixed;
  top: 20px;
  right: 20px;
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
  z-index: 9;
  overflow: hidden;
  background-color: #ffffff;
  border:0.5px solid #272727;
  animation: border-transform 7s linear infinite;
  transition: top 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),  
              right 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 250ms 1100ms ease,
              width 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1),
              height 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes border-transform{
    0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.menu-icon:checked ~ .nav {
  animation-play-state: paused;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 200%;
  height: 200%;
  transition: top 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),  
              right 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 250ms 700ms ease,
              width 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1),
              height 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* -----OPEN後ー---- */

.nav ul{
  position: absolute;
  transform: translate(50%, -50%);
  top: 39%;
  left: -20%;
  display: block;
  width: 100%;
  text-align: left;
  /* transform: translateY(-50%); */
}

.nav ul li a{
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 400;
  display: inline-block;
  color: #272727;
  transition: all 250ms linear;
  text-decoration: none;
  width: auto;
  display: inline-block;
  text-align: left;
}

.header-logo{
  width: 150px;
  margin-bottom: 50px;
  /* position: absolute;
  top: -100px;
  left: 300px; */
}

.nav ul li:not(:first-child){
  display: block;
  width: 100%;
  padding: 0;
  margin: 30px 0 0 0;
  /* text-align: center; */
  list-style: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 250ms linear;
}

.nav ul li:nth-child(1){
  transition-delay: 200ms;
}
.nav ul li:nth-child(2){
  transition-delay: 150ms;
}
.nav ul li:nth-child(3){
  transition-delay: 100ms;
}
.nav ul li:nth-child(4){
  transition-delay: 50ms;
}

.menu-icon:checked ~ .nav  ul li {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease,
              transform 250ms ease;
}
.menu-icon:checked ~ .nav ul li:nth-child(1){
  transition-delay: 1400ms;
}
.menu-icon:checked ~ .nav ul li:nth-child(2){
  transition-delay: 1480ms;
}
.menu-icon:checked ~ .nav ul li:nth-child(3){
  transition-delay: 1560ms;
}
.menu-icon:checked ~ .nav ul li:nth-child(4){
  transition-delay: 1640ms;
}


}