
/* =========================================================
   Hero(HOME)
========================================================= */

a{
    text-decoration:none;
	    color:#4b5563;
}

/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(15,32,58,.82) 0%,
      rgba(15,32,58,.65) 40%,
      rgba(15,32,58,.25) 100%
    ),
    url("../img/factory-hero.webp");

  background-size: cover;
  background-position: center center;

  z-index: -1;
}

.hero-inner {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-content {
    max-width: 720px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.hero-lead {
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,.92);
    margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-info{
    margin-top:18px;
    padding:18px 22px;
    max-width:480px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.2);
    border-radius:12px;
    color:#fff;
}

.hero-hours{
    margin:0 0 10px;
    font-weight:700;
    color:#fff;
}

.hero-info p:last-child{
    margin-bottom:0;
    font-size:.95rem;
    line-height:1.8;
    color:rgba(255,255,255,.9);
}

/* ==========================================
   BUTTON
========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 30px;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: .25s ease;
}

.btn-primary {
  background: #2f5f9e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(47,95,158,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #3b72bd;
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
}

.btn-outline:hover {
  background: rgba(255,255,255,.16);
}

/* ==========================================
   HERO NEWS
========================================== */
.hero-news-right{
    position:absolute;
    top:50%;
    right:20px;
    transform:translateY(-50%);
    width:340px;

    padding:0;
    overflow:hidden;

    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.4);
    border-radius:20px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.18);

    max-width:100%;
    box-sizing:border-box;

    transition:.3s ease;
}

/* 上部アクセントライン */
.hero-news-right::before{
    content:"";
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #38bdf8,
            transparent
        );

    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px rgba(56,189,248,.4);
}

.hero-news-right:hover{
    transform:translateY(-53%);
    box-shadow:
        0 35px 70px rgba(0,0,0,.24);
}

/* ヘッダー */
.hero-news-header{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;

    background:linear-gradient(
        135deg,
        #2f5f9e,
        #3b72bd
    );
}

.hero-news-header::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;

    width:100%;
    height:3px;

    background:linear-gradient(
        90deg,
        transparent,
        #38bdf8,
        transparent
    );

    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px rgba(56,189,248,.5);
}

.hero-news-header span{
    color:#fff;
    font-weight:700;
    letter-spacing:.2em;
}

.hero-news-header span::before{
    content:"";
    display:inline-block;

    width:8px;
    height:8px;

    margin-right:10px;
    border-radius:50%;

    background:#38bdf8;

    box-shadow:
        0 0 8px #38bdf8,
        0 0 16px rgba(56,189,248,.6);
}

.hero-news-header a{
    color:rgba(255,255,255,.9);
    font-size:.75rem;
}

.hero-news-header a:hover{
    color:#fff;
}

/* 本文 */
.hero-news-item{
    padding:18px 20px;
}

.hero-news-item + .hero-news-item{
    border-top:1px solid #edf1f5;
}

.hero-news-item time{
    display:inline-flex;
    align-items:center;

    margin-bottom:10px;
    padding:4px 10px;

    background:#eef5ff;
    border-radius:999px;

    font-size:.75rem;
    font-weight:600;
    color:#2f5f9e;
}

.hero-news-item a{
    display:block;

    color:#1e3554;
    font-weight:700;
    line-height:1.7;

    transition:.25s;
}

.hero-news-item a:hover{
    color:#2f5f9e;
}


/* ========================================
FEATURE
======================================== */

.feature-section{
    padding:80px 0;
    background:#f3f4f6;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.feature-card{
    position:relative;
    overflow:hidden;
    background:#ffffff;
    padding:0 20px 10px;
    border-radius:20px;
    border:1px solid
    rgba(56,189,248,.12);
    box-shadow:0 15px 40px rgba(0,0,0,.35);
    transition:.35s;
}

.feature-card::before{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:2px;

    background:
    linear-gradient(
        90deg,
        transparent,
        #38bdf8,
        transparent
    );

    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px rgba(
            56,
            189,
            248,
            .3
        );
}

.feature-card:hover{
    transform:none;/* translateY(-10px) */

    border-color:
    rgba(
        56,
        189,
        248,
        .45
    );

    box-shadow:
    0 20px 50px rgba(
        0,
        0,
        0,
        .45
    ),
    0 0 25px rgba(
        56,
        189,
        248,
        .22
    );
}

.feature-card h3{
	font-size: clamp(1.1rem, 1rem + 0.8vw, 1.4rem); /*font-size:24px;*/
	text-align: center;
    margin-bottom:15px;
    color:#111827;
}

.feature-card p{
    color:#4b5563;
}


/* =========================================================
   Products
========================================================= */
.section-products {
    background:#eef2f6;
    padding-top:20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card{
    position:relative;
    display:block;
    overflow:hidden;
    background:#fff;
    border-radius:20px;
    border:1px solid #dbe4ee;
    box-shadow:
        0 15px 40px rgba(0,0,0,.12);
    transition:.35s;
}

.product-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            #38bdf8,
            transparent
        );
    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px rgba(56,189,248,.4);
}

.product-card:hover{
    transform:translateY(-8px);
    border-color:rgba(56,189,248,.6);
    box-shadow:
        0 20px 50px rgba(0,0,0,.18),
        0 0 20px rgba(56,189,248,.15);
}


.product-card img{
    display:block;
    width:50%;
    aspect-ratio:4 / 3;
    object-fit:cover;
	margin:20px auto;
}

.product-card h3{
    font-size: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
    line-height: 1.4;
    min-height: 2.8em; /* 2行分確保 */
    /* display: flex; */
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color:#111827;
    margin:20px 20px 10px;
    letter-spacing:.03em;
    text-decoration:underline;
}

.product-card p{
    margin:0 20px 24px;
    max-width:none;
    display:flex;
    flex-direction:column;
    line-height:1.7;
}

/* =========================================================
   News
========================================================= */
.section-news {
    background:#eef2f6;
    padding:40px 0 80px;
}

.news-list{
    max-width:900px;
    margin:0 auto;
    background:#fff;
    border-top:2px solid #2f5f9e;
}

.news-item{
    display:flex;
    align-items:center;
    gap:32px;
    padding:18px 12px;
    border-bottom:1px solid #dbe4ee;
    transition:.25s ease;
}

.news-item:hover{
    background:#f8fbff;
}

.news-item time{
    flex-shrink:0;
    min-width:110px;
    font-size:.9rem;
    font-weight:600;
    color:#2f5f9e;
}

.news-item a{
    flex:1;
    color:#1f2937;
    font-weight:500;
    line-height:1.6;
    transition:.25s;
}

.news-item a:hover{
    color:#2f5f9e;
}

.news-item a::after{
    content:"→";
    float:right;
    color:#94a3b8;
}



.news-footer{
    max-width:900px;
    margin:20px auto 0;
    text-align:right;
}

.news-archive-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:.95rem;
    font-weight:600;
    color:#2f5f9e;
    transition:.25s;
}

.news-archive-link:hover{
    color:#3b72bd;
    transform:translateX(4px);
}





@media (max-width:768px){

    .news-item{
        flex-direction:column;
        align-items:flex-start;
        gap:6px;
        padding:14px 10px;
    }

    .news-item time{
        min-width:auto;
        font-size:.8rem;
    }

    .news-item a::after{
        display:none;
    }

}


@media (max-width:768px){

    .news-footer{
        text-align:center;
    }

}


/* =========================================================
   Contact
========================================================= */
.section-contact {
    background:#f6f8fb;
    padding:80px 0 80px;
}

.contact-inner {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    align-items:stretch;
}

.contact-card{
    background:#fff;
    padding:10px 40px 30px;
    border-radius:20px;
    border:1px solid #dbe4ee;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.contact-text p {
  color: var(--color-muted);
}

.contact-note{
    margin:24px 0;
    padding:20px 24px;
    background:#f8fafc;
    border-left:4px solid #38bdf8;
    border-radius:12px;
}

.business-hours{
    margin-bottom:12px;
    padding-bottom:12px;
    border-bottom:1px solid #e5e7eb;
    font-weight:700;
    color:#111827;
}

.contact-info{
    margin:24px 0;
}

.contact-info li{
    padding:6px 0;
}

.map-placeholder {
    height:100%;
    min-height:300px;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.contact-text h2{
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    line-height: 1.3;
}

/* =========================================================
   Downloads
========================================================= */
.section-downloads {
    background:#f6f8fb;
    padding:50px 0 80px;
}


.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.download-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-accent);
  letter-spacing: 0.03em;
}

.download-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 18px 36px rgba(47,95,158,0.25);
  background: var(--color-accent-soft);
}

.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h2{
    position:relative;
    display:inline-block;
    padding-bottom:18px;
    font-size:clamp(1.8rem,2.5vw,2.3rem);
}

.section-header h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:3px;
    border-radius:999px;
    background:#38bdf8;
    box-shadow:
        0 0 10px #38bdf8,
        0 0 25px rgba(56,189,248,.5);
}

.section-header p{
    max-width:760px;
    margin:0 auto;
}



@media (max-width:1024px){

    .hero-news-right{
        position: static;
        width: auto;
        max-width:none;
        margin-top:24px;
        transform: none;
        right: auto;
        top: auto;
        box-sizing: border-box;
    }

    .hero-news-right:hover{
        transform:none;
    }

    .contact-inner{
        grid-template-columns:1fr;
    }
	
	.feature-grid{
        grid-template-columns:repeat(2,1fr);
        gap:24px;
    }
	
}

@media (max-width:768px){

    .hero{
        min-height:auto;
    }

    .hero-inner{
        padding:0 20px 24px;
    }

    .hero-lead{
        margin-bottom:20px;
        line-height:1.7;
    }

    .hero-info{
        margin-top:40px;
    }

    .hero-content h1{
        margin-bottom:16px;
    }

    .section-header{
        margin-bottom:36px;
    }
	
	.contact-map{
		padding-top:40px;
	}
	
    .feature-section{
        padding:50px 0;
    }

    .feature-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .feature-card{
        padding:5px 20px;
    }

    .feature-card h3{
        margin-bottom:10px;
        font-size:1.15rem;
    }

    .feature-card p{
        margin:0;
        line-height:1.7;
        font-size:.95rem;
    }	
	
    .product-card{
        border-radius:16px;
    }

    .product-card img{
        width:100px;
        height:75px;
        margin:12px auto 8px;
    }

    .product-card h3{
        margin:8px 15px 5px;
        min-height:auto;
        font-size:.95rem;
        line-height:1.4;
    }

    .product-card p{
        margin:0 15px 15px;
        font-size:.85rem;
        line-height:1.5;
    }
	
}