/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Typography */
.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    color: #b8860b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo .logo {
    height: 58px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

/* 完全にフォーカススタイルを無効化 */
.nav-link,
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nav-link:hover {
    color: #b8860b;
}

.nav-link.active {
    color: #b8860b !important;
    font-weight: 600 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b8860b;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-switch {
    background: rgba(184, 134, 11, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(184, 134, 11, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Slideshow Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1800px;
    padding: 0 2rem;
    width: 100%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0;
    opacity: 0;
    animation: slideUp 1.5s ease 0.5s forwards;
}

.hero-line-1 {
    display: block;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: typewriter 2s ease 1s forwards;
}

.hero-line-2 {
    display: block;
    font-size: 3rem;
    font-weight: 400;
    color: #b8860b;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: typewriter 2s ease 3s forwards;
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease 5s forwards;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot.active {
    background: #b8860b;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    z-index: 10;
    opacity: 0;
    animation: fadeInBounce 1s ease 5.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #b8860b);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes typewriter {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        animation: bounce 2s infinite;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-visual {
    position: relative;
    height: 500px;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Focus Section */
.focus {
    position: relative;
    background-image: url('../../images/log-watermark.png');
    background-color: white;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.focus .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.focus-item {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.focus-item::after {
    content: '';
    position: absolute;
    bottom: -71px;
    right: -2px;
    width: 191px;
    height: 239px;
    background-image: url('../../images/tategami.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.focus-item > * {
    position: relative;
    z-index: 1;
}

.focus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.focus-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #b8860b, #daa520);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.focus-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.focus-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy {
    background: #f8f9fa;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-visual {
    position: relative;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    transform: rotate(5deg);
}

.philosophy-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 200px;
}

.philosophy-card:hover {
    transform: translateY(-5px) rotate(-2deg);
}

.philosophy-card:nth-child(even) {
    transform: translateY(2rem);
}

.philosophy-card:nth-child(even):hover {
    transform: translateY(1.5rem) rotate(2deg);
}

.philosophy-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Team Section */
.team {
    background: white;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/bg-tategami.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.4;
    z-index: 1;
}

.team .container {
    position: relative;
    z-index: 2;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(0, 0, 0, 0.3));
}

.team-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.team-stat {
    text-align: center;
}

.team-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b8860b;
    margin-bottom: 0.5rem;
}

.team-stat .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Section - Simplified */
.contact {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 4rem 0;
}

.contact .section-title {
    color: #1a1a1a;
}

.contact-content-simple {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #b8860b, #daa520);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #b8860b;
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
}

.contact-text p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-logo img {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-company-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #b8860b;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-company-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-address,
.footer-email {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-address svg,
.footer-email svg {
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: #b8860b;
}

.footer-navigation h4 {
    color: #b8860b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.footer-navigation a:hover {
    color: #b8860b;
}

.footer-navigation li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-line-1 {
        font-size: 4rem;
    }
    
    .hero-line-2 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .about-content,
    .philosophy-content,
    .team-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about {
        background-size: 500px;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .about-visual,
    .team-image {
        height: 400px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-logo img {
        width: 180px;
        margin-bottom: 1rem;
    }
    
    .footer-company-details {
        align-items: center;
    }
    
    .footer-address,
    .footer-email {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-line-1 {
        font-size: 3.5rem;
    }
    
    .hero-line-2 {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .slideshow-nav {
        bottom: 6rem;
    }
    
    .scroll-indicator {
        bottom: 3rem;
        right: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .focus-item {
        padding: 2rem;
        text-align: left;
    }
    
    .focus-icon {
        margin: 0 0 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        transform: none;
    }
    
    .philosophy-card:nth-child(even) {
        transform: none;
    }
    
    .philosophy-card:hover,
    .philosophy-card:nth-child(even):hover {
        transform: translateY(-5px);
    }
    
    .about {
        background-size: 400px;
        background-attachment: scroll;
    }
    
    .about-visual,
    .team-image {
        height: 350px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-main {
        text-align: center;
    }
    
    .footer-logo img {
        width: 160px;
    }
    
    .footer-company-name {
        font-size: 1.25rem;
    }
    
    .footer-company-details {
        align-items: center;
    }
    
    .footer-address,
    .footer-email {
        justify-content: center;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .contact {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-line-1 {
        font-size: 2.8rem;
    }
    
    .hero-line-2 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .focus-item {
        padding: 2rem;
    }
    
    .about {
        background-size: 350px;
    }
    
    .about-visual,
    .team-image {
        height: 300px;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
    
    .contact-details {
        gap: 2rem;
    }
    
    .footer-logo img {
        width: 140px;
    }
    
    .footer-company-name {
        font-size: 1.1rem;
    }
    
    .footer-main {
        text-align: center;
    }
    
    .footer-company-details {
        align-items: center;
    }
    
    .footer-address,
    .footer-email {
        justify-content: center;
        text-align: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .about {
        background-attachment: scroll;
    }
}

/* Focus styles - 完全にフォーカススタイルを無効化 */
/* ナビゲーションリンクのみフォーカススタイルを無効化 */
.nav-link,
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active,
a:focus,
a:focus-visible,
a:active {
    outline: none !important;
}

/* 必要な要素にのみフォーカススタイルを適用 */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #b8860b;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-cta,
    .contact-form {
        display: none;
    }
}