@charset "UTF-8";

/* ==========================================================
   01. VARIABLES
========================================================== */
:root{
  --primary-color:#003399;
  --accent-color:#1976d2;
  --accent-light:#4da3ff;

  --bg-dark:#000;
  --bg-section:#111;
  --bg-deep:#0b0f1a;

  --white:#fff;
  --text-main:#e5e5e5;
  --text-muted:#bdbdbd;
  --text-light:#cfcfcf;

  --radius:18px;
  --transition:.35s ease;
}

/* ==========================================================
   02. BASE
========================================================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family: "Noto Sans JP", sans-serif;
  background:var(--bg-dark);
  color:var(--text-main);
  line-height:1.7;
}

/* 見出し */
h1,
h2,
h3,
.section-title{
    font-family: "Inter", "Noto Sans JP", sans-serif;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  width:100%;
  display:block;
}

/* ==========================================================
   03. LAYOUT
========================================================== */
.container{
  width:90%;
  max-width:1400px;
  margin:auto;
}

section{
  padding:110px 0;
}

/* ==========================================================
   04. HEADER
========================================================== */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(5,10,20,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #222;
  z-index:1000;
}

.header-inner{
  position:relative;
  display:flex;
  align-items:center;
  width:96%;
  max-width:none;
  margin:0 auto;
  padding:18px 0;
}

/* 左右ナビ共通 */
.header-nav-left,
.header-nav-right{
  position:relative;
  top:8px; /* ナビをロゴ下面へ近づける */
}

.header-nav-left{
  margin-right:auto;
}

.header-nav-right{
  margin-left:auto;
}

/* ナビリスト */
.header-nav-left ul,
.header-nav-right ul{
  display:flex;
  align-items:center;
  gap:32px;
  margin:0;
  padding:0;
  list-style:none;
}

.header-nav-left ul{
  justify-content:flex-start;
}

.header-nav-right ul{
  justify-content:flex-end;
}

/* 中央ロゴ */
.logo{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}

/* ナビリンク */
.header-nav a{
  color:#fff;
  text-decoration:none;
  font-size:.95rem;
  letter-spacing:.08em;
}

.logo img{
  display:block;
  width:65px;
  height:auto;
}

/* ==========================================================
   SERVICE NOREN
========================================================== */

.noren-item{
  position:relative;
}

/* 通常時は非表示 */
.noren-menu{
    position:absolute;
    top:100%;
    left:0;
    transform:none;

    min-width:220px;
    padding:18px 22px;

    white-space:nowrap;

    background:rgba(5,10,20,.95);

    clip-path:inset(0 0 100% 0);
    pointer-events:none;

    transition:clip-path .8s linear;

    z-index:1001;
}

.noren-item:hover .noren-menu,
.noren-item:focus-within .noren-menu{
    clip-path:inset(0 0 0 0);
    pointer-events:auto;
}

.noren-menu-right{
    left:auto;
    right:0;
    transform:none;
}

/* ==========================================================
   05. NAVIGATION
========================================================== */
nav ul{
  display:flex;
  gap:15px;
  list-style:none;
}

nav a{
  display:block;
  padding:10px 18px;
  color:var(--text-light);
  font-size:14px;
  font-weight:600;
  letter-spacing:1px;
  border-radius:14px;
  background:rgba(15,15,15,.75);
  border:1px solid rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
  box-shadow:0 0 10px rgba(0,0,0,.25);
  transition:var(--transition);
}

nav a:hover{
  color:var(--accent-light);
  background:rgba(25,118,210,.18);
  border-color:rgba(25,118,210,.45);
  box-shadow:
    0 0 15px rgba(25,118,210,.35),
    0 0 30px rgba(25,118,210,.15);
  text-shadow:
    0 0 10px rgba(77,163,255,.9),
    0 0 20px rgba(77,163,255,.5);
  transform:translateY(-2px);
}

.portal-logo{
    width:28px;
    height:28px;
    object-fit:contain;
    flex-shrink:0;
}

.portal-nav{
    margin-left:32px;
}

.portal-nav a{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:7px 12px;

    background:rgba(255,255,255,.96);
    color:#111;

    border:1px solid rgba(255,255,255,.9);
    border-radius:3px;

    font-size:.9rem;
    font-weight:600;
    letter-spacing:.03em;
    text-decoration:none;
    
    white-space:nowrap;

    box-shadow:0 1px 4px rgba(0,0,0,.18);

    transition:.2s ease;
}

.portal-nav a:hover{
    background:#fff;
    color:#111;

    border-color:#39aaff;

    /* ボタン発光 */
    box-shadow:
        0 0 8px rgba(0,170,255,.85),
        0 0 18px rgba(0,130,255,.60),
        0 0 30px rgba(0,100,255,.30);

    /* 文字は弱めに発光 */
    text-shadow:
        0 0 6px rgba(0,150,255,.35),
        0 0 12px rgba(0,120,255,.18);

    transform:translateY(-1px);
}

/* ==========================================================
   06. HERO
========================================================== */
.hero{
  height:100vh;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("../images/HERO.jpg") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--white);
}

.hero-content{
  /*min-height:220px;*/
  margin-top:300px;
}

.hero-content h1{
  font-size:40px;
  margin-bottom:20px;
  font-weight:700;
  letter-spacing:4px;
  color:var(--white);
  text-shadow:0 0 20px rgba(0,0,0,.5);
  min-height:1.5em;
}

.delay{
  animation-delay:4.5s;
}

.hero-content p{
  margin-top:60px;
  font-size:20px;
  color:var(--text-muted);
}

.hero-btn{
  display:inline-block;
  margin-top:40px;
  padding:15px 40px;
  background:var(--accent-color);
  color:var(--white);
  border-radius:50px;
  transition:.3s;
}

.hero-btn:hover{
  background:#0d47a1;
  transform:translateY(-3px);
}

/* ==========================================================
   07. SECTION TITLE
========================================================== */
.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:35px;
  margin-bottom:15px;
  color:var(--white);
  width:100%;
  display:block;
}

.section-title p{
  color:#000;
}

/* ==========================================================
   08. CONCEPT
========================================================== */
.concept{
  background:linear-gradient(135deg, #0b0f1a, #111827);
  padding:100px 0;
}

.concept-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.concept-text h3{
  font-size:34px;
  margin-bottom:25px;
  color:var(--white);
  line-height:1.4;
}

.concept-text p{
  margin-bottom:20px;
  color:var(--text-muted);
  line-height:2;
  font-size:16px;
}

.concept-sub{
  font-size:24px;
  font-weight:bold;
  color:#4da6ff !important;
  line-height:1.8;
  margin-bottom:10px;
}

.concept-sub2{
  font-size:20px;
  font-weight:bold;
  color:#4da6ff !important;
}

.concept-image{
  position:relative;
  z-index:1;
  overflow:visible;
}

.concept-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.4);
  transition:
    transform .4s ease,
    box-shadow .4s ease;
  transform-origin:center;
}

.concept-wrapper{
  overflow:visible;
}

/* 769px以上のPCだけ拡大 */
@media (min-width:769px) and (hover:hover) and (pointer:fine){

  .concept-image img{
    cursor:pointer;
  }
  .concept-image:hover{
    z-index:10;
  }

  .concept-image img:hover{
    transform:translateX(calc(-50% - 30px)) scale(1.5);
    box-shadow:0 30px 60px rgba(0,0,0,.65);
  }
}

/* ==========================================================
   09. SERVICE
========================================================== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:25px;
}

.service-card{
  position:relative;
  min-height:350px;
  background:var(--bg-section);
  border:1px solid #333;
  border-radius:18px;
  overflow:hidden;
  transition:
    transform .4s,
    box-shadow .4s,
    border-color .4s;
}

.service-card:hover{
  transform:translateY(-10px);
  border-color:rgba(77,163,255,.7);
  box-shadow:
    0 15px 40px rgba(0,0,0,.45),
    0 0 15px rgba(25,118,210,.45),
    0 0 35px rgba(25,118,210,.45),
    0 0 60px rgba(25,118,210,.25);
}

.service-card img{
  display:block;
  width:100%;
  height:220px;
  object-fit:contain;
  background:#000;
}

.service-content{
  height:130px;
  padding:25px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.service-content h3{
  font-size:22px;
  line-height:1.8;
  color:var(--white);
  transition:
    color .35s,
    text-shadow .35s;
}

.service-card:hover .service-content h3{
  color:var(--accent-light);
  text-shadow:
    0 0 10px rgba(77,163,255,.8),
    0 0 20px rgba(77,163,255,.45);
}

.service-card::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:4px;
  background:var(--accent-color);
  transition:.4s;
}

.service-card:hover::after{
  width:100%;
}

/* ==========================================================
   10. NEWS
========================================================== */
.news{
  background:var(--bg-section);
}

.news-list{
  max-width:900px;
  margin:auto;
}

.news-item{
  position:relative;
  overflow:hidden;
  display:flex;
  gap:30px;
  padding:25px;
  border-bottom:1px solid #333;
  transition:.3s;
}

.news-item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:var(--accent-color);
  transform:scaleY(0);
  transition:.3s;
}

.news-item:hover::before{
  transform:scaleY(1);
}

.news-item:hover{
  background:rgba(25,118,210,.15);
}

.news-date{
  min-width:120px;
  color:#ccc;
  font-weight:bold;
}

.news-text{
  color:#ccc;
}

.news-item:hover .news-text{
  color:var(--white);
}

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

.news-new{
  display:inline-flex;
  align-items:center;
  align-self:center;

  margin-left:10px;
  padding:2px 7px;

  background:#e60012;
  color:#fff;

  border-radius:3px;

  font-size:10px;
  font-weight:700;
  line-height:1.4;
  letter-spacing:.05em;
}

.news-detail .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.news-more {
  max-width: 900px;
  margin: 20px auto 0;
}

.news-more a {
  display: inline-block;
}

/* ==========================================================
   11. COMPANY
========================================================== */
.company-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.company-info{
  background:var(--bg-section);
  padding:40px;
  border-radius:20px;
}

.company-info table{
  width:100%;
}

.company-info th,
.company-info td{
  padding:15px;
  text-align:left;
  border-bottom:1px solid #333;
}

.company-info th{
  vertical-align:top;
}

.company-image img{
  border-radius:20px;
}

.company-address{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
}

.company-address + .company-address{
  margin-top:32px;
}

.company-address span{
  line-height:1.8;
}

.map-link{
    margin-left:auto;
    padding-top:4px;
    color:#fff;
    opacity:.8;
    transition:
        color .25s ease,
        text-shadow .25s ease,
        opacity .25s ease;
}

.map-link:hover{
    color:#4da3ff !important;
    opacity:1;

    text-shadow:
        0 0 6px rgba(77,163,255,1),
        0 0 12px rgba(0,150,255,.8),
        0 0 20px rgba(0,100,255,.5);
}

.company-branches{
    max-width:1400px;
    margin:0px auto 0;
}

.company-branches h3{
    margin:0 0 8px;
    padding-bottom:8px;
    border-bottom:1px solid #333;

    font-size:.95rem;
    font-weight:600;
}

.branch-item{
    padding:11px 0;
}

.branch-main{
    gap:3px;
}

.branch-main strong{
    font-size:.9rem;
    font-weight:600;
}

.branch-detail{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;

    font-size:.82rem;
    color:#aaa;
}

.branch-item .map-link{
    margin:0;
    padding:0;
    flex-shrink:0;

    font-size:.8rem;
}

/* ==========================================================
   12. CONTACT
========================================================== */
.contact,
.contact{
  color:var(--white);
  text-align:center;
}

.contact {
  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../images/contact.jpg") center / cover no-repeat;
}

/* item-cd.css */
.contact2{
    background:
      linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
      url("../images/contact-cd.jpg") center/cover no-repeat;
}

/* item-cdu.css */
.contact2{
    background:
      linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
      url("../images/contact-cdu.jpg") center/cover no-repeat;
}

/* item-lpg.css */
.contact2{
    background:
      linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
      url("../images/contact-lpg.jpg") center/cover no-repeat;
}

/* item-gp.css */
.contact2{
    background:
      linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
      url("../images/contact-gp.jpg") center/cover no-repeat;
}

/* item-vp.css */
.contact2{
    background:
      linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
      url("../images/contact-vp.jpg") center/cover no-repeat;
}

.contact h2,
.contact2 h2{
  font-size:36px;
  margin-bottom:20px;
  color:var(--white);
}

.contact p,
.contact2 p{
  margin-bottom:40px;
  color:var(--text-muted);
}

.contact-btn{
  display:inline-block;
  margin-top:30px;
  padding:13px 30px;
  background:var(--accent-color);
  border-radius:50px;
  font-size:18px;
  transition:.3s;
}

.contact-btn:hover{
  background:#0d47a1;
  transform:translateY(-5px);
}

/* ==========================================================
   13. FOOTER
========================================================== */
footer{
  background:var(--bg-section);
  color:#aaa;
  text-align:center;
  padding:30px 20px;
  font-size:14px;
}

/* ==========================================================
   14. FADE IN
========================================================== */
.fadein{
  opacity:0;
  transform:translateY(40px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fadein.show{
  opacity:1;
  transform:translateY(0);
}

/* ==========================================================
   15. BACK TO TOP
========================================================== */
.back-to-top{
  position:fixed;
  right:25px;
  bottom:25px;
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  color:#777;
  font-size:24px;
  text-decoration:none;
  background:rgba(15,15,15,.82);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  box-shadow:
    0 5px 18px rgba(0,0,0,.45),
    0 0 15px rgba(25,118,210,.12);
  transition:var(--transition);
  z-index:999;
  opacity:0;
  visibility:hidden;
}

.back-to-top.show{
  opacity:1;
  visibility:visible;
}

.back-to-top:hover{
  transform:translateY(-5px);
  background:rgba(25,118,210,.18);
  border-color:rgba(25,118,210,.45);
  box-shadow:
    0 8px 25px rgba(0,0,0,.5),
    0 0 25px rgba(25,118,210,.35);
  color:var(--accent-light);
  text-shadow:
    0 0 10px rgba(77,163,255,.9),
    0 0 20px rgba(77,163,255,.6);
}

/* ==========================================================
   16. RESPONSIVE
========================================================== */
.section-title h2{
  font-size:30px;
}

@media(max-width:1100px){

  .services-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .hero-content h1{
    font-size:46px;
  }

  .concept-wrapper,
  .company-wrapper{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   スマホ用ハンバーガーメニュー
========================================================== */

/* PCでは非表示 */
.menu-toggle{
    display:none;
}

.portal-mobile{
    display:none;
}


/* ==========================================================
   16. RESPONSIVE
========================================================== */
@media(max-width:768px){

  /* ヘッダー */
  header{
    position:fixed;
  }

  h2.section-title span{
  font-size:22px;
  }  

  .header-inner{
    position:relative;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;

    width:100%;
    min-height:56px;
    padding:6px 20px;
    gap:0;
  }

  /* 中央ロゴ */
  .logo{
    position:absolute;
    top:50%;
    left:50%;
    margin:0;
    transform:translate(-50%, -50%);
  }

  .logo img{
    width:60px;
    height:auto;
  }

  /* ハンバーガーボタン */
  .menu-toggle{
    position:absolute;
    top:50%;
    right:20px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;

    width:32px;
    height:24px;
    margin:0;
    padding:0;

    background:none;
    border:none;
    cursor:pointer;
    transform:translateY(-50%);
  }

  .menu-toggle span{
    display:block;
    width:100%;
    height:3px;
    background:#fff;
    border-radius:2px;
    transition:.3s;
  }

  /* 通常時の左右ナビ */
.header-nav-left,
.header-nav-right{
  position:absolute;
  top:100%;
  display:block;
  width:max-content;
  margin:0;
  padding:0;

  pointer-events:none;
}

/* ロゴの左側に配置 */
.header-nav-left{
  right:calc(50% + 42px);
}

/* ロゴの右側に配置 */
.header-nav-right{
  left:calc(50% + 42px);
}

/* 暖簾本体 */
.header-nav-left ul,
.header-nav-right ul{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  width:100%;
  margin:0;
  padding:12px 14px 16px;

  background:#000;
  border:none;
  border-radius:0 0 8px 8px;
  box-shadow:0 12px 28px rgba(0,0,0,.35);

  clip-path:inset(0 0 100% 0);
  transform:translateY(-4px);

  transition:
    clip-path 2s cubic-bezier(.16,.84,.44,1),
    transform 2s cubic-bezier(.16,.84,.44,1);
}

/* メニューを開いた時 */
header.menu-open .header-nav-left,
header.menu-open .header-nav-right{
  pointer-events:auto;
}

header.menu-open .header-nav-left ul,
header.menu-open .header-nav-right ul{
  clip-path:inset(0 0 0 0);
  transform:translateY(0);
}

.header-nav-left a,
.header-nav-right a{
  display:block;
  width:auto;
  padding:7px 10px;

  color:#f5f7fa;

  font-size:.82rem;
  letter-spacing:.03em;
  text-align:center;
  white-space:nowrap;

  transition:color .25s ease;
}

/* Hero */
  .hero{
  height:520px;
  min-height:0;

  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("../images/HERO.jpg") center top / 100% auto no-repeat;
}

  .hero-content{
    margin-top:90px;
}

  .hero-content h1{
    font-size:28px;
    line-height:1.4;
}

  .hero-content p{
    font-size:12px;
    margin-top:20px;
    line-height:1.6;
}

.hero-btn{
    margin-top:20px;
}

  /* 各セクション */
  .product-lead{
    font-size:1.1rem;
    line-height:2;
    letter-spacing:.03em;
}

  .section-title h2{
    font-size:30px;
}

  .concept-wrapper,
  .company-wrapper{
    grid-template-columns:1fr;
  }

  .concept-text h3{
    font-size:28px;
  }

  .concept-sub{
    font-size:20px;
  }

.concept{
  padding:60px 0;
}

.section-title h2{
  font-size:30px;
}
 
.services-grid{
  grid-template-columns:1fr;
}

.news-item{
  flex-direction:column;
  gap:10px;
}

.company-info{
    padding:20px;
}

/* スマホではPC用の下層暖簾を表示しない */
.header-nav-left .noren-menu,
.header-nav-right .noren-menu{
  display:none;
}

/* スマホではサービスカードの枠を外す */
.service-card{
  min-height:0;
  background:none;
  border:none;
  border-radius:0;
  overflow:visible;
  box-shadow:none;
}

/* 画像をそのまま表示 */
.service-card img{
  display:block;
  width:88%;
  margin:0 auto;
  height:auto;
  object-fit:contain;
  background:none;
  border-radius:18px;
}

/* スマホではホバー演出を無効化 */
.service-card:hover{
  transform:none;
  border-color:transparent;
  box-shadow:none;
}

.noren-item .noren-menu {
    position: static;

    display: none;

    width: 100%;
    margin-top: 8px;

    opacity: 1;
    visibility: visible;
    transform: none;

    pointer-events: auto;
  }

  .noren-item.is-open .noren-menu {
    display: flex;
    flex-direction: column;
  }

  .noren-menu a {
    display: block;
    width: 100%;
    padding: 12px 16px;

    text-align: left;
  }
/* PC用ポータルは暖簾から消す */
.portal-nav{
    display:none;
}

/* スマホ専用ポータル */
.portal-mobile{
    position:absolute;
    top:50%;
    left:15px;
    transform:translateY(-50%);

    display:inline-flex;
    align-items:center;
    gap:5px;

    padding:5px 8px;

    background:rgba(255,255,255,.96);
    color:#111;

    border-radius:3px;

    font-size:.68rem;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;

    z-index:10;
}

.portal-mobile .portal-logo{
    width:20px;
    height:20px;
    object-fit:contain;
}

.portal-mobile .portal-com{
    color:#005bac;
}

.portal-mobile .portal-icon{
    color:#005bac;
    font-size:.7rem;
}
/* 暖簾内のPC用ポータルをスマホでは消す */
.portal-nav{
    display:none;
}

/* スマホ専用ポータル */
.portal-mobile{
    position:absolute;
    top:50%;
    left:15px;
    transform:translateY(-50%);

    display:inline-flex;
    align-items:center;
    gap:5px;

    padding:5px 8px;

    background:#fff;
    color:#111;

    border-radius:3px;

    font-size:.68rem;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;

    z-index:1100;
}

.portal-mobile .portal-logo{
    width:20px;
    height:20px;
    object-fit:contain;
}

.portal-mobile .portal-com{
    color:#005bac;
}

.portal-mobile .portal-icon{
    color:#005bac;
}
}


/* ==========================================================
   17.アクセシビリティ
   見出しを視覚的に非表示（SEO・スクリーンリーダー対応）
========================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

/* ==========================================
   18. Catalog Guide
========================================== */

.catalog-guide{
    margin:-40px auto 60px;
    text-align:center;
    font-size:.95rem;
    color:#c8c8c8;
}

.catalog-link{
    margin-left:12px;
    color:#fff;
    font-weight:600;
    text-decoration:none;
    transition:all .25s ease;
    display:inline-block;
    padding:4px 10px;
    border:1px solid transparent;
    border-radius:6px;
}

.catalog-link:hover{
    color:var(--accent-light);

    text-shadow:
        0 0 10px rgba(77,163,255,.9),
        0 0 20px rgba(77,163,255,.5);

    transform:translateY(-1px);
 }

.portal-banner{
    display:flex;
    align-items:center;
    justify-content:center;

    width:fit-content;
    max-width:90%;

    margin:20px auto 70px;
    padding:10px 22px;

    position:relative;
    z-index:20;
    pointer-events:auto;

    border:1px solid rgba(0,150,255,.8);
    border-radius:4px;

    color:#fff;
    text-decoration:none;

    box-shadow:
        0 0 6px rgba(0,150,255,.45),
        0 0 14px rgba(0,120,255,.25),
        inset 0 0 8px rgba(0,150,255,.08);

    transition:.3s ease;
}

.portal-banner:hover{
    background:rgba(0,120,255,.12);
    border-color:#39aaff;

    box-shadow:
        0 0 8px rgba(0,170,255,.8),
        0 0 20px rgba(0,130,255,.55),
        0 0 35px rgba(0,100,255,.25),
        inset 0 0 10px rgba(0,150,255,.15);
}

.portal-banner-text{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    pointer-events:none;
}

.portal-banner-text small{
    font-size:.7rem;
    letter-spacing:.15em;
    opacity:.55;
}

.portal-banner-text strong{
    font-size:.9rem;
    font-weight:500;
    letter-spacing:.05em;
}

.portal-banner-wrap{
    width:90%;
    max-width:1400px;
    margin:20px auto 70px;
}

.portal-image-link{
    display:block;
    width:100%;
    overflow:hidden;
    border-radius:6px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.portal-image-link img{
    display:block;
    width:100%;
    height:auto;
}

.portal-image-link{
    display:block;
    width:100%;
    overflow:hidden;
    border-radius:6px;
    cursor:pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        filter .3s ease;
}

.portal-image-link:hover{
    transform:translateY(-5px) scale(1.01);

    filter:brightness(1.08);

    box-shadow:
        0 8px 20px rgba(0,0,0,.45),
        0 0 12px rgba(0,170,255,.9),
        0 0 28px rgba(0,130,255,.65),
        0 0 50px rgba(0,100,255,.35);
}

/* =========================
   FOOTER PORTAL
========================= */

.footer-portal{
    width:90%;
    max-width:850px;
    margin:0 auto 25px;
}

.footer-portal a{
    display:block;
    width:100%;
    padding:0;
    border:none;
    border-radius:4px;
    overflow:hidden;
    cursor:pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        filter .3s ease;
}

.footer-portal img{
    display:block;
    width:100%;
    height:auto;
}

.footer-portal a:hover{
    transform:translateY(-4px) scale(1.01);
    filter:brightness(1.1);

    box-shadow:
        0 0 10px rgba(0,170,255,.9),
        0 0 24px rgba(0,130,255,.6),
        0 0 40px rgba(0,100,255,.3);
}

/* 通常文字は黒 */
header .portal-nav a,
header .portal-nav a:visited,
header .portal-nav a:hover{
    color:#111;
}

/* .COMだけ青 */
header .portal-nav a .portal-com{
    color:#005bac;
}

.portal-banner .portal-com{
    color:#5eb5f7;

    text-shadow:
        0 0 5px rgba(94,181,247,.9),
        0 0 10px rgba(0,150,255,.8),
        0 0 18px rgba(0,100,255,.6);
}

.footer-portal .portal-com{
    color:#5eb5f7;

    text-shadow:
        0 0 5px rgba(94,181,247,.9),
        0 0 10px rgba(0,150,255,.8),
        0 0 18px rgba(0,100,255,.6);
}

.branch-list{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    column-gap:60px;
    row-gap:0;
}

.branch-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:11px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.branch-main{
    min-width:0;
}

.branch-detail{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:nowrap;
    white-space:nowrap;
}

.branch-item .map-link{
    margin:0;
    padding:0;
    flex-shrink:0;
    white-space:nowrap;
    font-size:.8rem;
}

@media(max-width:768px){

    .branch-list{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        column-gap:16px;
    }

    .branch-item{
        display:block;
        min-width:0;
    }

    .branch-detail{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:2px;
        white-space:normal;
        overflow-wrap:anywhere;
    }

    .branch-item .map-link{
        display:inline-block;
        margin-top:6px;
    }
    .company-branches{
        margin-top:40px;
    }
}