/* =========================================================
   Variables
========================================================= */
:root {
  --color-bg: #d4d9df;
  --color-bg-alt: #e0e4e9;
  --color-surface: #f2f4f7;
  --color-panel: #e8ebef;
  --color-accent: #2f5f9e;
  --color-accent-light: #4a7bc0;
  --color-accent-soft: rgba(47, 95, 158, 0.18);
  --color-text: #1a1d21;
  --color-muted: #4f5863;
  --color-border: #c3c9d0;

  --radius-sm: 6px;
  --radius-md: 10px;

  --shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  --primary-color:#005bac;
}

/* =========================================================
   Global
========================================================= */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: linear-gradient(to bottom, #e0e4e9, #d4d9df);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header p {
  color: var(--color-muted);
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 250, 0.85);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-img {
  width: 58px;
  padding: 4px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(180, 185, 195, 0.6);
  box-shadow: 0 4px 12px rgba(47, 95, 158, 0.25);
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Navigation */
/*.global-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-muted);
  position: relative;
  padding-bottom: 4px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.global-nav a:hover {
  color: var(--color-text);
}

.global-nav a:hover::after {
  width: 100%;
}
*/

.global-nav{
    flex: 1;
    max-width: 600px;
}

.global-nav ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav li{
    flex: 1;
}

.global-nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:42px;
    padding:0 20px;
    border-radius:999px;
    color:#4b5563;
    font-size:.9rem;
    font-weight:600;
    letter-spacing:.04em;
    text-decoration:none;
    transition:.25s ease;
    position:relative;
}

.global-nav a::after{
    display:none;
}

.global-nav a:hover{
    color:#fff;
    background:linear-gradient(
        135deg,
        #2f5f9e,
        #3b82f6
    );
    box-shadow:
        0 8px 20px rgba(47,95,158,.35);
    transform:translateY(-2px);
}

.global-nav a:active{
    transform:translateY(0);
}

/* =========================
   SP
========================= */
.nav-toggle{
    display:none;
}

@media (max-width:768px){

    .nav-toggle{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:6px;
        width:44px;
        height:44px;
        background:none;
        border:none;
        cursor:pointer;
        padding:0;
        z-index:1001;
    }

    .nav-toggle span{
        width:24px;
        height:2px;
        background:#2f5f9e;
        border-radius:999px;
        transition:.3s ease;
    }

    .nav-toggle.active span:nth-child(1){
        transform:translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2){
        opacity:0;
    }

    .nav-toggle.active span:nth-child(3){
        transform:translateY(-8px) rotate(-45deg);
    }

    .global-nav *,
    .global-nav *::before,
    .global-nav *::after{
        box-sizing:border-box;
    }

    .global-nav a:hover,
    .global-nav a:active,
    .global-nav a:focus{
        color:inherit;
        background:transparent;
        border:2px solid #1e40af;
        box-shadow:none;
        transform:none;
    }

.global-nav{
    position:absolute;
    top:100%;
    left:16px;
    right:16px;

    padding:12px;
        background:rgba(255,255,255,0.98);
		       border:1px solid rgba(15,23,42,0.12);
    backdrop-filter:blur(12px);

        border-radius:16px;
        box-shadow:
            0 12px 30px rgba(0,0,0,0.15),
            0 4px 12px rgba(0,0,0,0.08);

        backdrop-filter:blur(12px);
    opacity:0;
    visibility:hidden;

    transform:
        translateY(-4px)
        scale(.97);

    filter:blur(8px);

    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.22,1,.36,1),
        filter .45s ease,
        visibility 0s linear .45s;
}

.global-nav.active{
    opacity:1;
    visibility:visible;

    transform:
        translateY(0)
        scale(1);

    filter:blur(0);

    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.22,1,.36,1),
        filter .45s ease,
        visibility 0s;
}

    .global-nav ul{
        flex-direction:column;
        gap:8px;
    }

    .global-nav li{
        width:100%;
        flex:none;
    opacity:0;
    transform:translateY(12px);
    transition:
        opacity .3s ease,
        transform .3s ease;
    }

.global-nav.active li{
    opacity:1;
    transform:translateY(0);
}

.global-nav.active li:nth-child(1){ transition-delay:.05s; }
.global-nav.active li:nth-child(2){ transition-delay:.10s; }
.global-nav.active li:nth-child(3){ transition-delay:.15s; }
.global-nav.active li:nth-child(4){ transition-delay:.20s; }
.global-nav.active li:nth-child(5){ transition-delay:.25s; }
.global-nav.active li:nth-child(6){ transition-delay:.30s; }

    .global-nav a{
        width:100%;
        min-height:48px;
		padding:12px 16px;
		background:#f8fafc;
        border:1px solid #e2e8f0;
        border-radius:10px;
    }

    .header-inner{
        position:relative;
    }
}

@media (min-width:769px){

    .global-nav{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
    }

    .nav-toggle{
        display:none;
    }

}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 32px;
}

.lang-switch a {
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: #fff;
  border: 1px solid #b8c0c9;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(47, 95, 158, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.lang-switch a:hover {
  background: #e8eef5;
  color: #1f3f6e;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 95, 158, 0.25);
}

/* =========================================================
   Footer
========================================================= */
/*
.site-footer {
  background: #bfc4cb;
  border-top: 1px solid var(--color-border);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 6px rgba(47, 95, 158, 0.15);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-muted);
}
*/

.site-footer{
    background:#c7cdd4;
    border-top:1px solid #b4bcc5;
    padding:14px 0;
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.footer-logo{
    flex-shrink:0;
}

.footer-logo .logo-main{
    font-size:.9rem;
    font-weight:700;
    letter-spacing:.15em;
    color:#1e3554;
}

.footer-logo .logo-sub{
    font-size:.72rem;
    color:#64748b;
}

.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:0;
}

.footer-links a{
    position:relative;
    padding:8px 14px;
    font-size:.82rem;
    color:#4b5563;
    text-decoration:none !important;
    border-radius:999px;
    transition:.25s ease;
}

.footer-links a:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    width:1px;
    height:12px;
    background:#94a3b8;
    transform:translateY(-50%);
}

.footer-links a:hover{
    color:#2f5f9e;
    background:#fff;
    box-shadow:
        0 4px 12px rgba(0,0,0,.08),
        0 2px 6px rgba(47,95,158,.15);
}

.footer-links a:hover::after{
    opacity:0;
}

.footer-copy{
    font-size:.72rem;
    color:#64748b;
    white-space:nowrap;
}

@media (max-width:768px){

    .site-footer{
        padding:16px 0;
    }

    .footer-inner{
        flex-direction:column;
        gap:10px;
    }

    .footer-links{
        justify-content:center;
    }

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

html {
    scroll-behavior: smooth;
}


.page-top{
    position: fixed;
    right: 20px;
    bottom: 80px;

    width: 55px;
    height: 55px;

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

    background: linear-gradient(
        135deg,
        #0ea5e9,
        #0369a1
    );

    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: .3s;
    z-index: 999;
}
.page-top::before{
    content: "";
    position: absolute;

    width: 10px;
    height: 10px;

    border-top: 2px solid #fff;
    border-left: 2px solid #fff;

    transform: translate(-50%, -50%) rotate(45deg);

    left: 50%;
    top: 47%; /* 40% → 47% */
}


.page-top::after{
    content: "";
    position: absolute;

    width: 14px;
    height: 2px;

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

    left: 50%;
    bottom: 15px;

    transform: translateX(-50%);
}


.page-top.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top:hover{
    transform: translateY(-5px);
}

@media (max-width:768px){
    .page-top{
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 70px;
        font-size: 20px;
    }
}

/* =========================================================
   電話・メール　リンク無効化、その他
========================================================= */

.link-none {
   pointer-events: none;
}

/* =========================================
   スマホの画像選択・ハイライト防止
========================================= */

html,
body,
img,
.swiper,
.swiper-wrapper,
.swiper-slide {
    -webkit-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}

.swiper-slide img {
    pointer-events: none;
}

/* ---------------------------------------------------------
   Desktop Narrow
--------------------------------------------------------- */
@media (max-width: 1400px){

    .header-inner{
        padding-inline: 16px;
    }

}

/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 1050px){

    .hero{
        padding: 60px 0;
    }

    .contact-inner{
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px){

    .header-inner{
        padding-inline: 16px;
    }
}

/* ---------------------------------------------------------
   Small Mobile
--------------------------------------------------------- */
@media (max-width: 640px){

    .hero-inner{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .header-inner{
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo-img{
        width: 46px;
        padding: 3px;
    }

    .lang-switch{
        margin-left: auto;
    }

    .lang-switch a{
        padding: 6px 14px;
        font-size: 0.75rem;
    }

}