@charset "UTF-8";
/* CSS Document */

html,
body{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* ❎TOP動画エリア */

.hero{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #000;
}

.bg-video{
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100vw;
    height: 100vh;

    transform: translate(-50%, -50%) scale(1.15);
    object-fit: cover;

    z-index: 0;
}

.hero-loop-fade{
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.hero::after{
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.6) 0%,
            rgba(0,0,0,0.38) 42%,
            rgba(0,0,0,0.25) 100%
        );

    z-index: 1;
}

.hero-content{
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100vh;

    margin: 0 auto;
    padding: 0 60px;
    padding-left: 10%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: #fff;
    text-align: left;
    box-sizing: border-box;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "HGS明朝E",
        "MS PMincho",
        serif;

    transition: opacity 0.1s linear, filter 0.1s linear, transform 0.1s linear;
	perspective:1500px;
}


.hero-content h1,
.hero-content p{
    transition:
        opacity .8s cubic-bezier(.22,1,.36,1),
        transform .8s cubic-bezier(.22,1,.36,1),
        filter .8s cubic-bezier(.22,1,.36,1);
}

.hero-content.changing h1,
.hero-content.changing p{
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(4px);
}
.hero-content h1{
    margin: 0 0 30px;

    font-size: clamp(3.2rem, 5vw, 5rem);
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.08em;

    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-content p{
    margin: 0;

    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 2;
    font-weight: 400;

    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}




/* 共通 */
.intro-section,
.reason-section,
.factory-section,
.data-section{
    padding: 90px 0;
}

.intro-section .inner,
.reason-section .inner,
.factory-section .inner,
.data-section .inner{
    width: 80%;
    max-width: 1180px;
    margin: 0 auto;
}

.section-subtitle{
    margin: 0 0 14px;
    color: #007bff;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: .18em;
}

.intro-section h1,
.reason-section h1,
.factory-section h1{
    margin: 0 0 28px;
    font-size: 3.6rem;
    line-height: 1.5;
}

.intro-section p,
.factory-section p,
.reason-card p{
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
}

/* イントロ */
.intro-section{
    background: #fff;
    text-align: center;
}

.intro-section > .inner > p:last-child{
    margin: 0;
}

/* ❎選ばれる理由 */
.reason-section{
    position: relative;
    overflow: hidden;
    background: url("../img/index-img/DSC00313.jpg") center center / cover no-repeat;
}

/* 青黒いフィルター */
.reason-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 20, 45, 0.86) 0%,
        rgba(0, 74, 140, 0.68) 48%,
        rgba(0, 0, 0, 0.78) 100%
    );
    z-index: 0;
}

.reason-section .inner{
    position: relative;
    z-index: 1;
}

.reason-section .section-subtitle,
.reason-section h1{
    color: #fff;
}

.reason-section h1{
    text-align: center;
}

.reason-section .section-subtitle{
    text-align: center;
}

.reason-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.reason-card{
    background: rgba(255,255,255,0.92);
    padding: 38px 30px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
}

.reason-card span{
    display: block;
    margin-bottom: 16px;
    color: #007bff;
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1;
}

.reason-card h2{
    margin: 0 0 18px;
    font-size: 2.2rem;
    line-height: 1.5;
}

.reason-card p{
    margin: 0;
}

/* ❎工場品質 */
.factory-section{
    background: #fff;
	
}

.factory-box{
    background: #f5f7fa;
    padding: 60px;
    border-radius: 10px;
    box-sizing: border-box;
}

.factory-text{
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.factory-text p:last-child{
    margin: 0;
}

/* 実績データ */
.data-section{
    background: #007bff;
    padding: 60px 0;
}

.data-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.data-card{
    background: #fff;
    padding: 34px 20px;
    text-align: center;
    border-radius: 8px;
}

.data-card span{
    display: block;
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: #555;
    font-weight: bold;
}

.data-card strong{
    display: block;
    font-size: 3rem;
    line-height: 1.4;
    color: #007bff;
}

/* タブレット */
@media screen and (max-width: 1024px){
    .reason-list,
    .data-list{
        grid-template-columns: 1fr;
    }

    .factory-box{
        padding: 45px 35px;
    }
}

/* スマホ */
@media screen and (max-width: 767px){
    .intro-section,
    .reason-section,
    .factory-section,
    .data-section{
        padding: 65px 0;
    }

    .intro-section .inner,
    .reason-section .inner,
    .factory-section .inner,
    .data-section .inner{
        width: 88%;
    }

    .intro-section h1,
    .reason-section h1,
    .factory-section h1{
        font-size: 2.8rem;
    }

    .intro-section p,
    .factory-section p,
    .reason-card p{
        font-size: 1.5rem;
    }

    .reason-card{
        padding: 30px 24px;
    }

    .factory-box{
        padding: 35px 24px;
    }

    .data-card strong{
        font-size: 2.6rem;
    }
}
/*❎商品一覧*/
.inner{
  width: min(1400px, 92%);
  margin: 0 auto;
}

.product-section{
  background: #fff;
	padding: 150px 0;
}

.product-section h1{
  font-size: 3.8rem;
  line-height: 1.5;
  margin: 0 0 55px;
	
}

.product-category{
  margin-top: 0;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 600px));
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: stretch;
}

.product-card{
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 600px;
}
/*カード動き*/
/* スクロール表示前 */
.product-card{
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示時 */
.product-card.show{
  opacity: 1;
  transform: translateY(0);
}
/*カード動きここまで*/

.product-card img{
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: #ddd;
  border-bottom: 1px solid #ddd;
}

.product-body{
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3{
  font-size: 2rem;
  line-height: 1.5;
  margin: 0 0 28px;
  text-align: center;
}

.product-spec,
.product-variants{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  margin: 0 0 16px;
}

.product-spec th,
.product-spec td,
.product-variants th,
.product-variants td{
  border: none;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 12px;
  font-size: 1.3rem;
  line-height: 1.5;
  vertical-align: middle;
}

.product-spec tr:first-child th,
.product-spec tr:first-child td,
.product-variants tr:first-child th,
.product-variants tr:first-child td{
  border-top: 1px solid #e5e5e5;
}

.product-spec th,
.product-variants th{
  border-left: 1px solid #e5e5e5;
  background: #f5f7fa;
  color: #555;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

.product-spec th{
  width: 110px;
}

.product-spec td,
.product-variants td{
  color: #333;
  font-weight: 600;
}

.product-btn{
  display: block;
  padding: 13px 20px;
  margin-top: auto;
  background: #007bff;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: .3s;
}

.product-btn:hover{
  background: #0056b3;
}

@media screen and (max-width: 1024px){
  .product-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px){
  .inner{
    width: 90%;
  }

  .product-section h1{
    font-size: 3rem;
  }

  .product-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card img{
    height: 200px;
  }

  .product-body{
    padding: 24px 18px 26px;
  }

  .product-body h3{
    font-size: 1.8rem;
    margin-bottom: 22px;
  }

  .product-spec th{
    width: 96px;
  }

  .product-variants{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ========================================
お問い合わせ
======================================== */

.contact-section{
  background: #f5f7fa;
	padding: 150px 0;
	
}

.contact-section h1{
  font-size: 3.8rem;
  line-height: 1.5;
  margin: 0 0 25px;
	
}

.contact-section p{
  font-size: 1.7rem;
  line-height: 2;
  margin: 0;
}

.contact-buttons{
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 45px 0 0;
  flex-wrap: wrap;
}

.btn{
  display: inline-block;
  min-width: 260px;
  padding: 18px 35px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover{
  opacity: 0.85;
  transform: translateY(-3px);
}

.btn-email{
  background-color: #007bff;
}

.btn-phone{
  background-color: #28a745;
}

/* ========================================
タブレット
======================================== */

@media screen and (max-width: 1024px){

  .product-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
スマホ
======================================== */

@media screen and (max-width: 767px){

  .inner{
    width: 90%;
  }

  .product-section h1,
  .contact-section h1{
    font-size: 3rem;
  }

  .product-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card img{
    height: 200px;
  }

  .product-body{
    padding: 24px 18px 26px;
  }

  .product-body h3{
    font-size: 1.8rem;
    margin-bottom: 22px;
  }

  .product-spec th{
    width: 96px;
  }

  .btn{
    width: 100%;
    min-width: 0;
  }
}

/* ========================================
メモ帳本文サンプル
======================================== */

.memo-sample{
    margin-top:100px;
    padding:70px 50px;
    text-align:center;
    background:#f5f8fc;
    border-radius:18px;
    border:1px solid #e1e8f0;
    box-sizing:border-box;
}

.memo-sample-subtitle{
    margin:0 0 12px;
    color:#007bff;
    font-size:1.3rem;
    font-weight:bold;
    letter-spacing:.18em;
}

.memo-sample h2{
    font-size:3.2rem;
    line-height:1.5;
    margin:0 0 18px;
}

.memo-sample-lead{
    margin:0 auto 42px;
    max-width:720px;
    font-size:1.6rem;
    line-height:1.8;
    color:#555;
}

.memo-sample-list{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
    max-width:1120px;
    margin:0 auto;
    padding:0;
    list-style:none;
}

.memo-sample-item{
    background:#fff;
    border:1px solid #d9e1ea;
    border-radius:12px;
    padding:18px 18px 20px;
    box-sizing:border-box;
    box-shadow:0 8px 22px rgba(0,0,0,.04);
}

.sample-image-btn{
    display:block;
    width:100%;
    padding:0;
    border:none;
    background:none;
    cursor:pointer;
}

.sample-image-btn img{
    display:block;
    width:100%;
    height:230px;
    object-fit:contain;
    object-position:center;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    transition:.3s;
}

.sample-image-btn:hover img{
    opacity:.9;
    transform:scale(1.015);
}

.memo-sample-item p{
    margin:18px 0 0;
    font-size:1.6rem;
    line-height:1.5;
    font-weight:bold;
    color:#333;
}

/* 拡大モーダル */
.image-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    padding:70px 90px;
    box-sizing:border-box;
}

.image-modal.show{
    opacity:1;
    visibility:visible;
}

.modal-image-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
}

.image-modal img{
    display:block;
    max-width:90vw;
    max-height:78vh;
    object-fit:contain;
    border-radius:8px;
    background:#fff;
}

.image-modal-close{
    position:absolute;
    top:20px;
    right:24px;
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#333;
    font-size:3rem;
    line-height:1;
    cursor:pointer;
    z-index:10001;
}

.modal-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    color:#333;
    font-size:4.2rem;
    line-height:1;
    cursor:pointer;
    z-index:10001;
    transition:.2s;
}

.modal-arrow:hover{
    background:#fff;
    transform:translateY(-50%) scale(1.06);
}

.modal-prev{
    left:26px;
}

.modal-next{
    right:26px;
}

.modal-caption{
    position:absolute;
    left:50%;
    bottom:52px;
    transform:translateX(-50%);
    margin:0;
    padding:6px 18px;
    background:rgba(255,255,255,.92);
    border-radius:999px;
    color:#333;
    font-size:1.6rem;
    font-weight:bold;
    line-height:1.5;
}

.modal-counter{
    position:absolute;
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    margin:0;
    color:#fff;
    font-size:1.4rem;
    line-height:1.5;
    letter-spacing:.08em;
}

@media screen and (max-width: 1024px){
    .memo-sample{
        padding:55px 32px;
    }

    .memo-sample-list{
        grid-template-columns:repeat(2, 1fr);
    }

    .image-modal{
        padding:70px 72px;
    }
}

@media screen and (max-width: 767px){
    .memo-sample{
        margin-top:60px;
        padding:45px 18px;
        border-radius:12px;
    }

    .memo-sample h2{
        font-size:2.4rem;
        margin-bottom:14px;
    }

    .memo-sample-lead{
        font-size:1.5rem;
        margin-bottom:30px;
    }

    .memo-sample-list{
        grid-template-columns:1fr;
        gap:20px;
    }

    .memo-sample-item{
        padding:14px;
    }

    .sample-image-btn img{
        height:220px;
    }

    .memo-sample-item p{
        font-size:1.5rem;
    }

    .image-modal{
        padding:64px 16px 76px;
    }

    .image-modal img{
        max-width:94vw;
        max-height:72vh;
    }

    .image-modal-close{
        top:12px;
        right:12px;
        width:42px;
        height:42px;
    }

    .modal-arrow{
        width:44px;
        height:44px;
        font-size:3.4rem;
        background:rgba(255,255,255,.82);
    }

    .modal-prev{
        left:10px;
    }

    .modal-next{
        right:10px;
    }

    .modal-caption{
        bottom:46px;
        font-size:1.4rem;
    }

    .modal-counter{
        bottom:20px;
        font-size:1.3rem;
    }
}


