@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    font-size: 100%;
}


body {
    color: #707070;
    font-family: sans-serif;
}

/* Theme */
:root {
    --bg: #eaf4ff; /* パステルブルー背景 */
    --surface: #ffffff;
    --surface-alt: #dbeaff; /* 薄いパステルブルー */
    --text: #40343a;
    --muted: #6a7682;
    --primary: #5fb3f9; /* アクセントはブルーのまま */
    --primary-600: #2f90e8;
    --outline: #b7d8ff; /* ブルー系アウトライン */
    --shadow: 0 8px 20px rgba(47, 144, 232, 0.12);
    --radius: 14px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
}


img {
    max-width: 100%; /* 画像の最大幅を外側ブロックに対して100%に設定 */
    vertical-align: bottom; /* テキストとの整合性を保つためにボトムに揃える */
}


a {
    text-decoration: none; /* リンクのデコレーションを非表示にする */
}


li {
    list-style: none; /* リストのマーカーを非表示にする */
}


a:hover {
    opacity: 0.7; /* ホバー時に透明度を0.7に設定 少し透過するようにする */
}


.wrapper {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    min-height: 100px;
}
.brand { display: flex; align-items: center; }
.brand-top { margin-left: 12px; font-weight: 700; color: var(--primary); border: 2px solid var(--outline); padding: 6px 10px; border-radius: 999px; line-height: 1; }
.brand-top:hover { background: var(--surface-alt); }
.brand-text { display: flex; flex-direction: column; margin-left: 6px; }
.brand-name { margin-left: 0; font-weight: 800; color: var(--text); line-height: 1.2; }
.brand-tagline { margin-left: 0; color: var(--muted); font-size: .9rem; line-height: 1.2; }
.brand-phone { margin-left: 0; font-weight: 700; color: var(--text); }
.brand-phone::before { content: "|"; display: inline-block; margin: 0 8px 0 12px; color: #cccccc; }
.brand .logo {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.4rem;
    padding: 0; /* remove extra spacing around logo */
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}
.brand .tagline {
    margin-left: 12px;
    font-size: .85rem;
    color: var(--muted);
}
.logo-img { height: 100px; width: 100px; display: block; padding: 0; margin: 0; object-fit: contain; position: relative; z-index: 1; }
.global-nav ul { display: flex; gap: 18px; align-items: center; }
.global-nav a { color: var(--text); font-weight: 600; }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn { display: inline-block; padding: 10px 16px; border-radius: var(--radius); transition: transform .1s ease, box-shadow .2s ease, background .2s ease; font-weight: 700; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #ff0000; color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #cc0000; }
.btn-outline { border: 2px solid var(--outline); color: var(--text); background: #fff; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #d9ecff 0%, #eaf4ff 100%); padding: 0; }
.hero-grid { position: relative; display: block; }
.hero-copy { position: absolute; right: 0; left: auto; transform: none; top: auto; bottom: 0; width: 100%; max-width: 1000px; padding: 24px 20px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; z-index: 2; }
.hero-copy h1 { font-size: 2rem; line-height: 1.4; margin-bottom: 8px; }
.hero-copy p { color: var(--muted); margin-bottom: 14px; }
.hero-actions { display: flex; gap: 12px; }
.hero-visual { position: relative; z-index: 1; width: 100vw; height: 70vh; min-height: 420px; background: url(../img/top.png) center/cover no-repeat, linear-gradient(135deg, #c9e4ff, #d9ecff); border-radius: 0; margin-left: calc(50% - 50vw); box-shadow: none; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-alt); }
.section-title { font-size: 1.6rem; margin-bottom: 18px; position: relative; }
.section-title:after { content: ""; display: block; width: 60px; height: 4px; background: var(--primary); border-radius: 999px; margin-top: 10px; }
.section-lead { color: var(--muted); margin-bottom: 18px; }

/* News */
.news-list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 18px; border-top: 1px solid #eef2f2; }
.news-list li:first-child { border-top: none; }
.news-list time { color: var(--muted); }
.news-list a { color: var(--text); }

/* Strength points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.point { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.point h3 { margin: 10px 0; font-size: 1.05rem; }
.point p { color: var(--muted); }
.point-img { height: 220px; border-radius: 12px; object-fit: cover; width: 100%; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.card { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.card--tall { min-height: 300px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

/* Plan */
.plan-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.plan-illustration { height: 260px; border-radius: 22px; box-shadow: var(--shadow); object-fit: cover; width: 100%; }
.plan-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 4px; }
.plan-box { background: var(--surface); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.plan-cta { margin-top: 8px; }

/* Flow */
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.flow-steps li { background: var(--surface); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.step-num { width: 34px; height: 34px; display: inline-grid; place-items: center; background: var(--primary); color: #fff; border-radius: 999px; font-weight: 700; margin-bottom: 8px; }

/* About */
body > main > .philosophy-parallax:first-child {
    margin-top: 0;
    padding-top: 0;
}
.philosophy-parallax {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 85vh;
    min-height: 600px;
    margin: 0;
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    padding: 0;
    background: url(../img/Tokyo.png) center/cover no-repeat, linear-gradient(135deg, #c9e4ff, #d9ecff);
    background-attachment: fixed;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
.about-photo { height: 240px; background: url(../img/company_image.png) center/cover no-repeat, linear-gradient(135deg,#f7dfe6,#fdebf0); border-radius: 18px; box-shadow: var(--shadow); }
.company-table { display: grid; gap: 8px; margin-top: 12px; }
.company-table div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #cccccc; }
.company-table dt { color: var(--muted); }
.philosophy { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.philosophy p + p { margin-top: 8px; }
.philosophy u { font-size: 1.2em; text-underline-offset: 3px; }
.about-info { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.about-info .section-title { margin-top: 0; }

/* Footer */
.site-footer { padding: 28px 0; background: #4b4949; color: #eeeeee; margin-top: 24px; box-shadow: 0 -2px 10px rgba(0,0,0,.04); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-company { color: #dddddd; font-size: .9rem; }
.footer-company table { border-collapse: collapse; }
.footer-company td { padding: 6px 10px; vertical-align: top; }
.footer-company td:first-child { color: #aaaaaa; white-space: nowrap; }
.footer-company td:nth-child(2) { font-weight: 700; font-size: 1.05rem; color: #f0f0f0; }
.footer-company tr + tr td { border-top: 1px solid #e6e6e6; }
.footer-company tr:last-child td { border-bottom: 1px solid #e6e6e6; }
.footer-company .head { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.footer-logo-img { height: 30px; width: auto; display: inline-block; vertical-align: middle; margin-right: 6px; }
.footer-map { width: 50%; aspect-ratio: 1 / 1; padding: 2% 2%; box-sizing: border-box; }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.to-top { color: var(--primary); font-weight: 700; }

/*--------------------------------------------------
Hero Animations
--------------------------------------------------*/
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-visual.is-animating-left { animation: slideInLeft .8s ease-out forwards; }
.hero-copy.is-animating-right { animation: slideInRight .8s ease-out forwards; }

/* Footer bottom bar */
.footer-bottom { background: #000000; color: #ffffff; padding: 10px 0; }
.footer-bottom .wrapper { display: flex; justify-content: center; font-size: .85rem; }




/* Contact Section */
#contact p:first-of-type {
    margin-bottom: 36px;
}

/* Utilities */
.section-gap { margin-top: 100px; }
#news { padding-bottom: 70px; }





/*-----------------------------------------------------------------------
スマートフォン
-----------------------------------------------------------------------*/   
@media (max-width: 767px) {
    .section-gap { margin-top: 28px; }
    .header-inner { height: 80px; min-height: 80px; }
    .logo-img { height: 80px; width: 80px; }
    .brand .tagline { font-size: .8rem; }
    .brand-top { display: none; }
    .brand-info { display: none; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    /* Hamburger Menu Mobile */
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--surface);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 40;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 10px 0; }
    .nav-menu a { font-size: 1.1rem; padding: 10px 20px; }
    
    .hero-visual { height: 46vh; min-height: 220px; }
    .hero-copy { padding: 16px 16px; }
    .points { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .plan-wrap { grid-template-columns: 1fr; }
    .plan-illustration { height: 200px; }
    .plan-boxes { grid-template-columns: 1fr; }
    .flow-steps { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-map { width: 100%; aspect-ratio: 1 / 1; padding: 2% 0; }
    .philosophy-parallax { height: 60vh; min-height: 400px; background-attachment: scroll; }
}

