/*
Theme Name: GP Corporate Theme V7 + Document
Theme URI: https://example.com/
Author: GP
Description: V7構成をベースに、資料請求導線と3サービスの写真付き簡易紹介を追加したテーマ。
Version: 7.1
License: GPLv2 or later
Text Domain: gp-theme-v6
*/
:root{--navy:#082b55;--deep:#061933;--blue:#0b73d9;--sky:#eaf6ff;--sky2:#dff1ff;--orange:#ff7a00;--text:#0b1b33;--muted:#48617c;--white:#fff;--line:rgba(30,110,190,.16);--shadow:0 22px 55px rgba(6,45,88,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Arial,sans-serif;color:var(--text);line-height:1.8;background:linear-gradient(180deg,#f1f9ff 0%,#fff 36%,#eaf6ff 100%)}a{transition:.25s}.gp-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(8,43,85,.08);box-shadow:0 8px 26px rgba(8,43,85,.08)}.gp-header-inner{max-width:1280px;margin:auto;padding:15px 6%;display:flex;justify-content:space-between;align-items:center;gap:26px}.gp-brand{display:flex;align-items:center;gap:14px;text-decoration:none}.custom-logo-link{line-height:0}.gp-logo,.custom-logo{width:var(--gp-logo-width,180px)!important;max-width:var(--gp-logo-width,180px)!important;height:auto!important;max-height:none!important;object-fit:contain}.gp-logo-placeholder{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#fff,#f3fbff);display:grid;place-items:center;color:var(--orange);font-weight:900;font-size:25px;box-shadow:0 10px 24px rgba(8,43,85,.12)}.gp-brand-text{display:block}.gp-name{font-size:30px;font-weight:900;line-height:1.1;color:#07172e;letter-spacing:.02em}.gp-sub{font-size:11px;font-weight:800;color:#6b7f96;letter-spacing:.22em;margin-top:5px}.gp-nav{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:900}.gp-nav a{color:#07172e;text-decoration:none;white-space:nowrap}.gp-nav a:hover{color:var(--orange)}.gp-contact-btn{background:linear-gradient(135deg,#ff8a18,#ff6b00);color:#fff!important;padding:12px 26px;border-radius:999px;box-shadow:0 12px 28px rgba(255,122,0,.28)}.gp-hero{position:relative;min-height:760px;padding:150px 6% 120px;background-size:cover;background-position:center right;color:var(--navy);overflow:hidden}.gp-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(237,248,255,.98) 0%,rgba(237,248,255,.82) 32%,rgba(237,248,255,.28) 55%,rgba(237,248,255,.04) 100%)}.gp-hero:after{content:"";position:absolute;left:-10%;right:-10%;bottom:-80px;height:160px;background:#fff;border-radius:50% 50% 0 0/100% 100% 0 0}.gp-hero-inner{position:relative;z-index:2;max-width:1280px;margin:auto}.gp-badge{display:inline-block;background:linear-gradient(135deg,#ff8a18,#ff6b00);color:#fff;padding:9px 19px;border-radius:999px;font-size:14px;font-weight:900;letter-spacing:.08em;margin-bottom:26px;box-shadow:0 12px 28px rgba(255,122,0,.24)}.gp-hero h1{font-size:clamp(38px,5vw,70px);line-height:1.22;margin:0 0 28px;font-weight:900;letter-spacing:.01em;color:var(--navy);text-shadow:0 2px 0 rgba(255,255,255,.22)}.gp-hero p{font-size:clamp(16px,1.7vw,20px);max-width:650px;margin:0 0 42px;color:#153d67;font-weight:800;line-height:2}.gp-buttons{display:flex;gap:18px;flex-wrap:wrap}.gp-btn{display:inline-flex;align-items:center;gap:10px;padding:16px 34px;border-radius:999px;text-decoration:none;font-weight:900;border:0;cursor:pointer}.gp-btn:hover{transform:translateY(-3px)}.gp-btn-orange{background:linear-gradient(135deg,#ff8a18,#ff6b00);color:#fff;box-shadow:0 16px 34px rgba(255,122,0,.32)}.gp-btn-white{background:#fff;color:var(--navy);box-shadow:0 14px 32px rgba(8,43,85,.12)}.gp-section{position:relative;padding:105px 6%;overflow:hidden}.gp-blue{background:linear-gradient(180deg,#f1f9ff 0%,#e7f5ff 100%)}.gp-light{background:#fff}.gp-network{background:linear-gradient(180deg,#f1f9ff,#fff)}.gp-network:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 18%,rgba(22,132,236,.12),transparent 26%),radial-gradient(circle at 88% 22%,rgba(22,132,236,.11),transparent 28%);pointer-events:none}.gp-container{position:relative;z-index:2;max-width:1200px;margin:auto}.gp-narrow{max-width:1000px}.gp-label{color:#1275d8;font-weight:900;letter-spacing:.12em;margin:0 0 12px;text-transform:uppercase}.gp-center{text-align:center}.gp-title{font-size:clamp(30px,4vw,46px);font-weight:900;color:var(--navy);line-height:1.35;margin:0 0 22px}.gp-title:after{content:"";display:block;width:46px;height:4px;background:var(--orange);border-radius:999px;margin-top:16px}.gp-center .gp-title:after{margin-left:auto;margin-right:auto}.gp-lead{font-size:18px;color:var(--muted);line-height:2;max-width:820px}.gp-lead-center{margin:0 auto 62px;text-align:center}.gp-grid{display:grid;gap:28px}.gp-grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:center}.gp-grid-3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.gp-grid-4{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}.gp-card{background:rgba(255,255,255,.78);padding:36px;border-radius:28px;box-shadow:var(--shadow);border:1px solid rgba(18,117,216,.13);transition:.3s;backdrop-filter:blur(10px)}.gp-card:hover{transform:translateY(-7px);box-shadow:0 28px 70px rgba(6,45,88,.2)}.gp-card h3{color:var(--navy);font-size:23px;margin:0 0 13px}.gp-card p{color:var(--muted);margin:0}.gp-card-orange{border-top:5px solid var(--orange)}.gp-card-left{border-left:6px solid var(--orange)}.gp-icon{width:72px;height:72px;border-radius:22px;background:linear-gradient(135deg,#e6f5ff,#fff);display:grid;place-items:center;color:#1275d8;font-size:34px;margin-bottom:18px;box-shadow:inset 0 0 0 1px rgba(18,117,216,.14)}.gp-about-img{min-height:300px;border-radius:30px;background:linear-gradient(135deg,rgba(18,117,216,.12),rgba(255,255,255,.75)),url('images/about-city.jpg');background-size:cover;background-position:center;box-shadow:var(--shadow);border:1px solid rgba(18,117,216,.13)}.gp-flow-num{font-size:38px;font-weight:900;color:var(--orange);line-height:1}.gp-cta{padding:80px 6%;background:linear-gradient(135deg,rgba(8,43,85,.96),rgba(13,113,205,.88)),url('images/hero.png');background-size:cover;background-position:center;color:#fff;text-align:center}.gp-cta h2{font-size:clamp(28px,4vw,42px);font-weight:900;margin:0 0 28px}.gp-contact{padding:105px 6%;background:linear-gradient(180deg,#eaf6ff,#fff)}.gp-contact-box{display:grid;grid-template-columns:1fr 1.1fr;gap:36px;align-items:start}.gp-contact-info{background:linear-gradient(135deg,#082b55,#0e6ec4);color:#fff;border-radius:30px;padding:42px;box-shadow:var(--shadow)}.gp-contact-info p{color:#dff1ff}.gp-form-wrap,.gp-form-placeholder{background:rgba(255,255,255,.86);padding:38px;border-radius:30px;box-shadow:var(--shadow);border:1px solid rgba(18,117,216,.13);backdrop-filter:blur(10px)}.gp-form-placeholder{text-align:center;color:var(--muted)}.gp-form-wrap label{display:block;font-weight:900;color:var(--navy);margin:0 0 16px}.gp-form-wrap input[type=text],.gp-form-wrap input[type=email],.gp-form-wrap input[type=tel],.gp-form-wrap textarea{width:100%;padding:14px 16px;border:1px solid #cfe4f6;border-radius:16px;font-size:16px;margin-top:8px;background:#f7fcff}.gp-form-wrap textarea{min-height:160px}.gp-form-wrap input[type=submit]{background:linear-gradient(135deg,#ff8a18,#ff6b00);color:#fff;padding:16px 38px;border-radius:999px;border:0;font-size:17px;font-weight:900;cursor:pointer;box-shadow:0 14px 30px rgba(255,122,0,.25)}.gp-company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:58px;align-items:center}.gp-company-table{width:100%;border-collapse:collapse;color:#334155;background:rgba(255,255,255,.72);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.gp-company-table td{padding:16px;border-bottom:1px solid #e5f1fb;vertical-align:top}.gp-company-table td:first-child{width:160px;font-weight:900;color:var(--navy)}.gp-map{width:100%;height:430px;border:0;border-radius:28px;box-shadow:var(--shadow)}.gp-footer{background:#061933;color:#c9d9e8;padding:60px 6% 32px}.gp-footer-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:48px}.gp-footer h3{color:#fff;margin-top:0}.gp-footer a{color:#c9d9e8;text-decoration:none}.gp-footer .custom-logo{max-width:160px!important;width:160px!important}.gp-footer hr{margin:42px 0 24px;border:none;border-top:1px solid rgba(255,255,255,.15)}.gp-copy{text-align:center;font-size:14px;margin:0;color:#9fb5cc}.gp-fade{opacity:0;transform:translateY(20px);transition:.7s}.gp-fade.is-visible{opacity:1;transform:none}@media(max-width:980px){.gp-header-inner{flex-direction:column;align-items:flex-start}.gp-nav{width:100%;gap:14px;flex-wrap:wrap;font-size:14px}.gp-hero{min-height:auto;padding:105px 6% 115px;background-position:center right}.gp-hero:before{background:linear-gradient(90deg,rgba(237,248,255,.98) 0%,rgba(237,248,255,.88) 60%,rgba(237,248,255,.5) 100%)}.gp-contact-box{grid-template-columns:1fr}.gp-logo,.custom-logo{width:calc(var(--gp-logo-width,180px) * .82)!important;max-width:calc(var(--gp-logo-width,180px) * .82)!important}.gp-name{font-size:24px}.gp-sub{font-size:10px}}@media(max-width:560px){.gp-nav{display:grid;grid-template-columns:1fr 1fr}.gp-contact-btn{text-align:center}.gp-hero{padding:86px 6% 96px;background-position:62% center}.gp-hero h1{font-size:34px}.gp-section{padding:78px 6%}.gp-card,.gp-form-wrap,.gp-contact-info{padding:26px}.gp-company-table td{display:block;width:100%;padding:12px 16px}.gp-company-table td:first-child{border-bottom:none;padding-bottom:0}.gp-logo,.custom-logo{width:calc(var(--gp-logo-width,180px) * .72)!important;max-width:calc(var(--gp-logo-width,180px) * .72)!important}}


/* =========================
   Version 4: Mobile Header / Hamburger Menu
========================= */
.gp-menu-toggle{display:none;border:0;background:#fff;width:46px;height:46px;border-radius:14px;box-shadow:0 10px 24px rgba(8,43,85,.12);align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;margin-left:auto}
.gp-menu-toggle span{display:block;width:22px;height:2px;background:#082b55;border-radius:999px;transition:.25s}
.gp-header.is-open .gp-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.gp-header.is-open .gp-menu-toggle span:nth-child(2){opacity:0}
.gp-header.is-open .gp-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.gp-header.is-scrolled{box-shadow:0 10px 30px rgba(8,43,85,.12)}

@media(max-width:980px){
  .gp-header{position:sticky!important;top:0!important;z-index:9999!important;background:rgba(255,255,255,.98)!important}
  .gp-header-inner{position:relative;flex-direction:row!important;align-items:center!important;padding:10px 5%!important;gap:12px!important;min-height:72px}
  .gp-brand{gap:10px;min-width:0;flex:1}
  .gp-brand .custom-logo{width:min(calc(var(--gp-logo-width,180px) * .55),120px)!important;max-width:min(calc(var(--gp-logo-width,180px) * .55),120px)!important;height:auto!important}
  .gp-brand-text{min-width:0}
  .gp-name{font-size:22px!important;white-space:nowrap;line-height:1.05}
  .gp-sub{font-size:9px!important;letter-spacing:.12em!important;white-space:normal;line-height:1.35;max-width:220px}
  .gp-menu-toggle{display:flex}
  .gp-nav{display:none!important;position:absolute;left:5%;right:5%;top:calc(100% + 8px);width:auto!important;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border:1px solid rgba(8,43,85,.08);box-shadow:0 18px 45px rgba(8,43,85,.16);border-radius:22px;padding:16px;grid-template-columns:1fr!important;gap:6px!important;z-index:10000}
  .gp-header.is-open .gp-nav{display:grid!important}
  .gp-nav a{display:block;padding:12px 14px;border-radius:14px;font-size:15px}
  .gp-nav a:hover{background:#f1f9ff}
  .gp-contact-btn{text-align:center;margin-top:6px;padding:14px 18px!important}
  body.gp-menu-open{overflow:hidden}
}

@media(max-width:560px){
  .gp-header-inner{padding:9px 5%!important;min-height:68px}
  .gp-brand .custom-logo{width:min(calc(var(--gp-logo-width,180px) * .48),96px)!important;max-width:min(calc(var(--gp-logo-width,180px) * .48),96px)!important}
  .gp-name{font-size:20px!important}
  .gp-sub{font-size:8.5px!important;max-width:180px}
  .gp-hero{padding-top:78px!important;background-position:68% center!important}
  .gp-badge{font-size:12px;padding:8px 14px}
}


/* =========================
   Version 6: Service Logo Images
========================= */
.gp-service-logo{
  width:96px;
  height:96px;
  border-radius:24px;
  background:linear-gradient(135deg,#e6f5ff,#fff);
  display:grid;
  place-items:center;
  margin-bottom:18px;
  box-shadow:inset 0 0 0 1px rgba(18,117,216,.14), 0 12px 28px rgba(6,45,88,.10);
  overflow:hidden;
}
.gp-service-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
}
.gp-service-logo .gp-icon{
  width:auto;
  height:auto;
  margin:0;
  background:transparent;
  box-shadow:none;
}
@media(max-width:560px){
  .gp-service-logo{width:82px;height:82px;border-radius:22px;}
}

/* =========================
   V7 Based: Service Photo Intro + Document Request
========================= */
.gp-btn-outline{
  background:rgba(255,255,255,.82);
  color:var(--navy);
  border:1px solid rgba(8,43,85,.12);
  box-shadow:0 12px 28px rgba(8,43,85,.10);
}
.gp-product-list{display:grid;gap:34px;margin-top:64px}
.gp-product-item{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(18,117,216,.14);
  border-radius:34px;
  padding:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
  backdrop-filter:blur(10px);
}
.gp-product-item:nth-child(even){grid-template-columns:.95fr 1.05fr}
.gp-product-item:nth-child(even) .gp-product-image{order:2}
.gp-product-image{border-radius:26px;overflow:hidden;box-shadow:0 18px 45px rgba(6,45,88,.15);background:#eaf6ff;border:1px solid rgba(18,117,216,.13)}
.gp-product-image img{display:block;width:100%;height:330px;object-fit:cover;object-position:center top;transition:.35s}
.gp-product-item:hover .gp-product-image img{transform:scale(1.03)}
.gp-product-body{padding:12px 14px}
.gp-product-kicker{display:inline-block;margin:0 0 12px;padding:6px 14px;border-radius:999px;background:#eaf6ff;color:#0b73d9;font-weight:900;font-size:13px;letter-spacing:.04em}
.gp-product-body h3{font-size:clamp(28px,3vw,42px);line-height:1.25;color:var(--navy);margin:0 0 16px;font-weight:900}
.gp-product-body p{color:var(--muted);font-weight:700;line-height:1.95;margin:0 0 18px}
.gp-product-body ul{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:0;margin:0 0 22px;list-style:none}
.gp-product-body li{position:relative;padding-left:24px;color:#153d67;font-weight:900}
.gp-product-body li:before{content:'✓';position:absolute;left:0;top:0;color:var(--orange);font-weight:900}
.gp-text-link{color:var(--orange);font-weight:900;text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:3px}
.gp-document{background:linear-gradient(135deg,#eaf6ff 0%,#fff 54%,#dff1ff 100%)}
.gp-document-box{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:36px;
  align-items:center;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(18,117,216,.13);
  border-radius:36px;
  padding:44px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}
.gp-doc-points{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.gp-doc-points span{background:#fff;color:var(--navy);font-weight:900;padding:10px 16px;border-radius:999px;border:1px solid rgba(18,117,216,.13);box-shadow:0 8px 20px rgba(6,45,88,.08)}
.gp-document-card{background:linear-gradient(135deg,#082b55,#0e6ec4);color:#fff;border-radius:30px;padding:36px;box-shadow:0 22px 55px rgba(6,45,88,.18)}
.gp-document-card h3{font-size:26px;margin:0 0 12px;color:#fff}
.gp-document-card p{color:#dff1ff;margin:0 0 26px;font-weight:700;line-height:1.9}
@media(max-width:980px){
  .gp-product-item,.gp-product-item:nth-child(even){grid-template-columns:1fr}
  .gp-product-item:nth-child(even) .gp-product-image{order:initial}
  .gp-product-image img{height:280px}
  .gp-document-box{grid-template-columns:1fr;padding:32px}
}
@media(max-width:560px){
  .gp-product-item{padding:18px;border-radius:28px}
  .gp-product-image img{height:220px}
  .gp-product-body ul{grid-template-columns:1fr}
  .gp-document-box{padding:24px;border-radius:28px}
}

/* =========================
   Smartphone image full-display fix
   サービス写真をスマホで切れずに全体表示
========================= */
@media (max-width: 768px){
  .gp-product-image{
    background:#f4fbff !important;
    padding:10px !important;
    border-radius:24px !important;
  }
  .gp-product-image img{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:none !important;
    border-radius:18px !important;
  }
  .gp-product-item:hover .gp-product-image img{
    transform:none !important;
  }
}
