@import url(reset.css);
@import url(common.css);

:root { 
    --color1: #00CCCC;
    --color2: #FF9900;
  }
  
  html {
    font-family: "Montserrat";
    scroll-behavior: smooth;
  }
  
  html,
  body {
    height: 100%;
  }
  
  html * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-size: 18px;
    background-image: url(src/bgp.jpg);
    background-size:cover;
    background-position: center;
    background-repeat:no-repeat;
    background-attachment: fixed;
  }

  a{display: inline-block;}
  
  img {
    width: 100%;
    height: auto;
  }


  /*--汎用コンテナ--*/
  .index-content {
    margin: 1rem 0 0 0;
  }
  
  .content-container {
    min-height: auto;
    position: relative;
    overflow: hidden;
    background-color: #f2f2f2;
    padding: 1rem 0;
  }
  @media (min-width: 768px) {
    .index-content {
      margin: 6rem 0 0 0;
    }
    .content-container {
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      background-color: #f2f2f2;
      padding: 4rem 0;
    }
  }
  h1.big-text {
    font-size: 20vw;
    margin: 0 0 6rem 0;
    color: #eee;
    transform: rotate(-5deg);
    transform-origin: center;
  }
  .big-text {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: #eee;
  }
  @media (min-width: 768px) {
    h1.big-text {
      font-size: 9vw;
      margin: 0 0 6rem 0;
      color: #eee;
      transform: rotate(-5deg);
      transform-origin: center;
    }
    .big-text {
      font-size: 2rem;
      font-weight: bold;
      margin: 0;
      color: #eee;
    }
  }
  @media (min-width: 1200px) {
    h1.big-text {
      font-size: 9vw;
      margin: 0 0 6rem 0;
      color: #eee;
      transform: rotate(-5deg);
      transform-origin: center;
    }
    .big-text {
      font-size: 3rem;
      font-weight: bold;
      margin: 0;
      color: #eee;
    }
  }
  
  .big-text-v {
    font-size: 4vh;
    margin: 0;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  h2{
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0;
  }
  @media (min-width: 768px) {
    h2{
      font-size: 2.5rem;
      text-align: center;
      margin: 4rem 0;
    }
  }

  h2.big-text {
    font-size: 5em;
    margin: 0;
    color: #eee;
    position: absolute;
    top: 64px;
    left: 32px;
  }
  h3{
    background-color: #ddd;
    font-size: 1.2rem;
    font-weight: normal;
    border-bottom: 3px var(--color1) solid;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
  }
  h4{
    font-size: 1.8rem;
    text-align: center;
  }
  
  .container {
    max-width: 768px;
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 1;
  }
  .container-inner {
    padding: 1rem 2rem;
    background-color: #ffffff;
  }
  @media (min-width: 768px) {
    .container {
        max-width: 1180px;
        width: 100%;
        margin: auto;
        position: relative;
        z-index: 1;
    }
    .container-inner {
      padding: 4rem 4rem;
    }
    
  }
  @media (min-width: 1200px) {
    .container {
      width: 1180px;
      margin: auto;
      position: relative;
      z-index: 1;
  }
  }
  
  .content-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #ddd;
    height: 128px;
    width: 100%;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
  }
  
  .content-panel:hover {
    background-color: #eee;
  }
  
  
  
  header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,.8);
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1);
  }

  /*--header nav--*/
  .header-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 48px;
    min-width: 128px;
  }

  a.header-logo {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    margin:0 0 0 .5rem;
  }
  @media (min-width: 768px) {
    .header-logo {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      height: 64px;
      min-width: 128px;
    }
    a.header-logo {
      text-decoration: none;
      color: #333;
      font-size: 1.2em;
      font-weight: bold;
      margin:0 0 0 .5rem;
    }
  }
  @media (min-width: 1200px) {
    a.header-logo {
      text-decoration: none;
      color: #333;
      font-size: 1.8em;
      font-weight: bold;
      margin:0;
    }
  }
  
  .header-logo img {
    display: inline-block;
    height: 100%;
    width: auto;
  }

  .header-menu.active{
    position: fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color: rgba(0,0,0,.8);
    cursor: pointer;
  }

  .menu-control {
    position: fixed;
    right: 0;
  }
  @media (min-width: 768px) {
    .menu-control {
        display: none;
      }
  }

  .header-menu-btn {
    height: 48px;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    color: #333;
  }
  

  .header-menu.active .menu-control #menu-open.header-menu-btn{
    display: none;
  }
  .header-menu.active .menu-control #menu-close.header-menu-btn{
    display: flex;
  }
  .header-menu .menu-control #menu-close.header-menu-btn{
    display: none;
  }
  
  

  header .header-menu nav {
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -256px;
    bottom: 0;
    width: 256px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  @media (min-width: 768px) {
    header .header-menu nav {
        background-color: transparent;
        position:unset;
        top: auto;
        right: auto;
        bottom: auto;
        width: unset;
        overflow-x: auto;
        overflow-y: auto;
      }
  }
  header .header-menu.active nav {
    right: 0;
  }


  header nav ul {
    list-style: none;
    margin: 48px 0 0 0;
    padding: 0;
    display: flex;
    height: unset;
    align-items: center;
    flex-direction: column;
  }

  header nav ul li {
      
    flex: 1 0 auto;
    height: auto;
    min-height: 48px;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  header nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 2em;
    text-decoration: none;
    font-weight: bold;
    color: #333;
  }

  @media (min-width: 768px) {
    .header-menu{
        display: flex;
        flex:1 1 auto; 
        align-items: center;
        justify-content: flex-end;
        position:unset;
        background-color: transparent;
    }

    header nav {
        height: 100%;
    }
    
    header nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      height: 100%;
      align-items: center;
      flex-direction: row;
    }
    
    header nav ul li {
    
      flex: 0 0 auto;
      height: 100%;
      width: unset;
    }
    
    header nav ul li a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 0 1em;
      text-decoration: none;
      font-weight: bold;
      color: #333;
      transition-duration: 0.2s;
    }
    
    header nav ul li a:hover {
      background-color: var(--color2);
      color: #fff;
      transition-duration: 0.2s;
    }
    
    header nav ul li a.active {
      background-color: var(--color1);
      color: #fff;
    }
    
    header.active nav ul li a {
      color: #fff;
    }
  }

  @media (min-width: 1200px){
    header nav ul li a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 0 2em;
      text-decoration: none;
      font-weight: bold;
      color: #333;
    }
  }


  .top-cover{
    background-color: rgba(0, 204, 204, .5); 
    min-height: 100vh;
  }
  @media (min-width: 768px) {
    .top-cover{
      background-color: rgba(0,0,0,.3); 
      min-height: 100vh;
    }
  }

  .about-item-wrapper {
    padding: 2rem 0;
  }

  .about-item,.about-item-r{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  @media (min-width: 768px) {
    .about-item-wrapper {
      padding: 4rem 0;
    }
    .about-item{
      display: flex;
      flex-direction: row-reverse;
      justify-content: center;
      align-items: center;
      gap: 4rem;
    }
    .about-item-r{
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 4rem;
    }
  }

  .about-content-inner{
    padding: 0 2rem;

  }

  table.table.about-table{
    border:1px #ddd solid;
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
  }

  table.table.about-table th,
  table.table.about-table td {
    padding: 1rem;
  }

  table.table.about-table th {
    width: 25%;
    font-size: 0.9rem;
    font-weight: normal;
    text-align: center;
    background-color: #f2f2f2;
    border-top:1px #ddd solid;
    border-right:1px #ddd solid;
    border-bottom:1px #ddd solid;
    border-left:1px #ddd solid;
  }

  table.table.about-table td {
    font-size: 0.9rem;
    text-align: left;
    border-top:1px #ddd solid;
    border-right:1px #ddd solid;
    border-bottom:1px #ddd solid;
    border-left:1px #ddd solid;
  }




/*--service--*/
  .service-item-wrapper{
    padding: 1rem 0;
  }
  .service-item{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  @media (min-width: 768px) {
   .service-item-wrapper{
     padding: 2rem 0;
   }
  .service-item{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
  }
 }
  

  /*top content*/
  .bgm {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さを100%に設定 */
    object-fit: cover; /* ビデオのアスペクト比を保持しつつ、画面いっぱいにフィットさせる */
    transform: translate(-50%, -50%); /* 中央に配置 */
  }

  /*--contact form--*/
  .input-title {
    margin: 0 0 .5em 0;
  }
  
  .input {
    padding: .5em 1em;
    border: 1px solid #ddd;
    background-color: #fff;
    width: 100%;
    margin: 0 0 2em 0;
  }
  
  .input:focus-visible {
    padding: .5em 1em;
    border: 1px solid #ddd;
    background-color: #fff;
    width: 100%;
  }
  
  .btn {
    border: none;
    color: #fff;
    background-color: var(--color1);
    border-radius: 0;
    padding: 1em 6em;
    cursor: pointer;
    text-decoration: none;
  }
  
  .btn:hover {
    background-color: var(--color2);
  }

  /*--contact--*/
  .contact-form{
    max-width: 768px;
    width: 100%;
    margin: auto;
    padding:32px;
    border: 1px solid #ddd;
    background-color: #fefefe;
  }

  @media (min-width: 768px) {
    .contact-form{
      max-width: 1180px;
    }
  }

  .contact-form form{
    width: 100%;
  }

  

  /*--footer--*/
  footer {
    font-size: 1.4rem;
    background-image: url(src/bgp.jpg);
    background-position: center;
    background-size: cover;
  }

  footer .container-inner{
    background-color: transparent;
  }

  footer .content-cover{
    background-color: rgba(0, 204, 204, .5);
    color: #fff;
  }

  .footer-headline{
    background-color: transparent;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: none;
    padding: 0;
    margin-bottom: 2rem;
  }

  .footer-content{
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #333!important;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }
  .footer-content a{
    text-decoration: none;
    color: #333!important;
  }

  .footer-copy{
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: #fff!important;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }
  

  /*--toTop--*/
  .toTop {
    height: 64px;
    width: 64px;
    position: fixed;
    right: 0;
    bottom: -64px;
    z-index: 1000;
  }
  .toTop-content{
    background-color: var(--color1);
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 1.5rem;
  }

  .privacy-content p,.privacy-content li,.privacy-content div,
  .law-content p,.law-content li,.law-content div{
    font-size: 0.9rem;
  }
  .privacy-content h3,.law-content h3 {
    margin: 3rem 0 1rem 0;
  }
  .privacy-content p,.law-content p{
    margin: 1rem 0;
  }


  .items-nav{
    display: none;
  }
  @media (min-width: 768px) {
    .items-nav{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      padding: 0 4rem;
    }
  }

  .items-nav-item {
    flex: 1 1 calc(25% - 1rem);
    display: flex;
    gap: 1rem;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    text-align: center;
    border-radius: 1000px;
    transition-duration: 0.2s;
  }
  .items-nav-item:hover {
    flex: 1 1 calc(25% - 1rem);
    display: flex;
    gap: 1rem;
    background-color: var(--color2);
    color: #333;
    text-decoration: none;
    text-align: center;
    border-radius: 1000px;
    transition-duration: 0.2s;
  }

  .items-nav-item-icon {
    height: 64px;
    width: 64px;
    border-radius: 100%;
    overflow: hidden;
    background-image: url(/src/ai.jpg);
    background-position: center;
    background-size: cover;
  }
  .items-nav-item-label {
    flex:1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
  }

  .items-content-container {
    margin: 2rem 0;
  }

  .items-content-container-inner{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .items-content-item {
    flex: 1 0 100%;
    background-color: #fff;
    border-radius: 2rem;
    overflow: hidden;
    font-size: 0.9rem;
  }
  @media (min-width: 768px) {
    .items-content-item {
      flex: 1 0 calc(50% - 1rem);
      background-color: #fff;
      border-radius: 2rem;
      overflow: hidden;
      font-size: 0.9rem;
      max-width: calc(50% - 1rem);
    }
  }

  .items-content-header {
    background-color: #333;
    color: #fff;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: none;
  }
  .items-content-header-headline {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 3rem 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  }
  .items-content-header-outline {
    background-color: rgba(0,0,0,0.5);
    
    padding: 1rem;
    text-align: center;
  }

  .items-content-body {
    padding: 2rem;
    color: #333;
    overflow: hidden;
  }

  .items-content-body hr{
    border-top: #bbb solid 1px;
    border-right:none;
    border-bottom:none;
    border-left:none;
    margin-bottom: 1rem;
  }


  .items-content-props-container {
    background-color: #ddd;
    padding: 2rem;
    border-radius: 2rem;
  }

  .items-content-props-headline {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0;
    text-align: center;
  }