.logo_n,.logo_b,.logo_i,.logo_c{
  background-size: contain;
  background-position: center center;
  background-repeat : no-repeat;
  text-indent:100%;
  white-space:nowrap;
  overflow:hidden;
}
.logo_n{
  background-image : url(img/logo_name.svg);
  aspect-ratio : 12/1;
}
.logo_b{
  background-image : url(img/logo_b.svg);
  aspect-ratio : 3/2;
}
.logo_c{
  background-image : url(img/logo_c.svg);
  aspect-ratio : 3/2;
}
.logo_i{
  background-image : url(img/logo_i.svg);
  aspect-ratio : 27/10;
}
header{
  width: 100%;
  height: 60%;
  padding : .5rem 0;
  background-color : #00489d;
  display: flex;
  align-items: center;
  justify-content: center;
  position : relative;
  z-index : 50;
}
header .inner{
  width : 100%;
  height:100%;
  background-color : #1a1a1a;
  background-position: center center;
  background-size: cover;
}
.vegas-content{
  width : 100%;
  height:100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap : 1rem;
  filter: invert(100%) sepia(0%) saturate(2468%) hue-rotate(269deg) brightness(110%) contrast(104%) drop-shadow(0 0.2rem 0.2rem #000);
}
header .logo_n,nav.nav-sp .logo_n{
  width : 75vw;
  max-width : 40rem;
}
header .logo_n{
  order: 3;
}
nav.nav-sp .logo_n{
  max-width : 30rem;
}
header .logo_b,nav.nav-sp .logo_b,#contact .logo_b{
  width : 20vw;
  max-width : 10rem;
}
header .logo_b{
  order: 1;
}
nav.nav-sp .logo_b{
  max-width : 4rem;
}
header .logo_i,nav.nav-sp .logo_i,#contact .logo_i{
  width : 32vw;
  max-width : 16rem;
}
header h2{
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight : 700;
  order: 4;
  line-height : 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap : 1rem;
  text-align : center;
}
header h2 span{
  padding : 0 calc(clamp(1.6rem, 3vw, 2rem) * 1.5);
  text-align-last:justify;
  width : 100%;
  display : block;
}
section{
  width: 100%;
  min-height: 100vh;
  padding : 7rem 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  background-image : url(img/bgi.webp);
  background-repeat : no-repeat;
  background-attachment : fixed;
  background-position : center center;
  background-size : cover;
  display:flex;
  justify-content: center;
  align-items: center;
}
section h2{
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight : 700;
  text-align: center;
  line-height : 1.2;
}
section h3{
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  font-weight : 500;
  text-align: center;
  line-height : 1.2;
}
section p.txt{
  text-align: justify;
  line-height : 1.5;
}
#introduction .inner{
  padding : 0 1.6rem;
  max-width : 80rem;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap : 4rem;
}
#introduction ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 1rem;
  list-style-type: none;
}
#introduction li{
  padding : .8rem 1.5rem;
  border-radius : .7rem;
  background-color : rgba(193, 221, 255, 0.5);
  font-weight : 600;
}
#familiar{
  padding : 5rem 0 0;
}
#familiar .inner{
  color : #ffffff;
  background-color : rgba(26, 26, 26, 0.7);
  min-height:calc(100vh - 5rem);
  display:flex;
  justify-content: center;
  flex-wrap:wrap;
  position: relative;
  z-index: 1;
}
#familiar div.txt,
#familiar div.pic{
  width : 50%;
  max-width : 90rem;
}
#familiar div.txt{
  padding:1.5rem 0;
  background-color : rgba(26, 26, 26, 0.7);
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 1rem;
}
#familiar div.txt p.txt{
  width:85%;
  max-width:60rem;
}
#familiar div.pic img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.b1{
  order:2;
}
.b2{
  order:3;
}
.b3{
  order:1;
}
.b4{
  order:4;
}
.b5{
  order:6;
}
.b6{
  order:5;
}
#work .inner,#company .inner,#insta .inner,#contact .inner{
  padding : 0 1.6rem;
  width : 100%;
  max-width : 105.2rem;
  display:flex;
  flex-wrap:wrap;
  gap : 2rem 4rem;
}
#work h2{
  width : 100%;
  letter-spacing:1em;
  text-indent:1em;
}
#work .inner .flex{
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap : 4rem;
}
#work .inner .flex div{
  width:40vw;
  max-width:22.5rem;
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  gap : 1rem;
}
#work .inner .flex div img{
  width:100%;
  border-radius:50%;
  aspect-ratio:1/1;
  object-fit: cover;
}
#company{
  }
#company .inner div:first-child,#company .inner div:nth-child(2){
  width : 100%;
  max-width : calc((100% - 4rem) / 2);
}
#company .inner div:last-child,#company .inner div:nth-child(3){
  width : 100%;
  line-height : 1.8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap : 1rem;
}
#company dl{
  gap : .6rem;
}
#company dl dt,#company dl dd{
  padding : 1rem 1.2rem;
  border-radius : .5rem;
}
#company dl dt{
  width: calc(clamp(1.6rem, 2vw, 2rem) * 5 + 2.4rem);
}
#company dl dd{
  width: calc(100% - (clamp(1.6rem, 2vw, 2rem) * 5 + 2.4rem) - .6rem);
}
#company dl dt:nth-of-type(even),#company dl dd:nth-of-type(even){
  background-color : rgba(0, 72, 157, 0.1);
}
#company dl dt:nth-of-type(odd),#company dl dd:nth-of-type(odd){
  background-color : rgba(125, 125, 125, 0.1);
}
#company .inner div div.lbox{
  width:100%;
  max-width : 100%;
  display: flex;
  flex-wrap: wrap;
  gap : 0 1.5rem;
}
#company .map{
  width:100%;
  aspect-ratio : 10/7;
  position: relative;
}
#company .map iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
footer{
  color:#fff;
  width: 100%;
  padding : 7rem 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  background-color : #00489d;
  display:flex;
  justify-content: center;
  align-items: center;
  z-index : 1;
}
footer .inner{
  padding : 0 1.6rem;
  max-width : 105.2rem;
  display:flex;
  flex-wrap:wrap;
  gap : 1rem;
}
.copy{
  width : 100%;
  text-align : center;
}
#insta{
  background-image : url(img/simg2.webp);
  position: relative;
  z-index : 1;
}
#insta::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("img/06.png") repeat;
}
#insta .inner{
  justify-content: center;
  gap : 2rem;
  z-index: 1;
}
#insta h2{
  width : 100%;
  padding : 1rem;
  display:flex;
  justify-content: center;
  background-color : rgba(255, 255, 255, 0.8);
  border-radius : .5rem;
}
#insta h2 img{
  width : 60%;
  max-height : 2.8rem;
  min-height : 2.2rem;
}
#insta .insta_list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
#insta article{
  width : calc((100% - 6rem) / 4);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: .4rem;
}
#insta article a{
  position : relative;
}
#insta article a p{
  position: absolute;
  bottom : 0;
  width : 100%;
  padding : .8rem;
  background-color : rgba(255, 255, 255, 0.8);
  border-radius : 0 0 0.5rem 0.5rem;
  text-align : right;
  font-family : sans-serif, serif;
  background-image : url(img/logo_c.svg);
  background-repeat : no-repeat;
  background-position : 0.8rem center;
  background-size : auto 70%;
}
#insta article img{
  aspect-ratio : 1/1;
  object-fit : cover;
  border-radius : .5rem;
  filter: drop-shadow(0 0.2rem 0.2rem #000);
}
#insta p span{
  color : #fd3a02;
  font-family : fantasy, sans-serif;
}
.page-top{
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: calc(clamp(2.4rem, 4vw, 3.6rem) * 1.4);
  aspect-ratio: 1/1;
  z-index : 10000;
  opacity:.8;
}
.page-top.bw{
  z-index : 0;
  filter: invert(18%) sepia(54%) saturate(3109%) hue-rotate(199deg) brightness(99%) contrast(105%);
  opacity:1;
}
#contact{
  min-height: calc(100vh - 16rem);
  color : #ffffff;
  padding : 7rem 0 0;
  font-size: 1.4rem;
  background-color : #00489d;
  background-image : none;
  z-index : 1;
  line-height : 1.3;
}
#mail_form_box,#policy{
  width : 100%;
  max-width : calc((100% - 4rem) / 2);;
}
#policy{
  display : flex;
  flex-wrap:wrap;
  justify-content: center;
  align-content: space-between; 
  gap : 1.5rem;
}
#policy aside{
  width: 90%;
  margin : 0 auto;
  display : flex;
  flex-wrap:wrap;
  justify-content: center;
  align-content: flex-start;
  gap : 1.5rem;
  position: relative;
  padding: 0 0 3rem;
  height: auto;
  overflow: hidden;
}
#fot{
  width: 90%;
  margin : 0 auto;
  display : flex;
  flex-wrap:wrap;
  justify-content: center;
  align-content: flex-start;
  gap : 1.5rem;
}
#contact ol{
  list-style-position : outside;
  font-size : 1.3rem;
  padding-left : 1em;
  display : flex;
  flex-wrap:wrap;
  gap : 1.5rem;
}
#contact ol li{
  width : 100%;
}
#contact ol li ol,#contact ol p{
  padding-top : 1.5rem;
}
#contact ol.h3{
  gap : 0;
}
#contact ol li.h1 b{
  font-size : 1.5rem;
  font-weight : 700;
}
#policy aside p.n_tx{
  margin-bottom: 1.5rem;
}
.box_more{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  padding-top: 70px;
  text-align: center;
  line-height: 2em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #00489d 70%);
  cursor: pointer;
}
.is-open .box_more{
  background: transparent;
  margin : 0 auto;
  max-width: 30rem;
  left: auto;
}
.box_more::before{
  color: #fff;
  content: '+続きを読む';
  font-family: sans-serif, serif;
  font-size: 1.3rem;
  font-weight : 600;
  display: inline-block;
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 0;
  left: 0;
}
.is-active .box_more::before{
  content: '閉じる';
  color: #00489d;
  background-color: #ffffff;
  border-radius : .7rem;
}
#contact .fbox{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#contact .logo_n{
  width : 100%;
  max-width : 40rem;
}
#contact .tel_box{
  color : #ffffff;
  flex-direction: column;
}
#contact .tel_box p span{
  font-size : 1.6rem;
}
#contact nav{
  margin : 3rem auto 0;
  display: flex;
  justify-content: center;
}
 nav ul{
  width: 100%;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
#contact nav li.dummy{
  display : none;
}
#contact nav li a{
  font-weight : 600;
  font-family : sans-serif, serif;
  text-decoration : underline;
}
@media screen and (max-width: 800px) {
  header{
  height: 100vh;
}
#familiar div.txt,
#familiar div.pic{
  width : 100%;
}
#familiar div.pic{
  aspect-ratio:5/2;
}
.b2{
  order:4;
}
.b4{
  order:3;
}

#company .inner div:first-child,#company .inner div:nth-child(2),#mail_form_box,#policy{
  max-width : 100%;
}
#policy aside{
  max-width : 49rem;
}
#company .map{
  aspect-ratio : 2/1;
}
#insta article{
  width : calc((100% - 1rem) / 3);
}
#insta .inner,#insta .insta_list{
  gap : .5rem;
}
}

