

.main-contents .inner.wide{
}

#h1-title{
  position: relative;
  background-image: url("../images/bg-title.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-top: 25vw;
  text-align: center;
}

#h1-title h1{
  position: relative;
  padding-bottom: min(8vw, 120px);
}

#h1-title h1> *{
  position: relative;
  z-index: 1;
}

#h1-title h1::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: min(36vw, 360px);
  background-image: linear-gradient(to bottom, white 50%, transparent 50%), radial-gradient(black 0%, white 65%);
  border-radius: 0 0 100% 100%;
  opacity: .2;
  z-index: 0;
}

.h1-title-logo{
  position: relative;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.h1-title-logo> span{
  display: block;
}

.h1-title-logo img{
  position: relative;
  filter: invert(71%) sepia(61%) saturate(633%) hue-rotate(359deg) brightness(106%) contrast(105%) drop-shadow(2px 2px black) drop-shadow(2px -2px black) drop-shadow(-2px 2px black) drop-shadow(-2px -2px black);
  z-index: 1;
}

.h1-title-logo::before,
.h1-title-logo::after,
.h1-title-logo> span::before,
.h1-title-logo> span::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/wifi7.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

/* red */
.h1-title-logo::before{
  transform: translate(10%, -10%);
  filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%);
  opacity: .05;
}

/* green */
.h1-title-logo::after{
  transform: translate(5%, 10%);
  filter: invert(17%) sepia(91%) saturate(7085%) hue-rotate(128deg) brightness(100%) contrast(106%);
  opacity: .05;
}

/* yellow */
.h1-title-logo> span::before{
  transform: translate(-10%, -5%);
  filter: invert(81%) sepia(81%) saturate(633%) hue-rotate(359deg) brightness(106%) contrast(105%);
  opacity: .1;
}

.h1-title-text{
  display: flex;
  margin-top: max(-8vw, -100px);
  align-items: center;
  column-gap: 20px;
}

@media (max-width: 768px){
  .h1-title-text{
    display: inline-grid;
    margin: 0 auto;
    grid-template: 1fr 1fr / 27vw 1fr;
    column-gap: 0;
  }
}

.h1-title-text> span{
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.h1-title-text> .h1-title-left{
  text-align: right;
  align-items: flex-end;
  justify-content: center;
}

@media (max-width: 768px){
  .h1-title-text> .h1-title-left{
    text-align: left;
    align-items: flex-start;
    align-self: flex-end;
  }
}

.h1-title-text> .h1-title-right{
  text-align: left;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 768px){
  .h1-title-text> .h1-title-right{
    align-self: flex-start;
  }
}

.h1-title-text> .h1-title-product{
  min-width: min(293px, 27vw);
}

@media (max-width: 768px){
  .h1-title-text> .h1-title-product{
    order: -1;
    grid-row: 1 / span 2;
    z-index: 1;
  }
}

.h1-title-text> .h1-title-product> *{
}

.h1-title-text> span> span{
  background-color: black;
  padding: .2em .4em;
  color: yellow;
  font-weight: bold;
  line-height: 1.2;
  transform: rotate(-7deg) translateY(-10%);
  transform-origin: right top;
}

.h1-title-text> span> span:nth-child(1){
  background-color: #CCFCFF;
  color: black;
  transform: rotate(7deg) translateY(10%);
  transform-origin: right bottom;
}

.h1-title-text> .h1-title-right> span{
  transform: rotate(7deg) translateY(-10%);
  transform-origin: left bottom;
}

.h1-title-text> .h1-title-right> span:nth-child(1){
  transform: rotate(-7deg) translateY(10%);
  transform-origin: left bottom;
}

@media (max-width: 768px){
  .h1-title-text> span> span{
    transform: rotate(-2deg) translateY(0%);
    transform-origin: left top;
  }

  .h1-title-text> span> span:nth-child(1){
    transform: rotate(-9deg) translateY(0%);
    transform-origin: left bottom;
  }

  .h1-title-text> .h1-title-right> span{
    transform: rotate(9deg) translateY(0%);
    transform-origin: left top;
  }

  .h1-title-text> .h1-title-right> span:nth-child(1){
    transform: rotate(2deg) translateY(0%);
    transform-origin: left bottom;
  }
  .h1-title-text> span> .fs-36{
    font-size: inherit !important;
  }
}

.stretch{
  flex-grow: 1;
}

.oswald{
  display: inline-block;
  font-family: Oswald;
  line-height: 1;
  transform: scaleY(.8);
  transform-origin: left bottom;
}
.oswald .not{
  display: inline-block;
  transform: scaleX(.775);
  transform-origin: left;
}

:root{
  --shadow: rgba(0,0,0,.4);
}

#product{
  background-color: black;
  background-image: url("../images/bg-product.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: max(100%, 1600px) auto;
  color: white;
  text-shadow: 1px 1px var(--shadow), -1px 1px var(--shadow), 1px -1px var(--shadow), -1px -1px var(--shadow);
}

#product .bg-white{
  background-color: rgba(255, 255, 255, .9);
  color: black;
  text-shadow: none;
}

#product .borderline{
  border-width: 2px;
  border-color: white;
}

@media (max-width: 768px){
  #product .borderline{
    display: block;
  }
  #product .product-image{
    max-width: 50%;
  }
}

#product .separate> *:nth-child(1){
}

#product .separate> *:nth-child(n+2){
  padding-left: 1em;
  border-left: 2px solid white;
  flex-grow: 1;
}

.bg{
  background-image: url("../images/bg-scene_1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.bg> [class^="inner"]> [flex]{
  position: relative;
  z-index: 0;
}

.bg> [class^="inner"]> [flex]::before{
  content: "";
  position: absolute;
  inset: 0 25% 0 0;
  background-image: linear-gradient(to right, white 0, white 75%, transparent 100%);
  z-index: -1;
}

.bg.right> [class^="inner"]> [flex]::before{
  inset: 0 0 0 25%;
  background-image: linear-gradient(to left, white 0, white 75%, transparent 100%);
}

.bg> [class^="inner"]> [flex]> div{
  position: relative;
  display: flex;
  min-height: 357px;
  max-width: 700px;
  text-align: left;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  word-break: break-all;
}

.bg> [class^="inner"]> [flex]> div::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-scene_text.png");
  background-position: center top;
  background-repeat: no-repeat;
  opacity: .1;
  z-index: -1;
}

.bg + .bg{
  background-image: url("../images/bg-scene_2.jpg");
}

.bg + .bg + .bg{
  background-image: url("../images/bg-scene_3.jpg");
}

.bg + .bg + .bg + .bg{
  background-image: url("../images/bg-scene_4.jpg");
}

@media (max-width: 1080px){
  .bg> [class^="inner"]> [flex]::before,
  .bg.right> [class^="inner"]> [flex]::before{
    inset: 0;
  }
}

@media (max-width: 768px){
  .bg{
    padding-top: 140px;
    background-size: auto 160px;
    background-position: right top;
  }
  .bg.right{
    background-position-x: left;
  }
  .bg> [class^="inner"]> [flex]> div{
    min-height: auto;
    padding: 40px 10px 80px;
  }
  .bg> [class^="inner"]> [flex]> div::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(to bottom, transparent, white);
  }
}


.box-circle{
  padding-top: 100px;
  padding-bottom: 80px;
}

.circle{
  position: relative;
  padding-bottom: 40px;
}

.circle> *{
  position: relative;
  z-index: 1;
}

.circle::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: white;
  width: 80%;
  height: 0;
  padding-top: 80%;
  border: 1px solid gray;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.circle.speed{
  display: flex;
  max-width: 50%;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.circle.speed::before{
  background-color: #eeeeee;
  border: 6px solid white;
}

.circle.speed> *{
  padding-left: .5em;
}

.attention> .circle:nth-child(1){
  padding-bottom: 60px;
  color: #FFEE00;
}

.attention> .circle:nth-child(1)> *{
  background-color: black;
}

.attention> .circle:nth-child(1)::before{
  background-color: black;
  background-image: url("../images/bg-circle.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 85%;
  padding-top: 85%;
  border: none;
}

.attention> .circle:nth-child(1)::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: black;
  width: calc(80% - 8px);
  height: 0;
  padding-top: calc(80% - 8px);
  border: 8px solid white;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.attention> .circle.speed::before{
  background-color: #CCFCFF;
}


@media (max-width: 768px){
  .box-circle{
    padding: 0 0 40px;
    gap: 30px !important;
  }
  .box-circle> *{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .box-circle> *> *{
    flex-grow: 1;
  }
  .circle{
    padding: 20px 5px !important;
  }
  .main-contents .column.circle{
    flex-direction: row !important;
    flex-wrap: wrap;
    flex-grow: 1;
    gap: 10px !important;
  }
  .circle:not(.speed)::before,
  .circle:not(.speed)::after{
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
  }
  .attention .circle:not(.speed)::before,
  .attention .circle:not(.speed)::after{
    border: none !important;
  }
  .circle.speed{
    width: 10em;
    min-width: 10em;
    flex-grow: 0;
  }
  .attention .circle.speed::before{
    width: 100%;
    padding-top: 100%;
    border: none;
  }
}


#technology{
  position: relative;
}

#technology::before{
  content: "";
  position: relative;
  display: block;
  background-image: url("../images/bg-product.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 20px;
  width: 100%;
  opacity: 1;
}

#technology .attention{
  display: inline-block;
  background-color: black;
  margin: 10px auto;
  padding: .2em .4em .1em;
  color: yellow;
  font-weight: bold;
  line-height: 1.2;
  transform: rotate(-2deg) translateY(-10%);
  transform-origin: center center;
}

.bg-logo{
  position: relative;
  display: flex;
  margin-top: 100px;
  line-height: 1.2;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 0;
}

.bg-logo::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  background-image: url("../images/wifi7.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 180px;
  transform: translateY(-50%);
  opacity: .075;
  z-index: -1;
}

.bg-logo> span{
  display: block;
  padding: 40px 0 10px;
}

#product .bg-logo::before{
  opacity: .15;
  filter: invert(1);
}

#product [class*="btn-"]{
  border: 4px solid white;
}
#product [class*="btn-"]::after{
  right: 1em;
}
#product [class*="btn-"]:hover::after{
  right: .75em;
}


.c-yellow,
.btn-black.c-yellow{
  color: #FFEE00 !important;
}
.btn-black.c-yellow::after{
  background-image: linear-gradient(-135deg, transparent calc(50% - 1px), #FFEE00 calc(50% - 1px), #FFEE00 calc(50%), transparent calc(50%)),linear-gradient(-45deg, transparent calc(50%), #FFEE00 calc(50%), #FFEE00 calc(50% + 1px), transparent calc(50% + 1px)) !important;
}



@media (max-width: 768px){
  [tab-center]{
    text-align: center;
    margin-right: auto;
    margin-left: auto;
  }
  .main-contents figure[tab-center] img{
    margin-right: auto;
    margin-left: auto;
  }
  .main-contents [flex]> .tab-order-1{order: 1;}
  .main-contents [flex]> .tab-order-2{order: 2;}
  .main-contents [flex]> .tab-order-3{order: 3;}
}
