﻿@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
    position: relative;
}
section {
    position: relative;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease-out;
}

@media (max-width: 767px) {
  .fade-in {
    opacity: 1; /* スマホ向けに透明度を変更 */
    transform: translateY(0); /* スマホでのアニメーション効果を調整 */
  }
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    z-index: 100;
    padding: 10px 2.5em;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	    align-items: center;
}
nav .logo {
    font-size: 1.1rem;
    color: #cc0000;
    font-weight: bold;
}
nav .links a {
    margin-left: 16px;
    font-weight: 700;
    color: #3366FF;
}

.header-contact-btn {
  background-color: #0094ff;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
}

header {
    height: 87vh;
    background: url('../img/mainvisual.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(51, 102, 255, 0.4));
}
header h1 {
    font-size: 3rem;
    z-index: 1;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 6px rgba(220, 0, 0, 0.5);



}

header p {
    z-index: 1;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* 半分マーカー */
header h1 span.brand {
    /* ストライプマーカー */
    font-size: 3.2rem;
    background-image: repeating-linear-gradient(-45deg,
            #c00 0, #c00 8px,
            transparent 8px, transparent 16px);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 25%;

}

header .btn {
    z-index: 1;
    padding: 12px 24px;
    background: #fff;
    color: #FF6B6B;
    border-radius: 30px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: .3s;
}
header .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 107, 107, 0.2);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width .5s ease, height .5s ease;
}
header .btn:hover::after {
    width: 300px;
    height: 300px;
}
header .btn:hover {
    color: #fff;
    background: #FF6B6B;
}

.QRcode {
  position: fixed;
  top: 100px;
  right: 20px;
  max-width: 250px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  font-size: 0.9rem;
  z-index: 1000;
  /* アニメーション用 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* ← 非表示時はクリックを無効化 */
}

.QRcode p{
    color: #000;
    text-align: left;
    font-size: 1rem !important;
	    padding: 1em 0;
}


.QRcode.show {
  opacity: 1;
  transform: translateY(0);
  z-index:99;
      pointer-events: auto; /* ← 表示時は有効化 */
}

.QRcode-close {
  position: absolute;
  top: 5px;
  right: 8px;
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.about-overlay {
    position: absolute;
    bottom: 0;
    width: 86%;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    z-index: 2;
    padding: 8px 20px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}
.about-overlay h2 {
    color: #cc0000;
    font-size: 1.6rem;
    margin-bottom: 0.5em;
    border-bottom: 3px solid #cc0000;
    display: inline-block;
}
.about-overlay p {
    font-size: 1rem;
    line-height: 1.6;
	text-align: left;
  padding: 0.5em;
}
.wave {
    display: block;
    width: 100%;
    margin-top: -5px;
}
section#links {

    overflow: hidden;
    padding: 10px 20px;
    background: linear-gradient(135deg, #457B9D, #1D3557);
    /*background: linear-gradient(135deg, #444, #555);*/
    color: #fff;
}
section#links .container {
    max-width: 1100px;
    margin: auto;
    padding: 0;
}
section#links .cards {
 display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* カード間に余白 */
}
section#links .card {
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    font-size: 0.7rem;
    text-align: center;
    transition: transform 0.3s;
}
section#links .card img {
    width: 70%;
    object-fit: contain;
    border-radius: 4px;
}
section#links .card:hover {
    transform: scale(1.05);
}
section#links .card h3 {
    font-size: 1rem;
    margin-bottom: 0.2em;
}
section#links .card p {
    font-size: 0.8rem;
}
section h2 {
    font-size: 2rem;
    margin-bottom: 1em;
    position: relative;
    display: inline-block;
}
section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 4px;
    background: #FF6B6B;
    transition: width .5s ease;
}
section#tech h2::after {
    background: #fff;
}
section h2:hover::after {
    width: 100%;
}
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.cards .photo {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform .3s;
	cursor: pointer;
}
.cards .photo:hover {
    transform: translateY(-10px);
}

.cards .photo .image-wrapper {
  position: relative;
  display: inline-block;
}
.cards .photo .image-wrapper .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cards .photo:hover .play-icon {
  opacity: 1; /* ホバーで表示 */
}

.cards .photo img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 16px;
}

p.data {
  font-size: 1.3rem;
  padding: 0;
  margin: 0em 0 1em 0;
}


section#samples {
    background: linear-gradient(135deg, #E3E4F0, #ffffff);
    color: #333;
}

section#samples .Compatible_terminal{
padding: 1em;
  border: 1px solid #bfbfbf;
  margin: 2em 0 0 0;
    border-radius: 5px;
}
section#samples .Compatible_terminal h3{
font-size:1rem;
}

section#samples .Compatible_terminal ul{
padding: 0.5em 0 0 2em;
font-size:1rem;
}

section#samples .Compatible_terminal ul li{
}

section#samples .Compatible_terminal ul li.attention{
list-style: none;
color: #b00;
}
section#news {
    background: linear-gradient(135deg, #ffffff, #E3E4F0);
    color: #333;
}
section#news .news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
section#tech {
    background: linear-gradient(135deg, #457B9D, #1D3557);
    color: #fff;
}
section#news .news-list li {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    /*column*/
    align-items: flex-start;
    transition: transform .3s;
}
section#news .news-list li:hover {
    transform: scale(1.05);
}
section#news .news-list li div:first-child {
    font-weight: 700;
    margin-right: 1em;
}
section#tech dt {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1em;
	border-bottom: 1px solid; 
	text-indent: -2.1em;
    padding: 0 0 0.5em 2.1em;
}
section#tech dd {
 padding: 1em 2.5em;
}
.c-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 0.4s;
  font-weight: 700;
  width:50%;
  padding:1em;
      border-radius: 5px;
}
.c-button.--icon-arrow::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  aspect-ratio: 18/4;
  content: "";
  background: url("../img/icon_arrow_white_right.svg") center center/contain no-repeat;
  transition-duration: 0.4s;
}

.c-button.--icon-arrow.--large::after {
    right: 15px;
    width: 18px;}

.c-button.--dark-grad {
  color: #fff;
  background-color: #004895;
}
.c-button.--dark-grad:hover {
  background: linear-gradient(135deg, rgb(224 254 255) 0%, rgb(89 159 156) 44%, rgb(6 118 131) 100%);
}

footer {
       text-align: center;
    padding: 10px;
    background: #333;
    color: #fff;
    font-size: 0.7em;
}


.br-sp {
    display: none;
}


@media(min-width:768px) {
    #samples .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width:1024px) {
    #samples .cards {
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 768px) {

.header-contact-btn {
 display:block;
 width:90%;
margin: 0 auto;
}

header{
padding:1em 0 2em 0;
        height: auto;

}

header h1{
font-size: 2.5rem;
 word-break: keep-all; 
  white-space: normal;
}


header h1 span.brand {
    font-size: 2.3rem;
    padding:2em 0 0 0;
}

header .btn{
overflow: initial;
}

nav{
        position: static;
display:block;
padding: 10px 0;
   text-align: center;
}

nav .links{
}
nav .logo {
        line-height: 1;
        font-size: 1.2rem;
        padding: 0 0 1em 0;
	     
}

section#news .news-list li {

    display: block;
}

section h2 {
    font-size: 2rem;
    text-align:center;
    display: block;
}
  section#links .card {
    flex: 0 0 calc(50% - 10px); /* 幅を固定に */
    max-width: calc(50% - 10px); /* 最大幅も固定 */
    height: auto;
  }

  section#links {
    height: auto;
}
/*
.about-overlay {
    position: static; 
    bottom: 0;
    width: 100%;
	 padding: 10px;
	         margin: 0;
}*/

.about-overlay h2 {
    text-align:center;
	display: block;
}

.about-overlay.outside-header {
  position: static;
  width: 100%;
  padding: 10px;
  margin: 1em 0;
  box-shadow: none;
  }
section#samples .Compatible_terminal ul{
padding-left: 1em;
}

#QRcode{
display:none;
}

section#tech dd {
 padding: 1em ;
}
    .br-sp {
        display: block;
    }
  
  }




#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #A1D4C1;
    color: #fff;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    display: none;
    /* 初期は非表示 */
    transition: opacity 0.3s ease;
}
#back-to-top:hover {
    background: #0c6846;
}




/* お問合せボタン */
.contact-btn {
  display: inline-block;
  background-color: #A8DADC;
  color: #1D3557;
  padding: 1em;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  width: 50%;
  text-align: center;
}

.contact-btn:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white;
}