/* 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;
}

/* 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;
    }
}