:root {
    --bg-header: #0a0b0d; 
    --bg-content: #111215; 
    --bg-footer: #08090a; 

    --text-main: #EAEAEA; 
    --text-muted: #888890; 
    --text-footer: #666666;

    --border-color: rgba(255, 255, 255, 0.08); 
    --border-footer: rgba(255, 255, 255, 0.05);

    --accent-color: #0b67a0; 
    --font-stack: "Noto Sans JP", "Noto Serif JP", Meiryo, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--bg-content);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.hover-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.hover-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

h1, h2, h3, h4 {
    font-weight: 500;
    letter-spacing: 0.05em;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-load {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    font-size: 1.5rem;
	font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    position: relative;
    color: #0b76a0;
}
.logo .co-name {
	font-size: 3rem;
	letter-spacing: 0.5em;
	font-weight: 700;
	color: #2b96c0;
}

.logo::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -10px;
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #A0A0A5;
    transition: color 0.3s ease;
    line-height: 1.2;
}

nav ul li a:hover {
    color: #FFFFFF;
}

.nav-ja {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.nav-en {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 0.5em;
    text-transform: uppercase;
    opacity: 0.6;
}

nav ul li a.hover-link::after {
    bottom: -8px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20vh 0; 
    min-height: 70vh; 
}

.section-title {
	padding: 20px 0;
}

.hero-concept {
    max-width: 850px;
}

.hero-concept h1 {
    font-size: 3.2rem;
    line-height: 1.4;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-concept .lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 2.2;
    margin-bottom: 60px;
    font-weight: 300;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.primary-btn::after {
    content: '→';
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.primary-btn:hover {
    background-color: var(--accent-color);
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(11, 103, 160, 0.3);
}

.primary-btn:hover::after {
    transform: translateX(5px);
}

footer {
    background-color: var(--bg-footer);
    color: var(--text-footer);
    padding: 80px 0 40px;
    font-size: 0.85rem;
    border-top: 1px solid var(--border-footer);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-footer);
    margin-bottom: 50px;
}

.footer-address {
    line-height: 1.8;
    color: var(--text-footer);
    text-align: right;
    font-weight: 300;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-footer);
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-footer);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--text-footer);
    font-size: 0.8rem;
    font-weight: 300;
}

.footer-legal-links a:hover {
    color: #FFFFFF;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #555555;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    .footer-address {
        text-align: left;
    }
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    main { 
        padding: 15vh 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    nav ul { display: none; }
    .hero-concept h1 { font-size: 2.2rem; }
}

.philosophy-card {
	border: 1px solid var(--border-color);
	padding: 40px;
	background-color: rgba(255, 255, 255, 0.02);
	border-radius: 2px;
}
.philosophy-card h3 {
	font-size: 1.3rem;
	color: #FFFFFF;
	margin-bottom: 10px;
}
.philosophy-card .sub-title {
	font-size: 0.85rem;
	color: var(--accent-color);
	margin-bottom: 24px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.philosophy-card p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 2;
}
.mv-block {
	margin-bottom: 40px;
}
.mv-block h3 {
	font-size: 1.8rem;
	color: #FFFFFF;
	margin-bottom: 20px;
	letter-spacing: 0.05em;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.profile-table th, .profile-table td {
    padding: 26px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
    line-height: 2.0;
}

.profile-table th {
    width: 25%;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.profile-table td {
    color: var(--text-main);
    font-weight: 300;
}

@media (max-width: 768px) {
    .profile-table th, .profile-table td {
        padding: 18px 0;
    }
}

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

.business-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.business-card .card-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.business-card .card-title-box {
    min-height: 85px;
    margin-bottom: 24px;
	width: 250px;
}

.business-card h3 {
    font-size: 1.35rem;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.business-card .card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.business-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: 1fr;
    }
    .business-card {
        min-height: auto;
        padding: 40px 30px;
    }
    .business-card .card-title-box {
        min-height: auto;
	}
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.contact-info-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2.0;
    margin-bottom: 30px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 300;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 15px rgba(11, 103, 160, 0.15);
}

.submit-btn {
    cursor: pointer;
    background-color: transparent;
    width: auto;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin: 40px 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.05em;
}

.legal-content h3:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2.1;
    margin-bottom: 20px;
    font-weight: 300;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 10px;
}

.legal-content ul li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2.0;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-weight: 300;
}

.legal-content ul li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.header-logo-img {
    display: block;
    max-height: 40px;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.logo a:hover .header-logo-img {
    opacity: 0.8;
}



.message-page-container { max-width: 800px; margin: 60px auto; padding: 0 20px; color: #ccc; line-height: 2.2; }
.message-header { text-align: center; margin-bottom: 60px; }
.message-header h1 { font-family: 'Noto Serif JP', sans-serif; font-weight: normal; margin: 0; }
.message-label { display:block; letter-spacing: 0.3em; color: #0b76a0; margin-bottom: 20px; font-family: 'Noto Sans JP', sans-serif; font-weight: 700; }

.message-journey-layout { 
  display: block;
  margin-bottom: 80px; 
}
.message-journey-layout::after {
  content: "";
  display: table;
  clear: both;
}

.journey-photo {
  float: left;
  width: 300px; 
  margin: 0 40px 15px 0;
}

.journey-photo img { 
  display: block;
  width: 100%; 
  box-shadow: 0 10px 30px rgba(220,220,220,0.05);
}

.journey-text { 
  display: block;
}
.journey-text p { 
  font-family: 'Noto Serif JP', sans-serif; 
  font-size: 0.8rem; 
  line-height: 2.2; 
  color: #aaa; 
  text-align: justify; 
  letter-spacing: 0.05em; 
}

.message-credo-box { display: flex; gap: 20px; max-width: 800px; width: 100%; max-height: 450px; width: 100%; margin: 0 auto; align-items: stretch; background: #fbfbfb; border-top: 1px solid #eee; padding: 2rem 0; }
.message-credo-item { flex: 1 1 0; min-width: 0; writing-mode: vertical-rl; -webkit-writing-mode: vertical-rl; display: flex; flex-direction: column; position: relative; }
.director-message-vertical-title { color: #0b76a0; font-weight: 400; font-family: 'Noto Serif JP', sans-serif; font-size: 1rem; padding-right: 1rem; }
.message-credo-item p { margin: 0; text-orientation: mixed; font-family: 'Noto Serif JP', sans-serif; font-size: 0.9rem; line-height: 2.2; color: #555; text-align: justify; letter-spacing: 0.05em; }

.message-credo-item:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 200px; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.08), rgba(0,0,0,0) ); }

.message-footer { text-align: right; border-top: 1px solid #eee; padding-top: 50px; font-family: 'Noto Serif JP', sans-serif; background-color: #fff;}
.message-footer p { color: #555;}
.footer-sign {padding: 2rem;}
.signature-img { max-width: 160px; margin-top: 15px; opacity: 0.9; }

@media (max-width: 991px) {
.journey-photo { flex: 0 0 275px; }
.journey-text p { font-size: 0.8rem; }
.message-credo-item p { font-size: 0.8rem; }
}

@media (max-width: 767px) {
.message-page-container { margin-top: 30px; }

.message-journey-layout { flex-direction: column; gap: 30px; }
.journey-photo { flex: 0 0 auto; width: 100%; }
.journey-text { height: auto; padding-left: 0; }
.message-credo-box { display: grid; max-height: 2000px; padding: 2rem; }
.message-credo-item { writing-mode: horizontal-tb; -webkit-writing-mode: horizontal-tb; }
.message-credo-item:not(:last-child)::after { display: none; }
}