/*
Theme Name: YOSHY Corporate
Theme URI: https://yoshy.co.jp
Author: YOSHY Inc.
Author URI: https://yoshy.co.jp
Description: 株式会社YOSHY コーポレートサイト用テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yoshy
*/

/* ========================================
   Reset & Base
======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Klee One', cursive; 
    color: #333; 
    line-height: 1.8; 
    background: #fff; 
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ========================================
   Header
======================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255,255,255,0.95);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon { width: 40px; height: 40px; }
.logo-text {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.3rem;
    color: #2d5a3d;
    letter-spacing: 3px;
}
.main-nav { display: flex; gap: 35px; }
.main-nav a {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.main-nav a:hover { color: #2d5a3d; }

/* ========================================
   Hero
======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}
.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #f8faf8;
}
.hero-copy {
    writing-mode: vertical-rl;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.7rem;
    color: #2d5a3d;
    letter-spacing: 0.3em;
    line-height: 2.8;
}
.hero-copy .sub {
    font-size: 1rem;
    color: #5a8a6a;
    margin-top: 30px;
}
.hero-right {
    position: relative;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scroll-hint {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 3px;
}

/* ========================================
   Section Common
======================================== */
section { padding: 100px 60px; }
.section-label {
    font-size: 0.65rem;
    color: #aaa;
    letter-spacing: 5px;
    margin-bottom: 15px;
}
.section-num {
    font-size: 0.7rem;
    color: #ccc;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    color: #2d5a3d;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* ========================================
   About
======================================== */
.about {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 40px;
}
.about p {
    font-size: 1rem;
    color: #555;
    line-height: 2.8;
}

/* ========================================
   Message
======================================== */
.message {
    background: #f8faf8;
}
.message-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}
.message-label {
    text-align: right;
    padding-right: 40px;
    border-right: 1px solid #ddd;
}
.message-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 2.5;
    margin-bottom: 20px;
}
.message-sign {
    text-align: right;
    margin-top: 40px;
    color: #2d5a3d;
    font-size: 0.9rem;
}

/* ========================================
   Properties
======================================== */
.properties {
    padding: 120px 60px;
}
.properties-header {
    text-align: center;
    margin-bottom: 60px;
}
.properties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.property-image {
    height: 200px;
    overflow: hidden;
}
.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.property-card:hover .property-image img {
    transform: scale(1.05);
}
.property-info {
    padding: 30px;
    text-align: center;
}
.property-info h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    color: #2d5a3d;
    margin-bottom: 10px;
    font-weight: 400;
}
.property-count {
    font-size: 2rem;
    color: #2d5a3d;
    margin: 15px 0;
}
.property-count span {
    font-size: 1rem;
}
.property-info p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.8;
}

/* ========================================
   Services
======================================== */
.services {
    background: #2d5a3d;
    color: #fff;
    padding: 120px 60px;
}
.services-header {
    text-align: center;
    margin-bottom: 60px;
}
.services-header .section-label { color: rgba(255,255,255,0.5); }
.services-header .section-title { color: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.service-item {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}
.service-item:hover {
    transform: translateY(-5px);
}
.service-num {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    padding: 20px 20px 10px;
}
.service-image {
    height: 180px;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-item:hover .service-image img {
    transform: scale(1.05);
}
.service-item h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 20px 20px 15px;
    letter-spacing: 2px;
}
.service-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
    padding: 0 20px 30px;
}

/* ========================================
   FAQ
======================================== */
.faq {
    padding: 120px 60px;
    background: #fff;
}
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}
.faq-q span {
    font-family: 'Shippori Mincho', serif;
    color: #2d5a3d;
    font-size: 1rem;
}
.faq-q p {
    font-size: 0.95rem;
    color: #333;
}
.faq-a {
    padding-left: 30px;
    font-size: 0.9rem;
    color: #666;
    line-height: 2;
}

/* ========================================
   News
======================================== */
.news {
    background: #f8faf8;
    padding: 120px 60px;
}
.news-header {
    text-align: center;
    margin-bottom: 60px;
}
.news-list {
    max-width: 600px;
    margin: 0 auto;
}
.news-item {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: baseline;
}
.news-date {
    font-size: 0.8rem;
    color: #2d5a3d;
    flex-shrink: 0;
    letter-spacing: 1px;
}
.news-text {
    font-size: 0.9rem;
    color: #555;
}

/* ========================================
   Company
======================================== */
.company {
    padding: 120px 60px;
}
.company-header {
    text-align: center;
    margin-bottom: 60px;
}
.company-table {
    max-width: 600px;
    margin: 0 auto;
}
.company-table table {
    width: 100%;
    border-collapse: collapse;
}
.company-table th,
.company-table td {
    padding: 25px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}
.company-table th {
    width: 30%;
    color: #2d5a3d;
    font-weight: 400;
}
.company-table td {
    color: #555;
}

/* ========================================
   Contact
======================================== */
.contact {
    background: #f8faf8;
    color: #333;
    padding: 120px 60px;
    text-align: center;
}
.contact .section-label { color: #aaa; }
.contact .section-title { color: #2d5a3d; margin-bottom: 20px; }
.contact > p {
    color: #666;
    margin-bottom: 50px;
}
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form {
    text-align: left;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}
.form-group label .required {
    color: #c55;
    font-size: 0.8rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-family: 'Klee One', cursive;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5a3d;
}
.form-group textarea {
    resize: vertical;
}
.submit-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: #2d5a3d;
    color: #fff;
    font-family: 'Klee One', cursive;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}
.submit-btn:hover {
    background: #1a3a2a;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: #1a3a2a;
    color: rgba(255,255,255,0.6);
    padding: 40px;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .site-header { padding: 15px 20px; }
    .main-nav { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-left { min-height: 50vh; }
    .hero-right { min-height: 50vh; }
    .hero-copy { font-size: 1.4rem; }
    section { padding: 80px 25px; }
    .message-inner { grid-template-columns: 1fr; }
    .message-label { 
        text-align: center; 
        border-right: none; 
        padding: 0 0 30px 0; 
        border-bottom: 1px solid #ddd; 
    }
    .properties-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .service-item { 
        margin-bottom: 20px;
    }
    .news-item { flex-direction: column; gap: 8px; }
    .contact { padding: 80px 25px; }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }
}
