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

body {
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero__name {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    color: #ff8c00;
}

.hero__title {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    color: #ff8c00;
}

/* Links Section */
.links {
    flex: 1;
    padding: 40px 20px;
    background-color: #ffffff;
}

.links__container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link::after {
    content: '↗';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.8;
}

.link:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.link:hover::before {
    opacity: 1;
}

.link__icon {
    font-size: 1.25rem;
    margin-right: 16px;
    width: 20px;
    text-align: center;
}

.link__text {
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 24px 20px;
    text-align: center;
}

.footer__copyright {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer__links {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}

.footer__separator {
    margin: 0 12px;
    opacity: 0.6;
}

.footer__link {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #6bb6ff;
    text-decoration: underline;
}

/* Media Queries */
@media (min-width: 480px) {
    .hero__name {
        font-size: 3rem;
    }
    
    .hero__title {
        font-size: 1.2rem;
    }
    
    .links {
        padding: 60px 40px;
    }
    
    .link {
        padding: 0 32px;
        height: 56px;
    }
    
    .link::after {
        right: 32px;
    }
    
    .link__icon {
        font-size: 1.4rem;
        margin-right: 20px;
    }
    
    .link__text {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .links__container {
        max-width: none;
        padding: 0 60px;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero__avatar {
        width: 140px;
        height: 140px;
    }
    
    .hero__name {
        font-size: 3.5rem;
    }
    
    .hero__title {
        font-size: 1.3rem;
    }
    
    .links {
        padding: 80px 60px;
    }
    
    .link {
        height: 60px;
        padding: 0 36px;
    }
    
    .link::after {
        right: 36px;
    }
    
    .link__icon {
        font-size: 1.5rem;
        margin-right: 24px;
    }
    
    .link__text {
        font-size: 1.2rem;
    }
}

/* Specific link colors */
.link:nth-child(1) {
    background: linear-gradient(135deg, #5a8f5a 0%, #4a7c4a 100%);
}

.link:nth-child(2) {
    background: linear-gradient(135deg, #41c9b4 0%, #2f9688 100%);
}

.link:nth-child(3) {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.link:nth-child(4) {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.link:nth-child(5) {
    background: linear-gradient(135deg, #e1306c 0%, #c13584 100%);
}

.link:nth-child(6) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.link:nth-child(7) {
    background: linear-gradient(135deg, #87ceeb 0%, #6bb6ff 100%);
}

.link:nth-child(8) {
    background: linear-gradient(135deg, #87ceeb 0%, #6bb6ff 100%);
}

/* Page Header */
.page-header {
    background-color: #2c3e50;
    padding: 20px;
    border-bottom: 3px solid #5a8f5a;
}

.page-header__content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-header__back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #87ceeb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.page-header__back:hover {
    color: #6bb6ff;
}

.page-header__title {
    color: #ff8c00;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

/* Page Content */
.page-content {
    flex: 1;
    background-color: #ffffff;
    padding: 40px 20px;
}

.page-content__container {
    max-width: 600px;
    margin: 0 auto;
}

/* Privacy Policy */
.privacy-policy {
    color: #333;
    line-height: 1.8;
}

.privacy-policy__intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #5a8f5a;
}

.privacy-policy__section {
    margin-bottom: 30px;
}

.privacy-policy__heading {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #5a8f5a;
}

.privacy-policy__text {
    margin-bottom: 15px;
    font-size: 1rem;
}

.privacy-policy__list {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-policy__list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.privacy-policy__contact {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.privacy-policy__contact p {
    margin-bottom: 10px;
}

.privacy-policy__link {
    color: #5a8f5a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-policy__link:hover {
    color: #4a7c4a;
    text-decoration: underline;
}

.privacy-policy__updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.privacy-policy__updated p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Portfolio Page Styles */
.portfolio-page {
    background-color: #f9fafb;
}

/* Portfolio Navigation */
.portfolio-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.portfolio-nav--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-nav--hidden {
    transform: translateY(-100%);
}

.portfolio-nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portfolio-nav__home {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.portfolio-nav__home:hover {
    color: #1d4ed8;
}

.portfolio-nav__menu {
    display: none;
    gap: 30px;
}

.portfolio-nav__link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.portfolio-nav__link:hover {
    color: #2563eb;
}

.portfolio-nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.portfolio-nav__link:hover::after {
    width: 100%;
}

.portfolio-nav__mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 1.2rem;
}

.portfolio-nav__mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-nav__mobile-menu--active {
    display: flex;
}

.portfolio-nav__mobile-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.3s ease;
}

.portfolio-nav__mobile-link:hover {
    color: #2563eb;
}

.portfolio-nav__mobile-link:last-child {
    border-bottom: none;
}

/* Portfolio Hero */
.portfolio-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.portfolio-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.portfolio-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.portfolio-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.portfolio-hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Portfolio Buttons */
.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.portfolio-btn--primary {
    background: #fbbf24;
    color: #1f2937;
}

.portfolio-btn--primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.portfolio-btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.portfolio-btn--secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.portfolio-btn--large {
    padding: 20px 40px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    background: white;
    color: #2563eb;
}

.portfolio-btn--large:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Portfolio Sections */
.portfolio-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-section--alt {
    background: white;
}

.portfolio-section.portfolio-animate--visible {
    opacity: 1;
    transform: translateY(0);
}

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

.portfolio-section__title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #2563eb;
}

.portfolio-section__title--white {
    color: white;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    gap: 30px;
}

.portfolio-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.portfolio-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Portfolio About */
.portfolio-about {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-about__photo {
    width: 100%;
    max-width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-about__name {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.portfolio-about__role {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.portfolio-about__description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #374151;
}

.portfolio-about__description--secondary {
    color: #6b7280;
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-card--blue {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.portfolio-card--yellow {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
}

.portfolio-card--red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.portfolio-card--green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.portfolio-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.portfolio-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.portfolio-card__description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Portfolio Service Card */
.portfolio-service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-service-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: white;
}

.portfolio-service-card__icon--blue {
    background: #2563eb;
}

.portfolio-service-card__icon--orange {
    background: #f59e0b;
}

.portfolio-service-card__icon--green {
    background: #10b981;
}

.portfolio-service-card__icon--purple {
    background: #8b5cf6;
}

.portfolio-service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.portfolio-service-card__description {
    color: #6b7280;
    line-height: 1.6;
}

/* Portfolio Project Card */
.portfolio-project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-project-card__image {
    height: 200px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-project-card__content {
    padding: 30px;
}

.portfolio-project-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.portfolio-project-card__description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-project-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-project-card__date {
    color: #9ca3af;
    font-size: 0.9rem;
}

.portfolio-project-card__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.portfolio-project-card__link:hover {
    color: #1d4ed8;
}

.portfolio-project-card__link:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

/* Portfolio Contact */
.portfolio-contact {
    background: #2563eb;
    color: white;
}

.portfolio-contact__simple {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.portfolio-contact__subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-contact__description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.portfolio-contact__details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-contact__actions {
    margin-bottom: 40px;
}

.portfolio-contact__detail {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.portfolio-contact__social-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.portfolio-contact__social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.portfolio-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.portfolio-contact__form-note {
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Portfolio Footer */
.portfolio-footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.portfolio-footer__copyright {
    margin-bottom: 15px;
    opacity: 0.8;
}

.portfolio-footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-footer__link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-footer__link:hover {
    color: white;
}

.portfolio-footer__separator {
    color: #6b7280;
}

.portfolio-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.portfolio-back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portfolio-back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-nav__menu {
        display: none;
    }
    
    .portfolio-hero__title {
        font-size: 2.5rem;
    }
    
    .portfolio-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .portfolio-hero__buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .portfolio-section {
        padding: 60px 0;
    }
    
    .portfolio-section__title {
        font-size: 2.5rem;
    }
    
    .portfolio-about {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .portfolio-about__photo {
        max-width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .portfolio-grid--3,
    .portfolio-grid--4 {
        grid-template-columns: 1fr;
    }
    
    .portfolio-contact__details {
        flex-direction: column;
        gap: 15px;
    }
    
    .portfolio-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 769px) {
    .portfolio-nav__menu {
        display: flex;
    }
    
    .portfolio-nav__mobile-toggle {
        display: none;
    }
}

/* Media Queries for Page Content */
@media (min-width: 480px) {
    .page-header {
        padding: 30px;
    }
    
    .page-header__title {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 60px 40px;
    }
    
    .privacy-policy__heading {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .page-header__content {
        max-width: none;
        margin: 0;
        padding: 0 60px;
    }
    
    .page-content {
        padding: 80px 40px;
    }
    
    .page-content__container {
        max-width: none;
        margin: 0;
        padding: 0 60px;
    }
    
    .privacy-policy__heading {
        font-size: 1.5rem;
    }
    
    .contact-form__form {
        max-width: none;
    }
}

/* Contact Form */
.contact-form {
    color: #333;
    line-height: 1.8;
}

.contact-form__intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #5a8f5a;
}

.contact-form__form {
    max-width: 600px;
}

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

.form-group__label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group__required {
    color: #e74c3c;
    font-weight: 700;
}

.form-group__input,
.form-group__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group__input:focus,
.form-group__textarea:focus {
    outline: none;
    border-color: #5a8f5a;
}

.form-group__textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group__submit {
    background: linear-gradient(135deg, #5a8f5a 0%, #4a7c4a 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Result Message */
.result-message {
    text-align: center;
    padding: 40px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.result-message__icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-message__icon.success {
    color: #27ae60;
}

.result-message__icon.error {
    color: #e74c3c;
}

.result-message__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.6;
}

.result-message__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.result-message__button {
    background: linear-gradient(135deg, #5a8f5a 0%, #4a7c4a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-message__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.result-message__button--secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Media Queries for Contact Form */
@media (min-width: 480px) {
    .contact-form__form {
        max-width: 600px;
    }
    
    .form-group__input,
    .form-group__textarea {
        padding: 14px 18px;
    }
    
    .form-group__submit {
        padding: 16px 40px;
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .result-message__actions {
        gap: 24px;
    }
    
    .result-message__button {
        padding: 14px 32px;
        font-size: 1.1rem;
    }
}

/* Large Desktop Optimization */
@media (min-width: 1200px) {
    .links__container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: none;
        padding: 0 100px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero__avatar {
        width: 160px;
        height: 160px;
    }
    
    .hero__name {
        font-size: 4rem;
    }
    
    .hero__title {
        font-size: 1.4rem;
    }
    
    .links {
        padding: 100px 100px;
    }
    
    .link {
        height: 70px;
        padding: 0 40px;
    }
    
    .link::after {
        right: 40px;
    }
    
    .link__icon {
        font-size: 1.6rem;
        margin-right: 28px;
    }
    
    .link__text {
        font-size: 1.3rem;
    }
    
    .page-header__content {
        padding: 0 100px;
    }
    
    .page-content__container {
        padding: 0 100px;
    }
    
    .contact-form__form {
        max-width: 800px;
    }
}

/* Fix FontAwesome icon alignment globally - Added to fix tilted icons on VPS */
i[class^="fa"], i[class*=" fa"], 
.fas, .far, .fab, .fal, .fad {
    font-style: normal !important;
    font-weight: normal !important;
    transform: none !important;
    vertical-align: middle;
    line-height: 1;
    text-decoration: none !important;
    display: inline-block;
}

/* Additional fixes for specific icon containers */
.link__icon,
.portfolio-card__icon i,
.portfolio-service-card__icon i,
.portfolio-project-card__image i,
.portfolio-nav__mobile-toggle i {
    font-style: normal !important;
    font-weight: normal !important;
    transform: none !important;
    vertical-align: baseline;
    line-height: inherit;
}