/* hidden */
#review, #corporate,
#TR001,#TR002,#TR003,#TR004,#TR005,#TR006,#TR007,#TR008,#TR009,#TR0010,#TR0011{
  display: none;
}
/* decorators */
.black{
  background: #ffffff;
  width: 100vw;
  padding: 0 calc((100vw - 1024px) / 2);
  color: #000000;
}
main > div:not(.black){
  max-width: var(--width);
  margin: 0 auto;
}
#TR001,#TR002,#TR003,#TR004,#TR005,#TR006,#TR007,#TR008,#TR009,#TR0010,#TR0011{
  transform: scaleY(1.05);
  z-index: -1;
}
#TR0001{
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 0;
}
#TR0001 > img{
  inset: 0 0;
}
#TR0001 > h4{
  position: absolute;
  font-size: 64px;
  text-align: center;
}

/* basic decorators */
.dec,
.fact > h3,
.fact > h4{
  font-family: "Noto Serif Display", serif;
}
h1{
  font-size: 64px;
}
h2{
  font-size: 34px;
}
h3{
  font-size: 34px;
}
h4{
  font-size: 24px;
}
h5{
  font-size: 19px;
}

@media (max-width: 100vh){
  span,
  h1,h2,h3,h4,h5{
    text-align: center;
  }
}

/* facts */
.g001 .fact{
  width: max-content;
  max-width: 100vw;
  min-height: 250px;
  background: #f0f0f0;
  padding: 12px 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: clamp(18px, 10vw, 24px);
  scroll-snap-align: start;
  scroll-margin: 0 18px;
}
.g0004{
  width: max-content;
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 1vh, 24px);
  line-height: 1;
}
.g001{
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  padding: 12px 0;
  scroll-snap-type: x mandatory;
}
.g001 > .g{
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.g001 h3{
  font-size: clamp(34px, 3vw, 44px);
}
.g001 h4{
  font-size: clamp(24px, 2vw, 34px);
}
@media (max-height:100vw){
  .g001 .fact{
    min-width: calc(var(--width) / 2.3);
  }
}
@media (max-width:100vh){
  .g001 .fact{
    min-width: 100%;
  }
  .g001{
    padding: 12px 24px;
  }
}
/* characteristic */
#characteristic > .g{
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #ffffff;
  gap: 24px 18px;
  overflow-x: auto;
  max-width: 100vw;
}
#characteristic > .g > p{
  opacity: 0.5;
}
#characteristic > .g > table{
  background: #f0f0f0;
  font-size: 17px;
  border-collapse: collapse;
  height: min-content;
  border-radius: 12px;
}
#characteristic > .g > table tr td,
#characteristic > .g > table tr th{
  padding: 4px 16px;
}
#characteristic > .g > table tr th{
  padding: 16px 16px;
  text-align: left;
  font-size: 19px;
}
#characteristic > .g > table thead tr{
  background: #1112;
}
#characteristic > .g > table thead tr > th:first-of-type{
  border-radius: 12px 0 0 0;
}
#characteristic > .g > table thead tr > th:last-of-type{
  border-radius: 0 12px 0 0;
}
#characteristic > .g > table tr:not(:last-of-type) > td:first-of-type{
  background: #1111;
}
/* #characteristic > .g > table.o1 tr:not(:last-of-type) > td:last-of-type{
  display: none;
  background: #1111;
} */
#characteristic > .g > table tr:last-of-type > td{
  padding: 12px;
  opacity: 0.5;
}
#characteristic > .g > table td,
#characteristic > .g > table th{
  font-size: 17px;
}
#characteristic > .g > .g{
  grid-row: 1 / -1;
}
#characteristic > .g > .g > video{
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
#characteristic > .g > .g > h3{
  margin: 12px 0 16px 0;
}
@media (max-height:100vw){
  #characteristic > .g{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:100vh){
  #characteristic > .g{
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* history */
#history > .g002{
  display: grid;
  gap: 4px;
}
#history > a:hover{
  opacity: 0.5;
  cursor: pointer;
}
#history > a{
  transition: 0.7s;
  background: #f0f0f0;
  color: #000000;
  width: max-content;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 500;
  align-self: flex-end;
  justify-self: flex-end;
}
#history > .g002 .history:has(video) > button{
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.3;
  transition: 0.7s;
}
#history > .g002 .history, 
#history > .g002 .history img,
#history > .g002 .history video{
  aspect-ratio: 1/1 !important;
  width: 100%;
  object-fit: cover;
  position: relative;
  cursor: pointer;
  transition: 0.7s;
}
#history > .g002 .history:has(video) > button:hover{
  opacity: 0.7;
  cursor: pointer;
}
#history > .g002 .history > button{
  display: none;
}
@media (max-height:100vw){
  #history > .g002{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  #history > .g002 .history:has(video) > button{
    font-size: 100px;
    padding: 0 30px;
  }
  #history > .g002 .history:hover{
    box-shadow: 0 0 0 4px #0002;
  }
  #history > .g002 .history, 
  #history > .g002 .history img,
  #history > .g002 .history video{
    border-radius: 8px;
  }
}
@media (max-width:100vh){
  #history > .g002{
    grid-template-columns: 1fr 1fr 1fr;
  }
  #history > .g002 .history:has(video) > button{
    font-size: 50px;
    padding: 0 15px;
  }
}
/* advantage */
#advantage > .g003{
  display: grid;
  gap: 12px 24px;
  margin: 48px 0 12px 0;
}
#advantage > .g003 > .advantage{
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
}
#advantage > .g003 > .advantage > h3{
  margin: 24px 0 18px 0;
}
#advantage > .g003 > .advantage > img{
  height: 250px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
@media (max-height:100vw){
  #advantage > .g003{
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width:100vh){
  #advantage > .g003{
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  #advantage > .g003 > .advantage{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* target acrion */
#TA001{
  padding-top: 64px;
  padding-bottom: 32px;
  display: grid;
  gap: 12px 24px;
}
#TA001 > .g03{
  position: relative;
}
#TA001 > .g04 > h2{
  text-align: center;
  margin: 12px 0 24px 0;
}
#TA001 > .g04 > form{
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 19px;
}
#TA001 > .g04 > form label{
  width: 350px;
  max-width: 100vw;

}
#TA001 > .g04 > form input{
  width: 350px;
  max-width: 100vw;
  height: 44px;
  background: #f0f0f0;
  padding: 0 16px;
  border-radius: 18px;
}
#TA001 > .g04 > form button{
  background: #000000;
  color: #ffffff;
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
}
#TA001 > .g04 > form > span{
  opacity: 0.5;
}
#TA001 > .g04 > .g{
  width: 512px;
  padding: 24px 0;
  font-size: clamp(17px, 2vw, 24px);
  max-width: 100vw;
  margin: 0 0 0 auto;
}
#TA001 > .g04 > .g > ul{
  padding: 24px 0;
  list-style: decimal;
}
#TA001 > .g04 > .g > ul > li{
  list-style-position: inside;
  min-height: 34px;
  padding: 12px 24px;
  border-radius: 16px;
  background: #f0f0f0;
  margin: 12px 0 0 0;
}
#TA001 > .g03:after{
    content: "";
    position: absolute;
    background: magenta;
    width: 200px;
    aspect-ratio: 2/3;
    border-radius: 50%;
    right: 0;
    z-index: -1;
  }
  #TA001 > .g03:before{
    content: "";
    position: absolute;
    background: purple;
    width: 200px;
    aspect-ratio: 2/3;
    border-radius: 50%;
    left: 0;
    top: 50%;
    z-index: -2;
  }
@media (max-height:100vw) or (min-width: 512px){
  #TA001{
    grid-template-columns: 30% 70%;
  }
  #TA001 > .g03:after{
    animation: pulse1 10s ease-in infinite;
  }
  #TA001 > .g03:before{
    animation: pulse2 8s ease-in infinite;
  }
  #TA001 > .g04{
    padding: 12px 34px;
  }
}
@media (max-width:100vh){
  #TA001{
    grid-template-columns: 1fr;
  }
  #TA001 > .g04 > form > span,
  #TA001 > .g04 > .g{
    padding: 12px 24px;
  }
}
@keyframes pulse1 {
  0%{
    transform: rotate(-20deg) scale(1.4);
    filter: contrast(2) opacity(0.5);
  }
  25%{
    transform: rotate(5deg) scale(1.7);
  }
  50%{
    transform: rotate(30deg) scale(1.7);
  }
  75%{
    transform: rotate(-10deg) scale(1.4);
    filter: contrast(-1) opacity(1);
  }
  100%{
    transform: rotate(-20deg) scale(1.4);
    filter: contrast(2) opacity(0.5);
  }
}
@keyframes pulse2 {
  0%{
    transform: rotate(5deg) scale(1.4);
    filter: contrast(-1) opacity(1);
  }
  25%{
    transform: rotate(10deg) scale(1.7);
  }
  50%{
    transform: rotate(-5deg) scale(1.7);
  }
  75%{
    transform: rotate(-10deg) scale(1.4);
    filter: contrast(2) opacity(0.5);
  }
  100%{
    transform: rotate(5deg) scale(1.4);
    filter: contrast(-1) opacity(1);
  }
}

/* corporate */
#corporate{

}
#corporate > .g004{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  padding: 0 12px;
}
#corporate > .g004 > .corporate{
  display: grid;
  background: #f0f0f0;
  height: max-content;
  gap: 24px 18px;
  grid-template-columns: max-content 1fr;
  grid-template-rows: max-content 1fr;
  padding: 12px;
  border-radius: 16px;
}
#corporate > .g004 > .corporate > img{
  grid-row: 1 / -1;
  grid-column: 1 / 2;
  aspect-ratio: 1/1;
  height: 64px;
  border-radius: 12px;
}
#corporate > .g004 > .corporate > h4{
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  text-align: left;
}
@media (max-height:100vw){
  #corporate{
    display: grid;
    gap: 12px 24px;
    grid-template-columns: 70% 30%;
  }
  #corporate h2,
  #corporate span{
    grid-column: 1 / -1;
  }
  #corporate > .g004{
    grid-column: 1 / 2;
    grid-row: 3 / 4;

  }
  #corporate > .g005{
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  #corporate > .g005 > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width:100vh){
  #corporate > .g005 > img{
    aspect-ratio: 4/3;
    object-fit: cover;
  }
}
/* review */
#review > .g006{
  max-height: 500px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  padding: 0 12px;
}
#review > .g006 > .review{
  border-radius: 18px;
  background: #f0f0f0;
  color: #000000;
  margin-top: 12px;
  padding: 12px;
  scroll-snap-align: start;
}
#review > .g006 > .review > h4{
  padding: 0 0 8px 0;
}
#review > .g006 > .review > span{
  opacity: 0.5;
}
#review > .g006 > .review > span > span{
  padding: 0 12px 0 0;
}
#review > .g006 > .review > p{
  padding: 6px 0 0 0;
}
@media (max-height:100vw){
  #review{
    display: grid;
    grid-template-columns: 70% 30%;
  }
  #review > h2,
  #review > span{
    grid-column: 1 / -1;
  }
  #review > .g006{
    grid-column: 1 / 2;
    padding-right: 12px;

  }
  #review > .g006 > .review{
    border-radius: 18px;
  }
  #review > .g007{
    grid-column: 2 / 3;

  }
}
@media (max-width:100vh){}

/* contact */
#contact{
  display: grid;
  padding-bottom: 0;
}
#contact iframe{
  min-height: 350px;
  border: none;
  width: 100%;
  height: 100%;
}
#contact .g008 a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0f0f0;
  height: 44px;
  padding: 0 24px;
  margin: 4px 4px;
}
@media (max-height:100vw) {
  #contact{
    grid-template-columns: 40% 60%;
  }
  #contact .g008{
    grid-column: 1 / 2;
  }
  #contact iframe{
    grid-column: 2 / 3;
  }
}
@media (max-width:100vh){
  #contact{
    grid-template-columns: 1fr;
  }
}

/* contact */
#outro{
  display: grid;
}
#outro > span{
  display: flex;
  padding: 0 24px;
  align-items: center;
  justify-content: flex-start;
}
#outro > h2{
  margin: 24px 0;
}
#outro > p{
  padding: 12px 24px;
  font-size: 19px;
}
#outro > video{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-height:100vw) {
  #outro{
    grid-template-columns: 40% 60%;
  }
}
@media (max-width:100vh){
  #outro{
    grid-template-columns: 1fr;
  }
}

/* other */
#other > .g{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#other > .g > a{
  height: 44px;
  padding: 0 18px;
  background: #f0f0f0;
  color: #000000;
  border-radius: 18px;
  display: flex;
  align-items: center;
}

/* other */
footer{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 0;
}

/* information */
#information > .g009{
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;        
}
#information > .g009 > img{
  border-radius: 12px;
  object-fit: contain;
}
#information ul{
  list-style: decimal;
  list-style-position: inside;
}
#information ul > li{
  margin-top: 12px;
}
@media (max-height:100vw) {
  #information{
    display: grid;
    gap: 12px 24px;
    grid-template-columns: 40% 60%;
  }
  #information h2,
  #information span{
    grid-column: 1 / -1;
  }
  #information > .g009{
    width: 350px;
  }
}
@media (max-width:100vh){
  #information h2,
  #information span{
    padding: 12px 24px;
    display: flex;
  }
  #information > .g009{
    padding: 0 12px;
  }
  #information > ul{
    padding: 12px 24px 48px 24px;
  }
}

/* intro */
main > #intro > .g{
  font-size: 19px;
  padding: 12px 24px;
}
main > #intro > .g > span{
  opacity: 0.5;
  line-height: 1;
}
main > #intro > .g > p{
  padding: 24px 0 18px 0;
}
@media (max-width:100vh){
  main > #intro > .g > span{
    display: flex;
    justify-content: center;
  }
  #TR0001{
    aspect-ratio: 1/1;
  }
  #TR0001 > img{
    transform: rotate(45deg);
    inset: 0 0;
  }
  #TR0001 > h4{
    font-size: clamp(34px, 15vw, 44px);
  }
  h1{
    line-height: 1;
    font-size: 54px !important;
  }
}
@media (max-height:100vw) {
  main > #intro{
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 12px;
  }
  main > #intro > img{
    border-radius: 12px;
  }
}
main > #intro > .g{
  position: relative;
  padding-bottom: 64px;
}
main > #intro > .g > ul{
  opacity: 0.7;
  list-style: decimal;
}
main > #intro > .g > ul > li{
  margin: 12px 0 0 0;

}
main > #intro > .g > ul > li:last-of-type{
  list-style: none;
}
main > #intro > .g > ul > li:last-of-type::after{
  content: "";
  animation: continious 2s ease-in infinite;
}
@keyframes continious {
  0%{
    content: "";
  }
  25%{
    content: ".";
  }
  50%{
    content: "..";
  }
  75%{
    content: "...";
  }
  
}
main > #intro > .g > .s{
  max-width: calc(100% - 44px);
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
}
main > #intro > .g > .s > a.main{
  height: 100%;
  font-size: 19px;
  font-weight: 600;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  color: #000000;
  padding: 0 12px;
}
main > div.s{
  display: grid;
  grid-template-columns: max-content 1fr;
  padding-top: 64px;
  padding-bottom: 64px;
  gap: 12px 24px;
}
@media (max-height:100vw){
  main > div.s > h2{
    grid-column: 1 / 2;
  }
  main > div.s > span{
    opacity: 0.5;
    display: flex;
    align-items: center;
    grid-column: 2 / -1;
  }
  main > div.s > a,
  main > div.s > div{
    grid-column: 1 / -1;
  }
  main > div.s{
    grid-template-columns: max-content 1fr;
  }
}
@media (max-width:100vh){
  main > div.s > h2,
  main > div.s > span{
    margin: 0 12px;
    text-align: center;
  }
  main > div.s > span{
    opacity: 0.5;
  }
  main > div.s{
    grid-template-columns: 1fr;
  }
}

/* header */
header{
}
header > div{
  padding: 12px;
}

header > .g01{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header > .g01 > h2{
  font-size: 44px;
}
header > .g01 > .g{
  display: flex;
  align-items: center;
  gap: 12px;
}
header > .g01 > .g > a:not(.main){
  opacity: 0.5;
}
header > .g01 > .g > a{
  font-size: 24px;
  font-weight: 300;
}
header > .g01 > .g > a.main{
  background: #f0f0f0;
  color: #101010;
  padding: 0 16px;
  height: 44px;
  font-weight: 500;
  display: flex;
  align-items: center;
  border-radius: 12px;
}
header > nav{
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 12px;
  margin: 8px 12px 0 12px;
  border-radius: 16px;
  min-height: 44px;
  background: #f0f0f0;
  color: #101010;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
header > nav > a{
  font-size: 19px;
  scroll-snap-align: start;
  scroll-margin: 0 12px;
  white-space: nowrap;
}

/* essential */
html{
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.2;
  font-size: 17px;
}
#intro{
  padding-top: 24px;
}
main > div p{
  white-space: pre-line;
}
@media (max-height:100vw){
/* stylization of scrollbar */
::-webkit-scrollbar{
  width: 12px;
  height: 12px;
  background: #ffffff;
}
::-webkit-scrollbar-thumb{
  background: #111111;
  border-radius: 6px;
  border: 2px solid #111111;
}
}

/* additional */
@media (max-width:100vh) {
  body{
    padding-top: 44px;
    position: relative;
  }
  body > a {
    top: 0;
    width: 44px;
    height: 44px;
    position: absolute;
    margin: 8px 24px;
  }
  body > a.right {
    right: 0;
  }
  body > a.left {
    left: 0;
  }
  body > a > img {
  }
}