@charset "UTF-8";

/* ==========================================================================
   Variables & Theme
   ========================================================================== */
:root {
    /* Colors */
    --color-bg: #F9F8F4;
    /* オフホワイト・生成り */
    --color-text: #4A4A4A;
    /* やわらかい黒 */
    --color-primary: #8EB8A6;
    /* 優しいグリーン: 安心感 */
    --color-secondary: #E8A88E;
    /* サーモンピンク/テラコッタ: ぬくもり */
    --color-accent: #D4AF37;
    /* 落ち着いたゴールド */
    --color-white: #FFFFFF;
    --color-gray-light: #EFEFEF;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 100px;

    /* Layout */
    --width-inner: 1000px;
    --header-height: 70px;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Quicksand', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

li {
    list-style: none;
}

ul {
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

/* ==========================================================================
   Button
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
    /* override default hover opacity */
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: 'Quicksand', sans-serif;
    color: var(--color-text);
}

.header__nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header__nav-item a {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
}

.header__nav-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 500;
}

.header__nav-btn:hover {
    opacity: 0.8;
}

/* Mobile Menu */
.header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1100;
}

.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 8px;
    transition: 0.3s;
}

.header__hamburger span:nth-child(1) {
    top: 12px;
}

.header__hamburger span:nth-child(2) {
    top: 19px;
}

.header__hamburger span:nth-child(3) {
    top: 26px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding-top: var(--header-height);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero__container {
    max-width: var(--width-inner);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero__content {
    flex: 1;
    z-index: 1;
}

.hero__title {
    font-size: 2.5rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    line-height: 2;
}

.hero__btn-group {
    display: flex;
    gap: 20px;
}

.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero__circle {
    width: 350px;
    height: 350px;
    background-color: #E6F2ED;
    /* very light green */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* blob shape */
    animation: blob-bounce 8s infinite ease-in-out;
}

@keyframes blob-bounce {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0);
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: translate(10px, -10px);
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: translate(-10px, 10px);
    }
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section__inner {
    max-width: var(--width-inner);
    margin: 0 auto;
    padding: 0 20px;
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section__header.--left {
    text-align: left;
}

.section__subtitle {
    display: block;
    font-family: 'Quicksand', sans-serif;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.section__title {
    font-size: 1.75rem;
    font-weight: 700;
}

/* ==========================================================================
   Concept
   ========================================================================== */
.concept__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.concept__item {
    text-align: center;
}

.concept__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.concept__item-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.concept__item-text {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================================================
   Service / Works (Card Grid)
   ========================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card__title {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FDF6F3;
}

.work-card {
    display: block;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-card__thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--color-gray-light);
}

.work-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}

.work-card__body {
    padding: 20px;
}

.work-card__cat {
    display: inline-block;
    font-size: 0.8rem;
    background: #EFF7F4;
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.work-card__title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process__flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.process__step {
    width: calc(33.333% - 20px);
    min-width: 250px;
    text-align: center;
    position: relative;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.process__step-num {
    display: block;
    font-size: 2.5rem;
    color: #E6F2ED;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
}

.process__step-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process__step-text {
    font-size: 0.9rem;
}

.price-box {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 3px solid #FDF6F3;
    max-width: 600px;
    margin: 0 auto;
}

.price-box__title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.price-box__list {
    margin-bottom: 20px;
}

.price-box__list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding: 12px 0;
}

.price-box__label {
    font-weight: 500;
}

.price-box__value {
    color: var(--color-secondary);
    font-weight: 700;
}

.price-box__note {
    font-size: 0.8rem;
    text-align: center;
    color: #888;
}

/* ==========================================================================
   About
   ========================================================================== */
.about__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about__text {
    flex: 1;
}

.about__img {
    flex: 0 0 300px;
}

.about__img-placeholder {
    width: 300px;
    height: 300px;
    background-color: #ddd;
    border-radius: 50%;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-soft);
    background-image: url('https://placehold.jp/300x300.png?text=RYOKO');
    background-size: cover;
}

.about__name {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about__position {
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    color: var(--color-primary);
    margin-left: 10px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 20px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq__q {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    list-style: none;
    /* Hide default triangle */
}

/* Custom triangle */
.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--color-primary);
    font-size: 1.5rem;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}

details[open] .faq__q::after {
    content: '-';
}

.faq__a {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.8;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
    background-color: #F1F8F6;
    /* light green bg */
}

.contact__lead {
    text-align: center;
    margin-bottom: 40px;
}

.contact__form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.required {
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #FAFEFD;
}

.form-btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn--submit {
    min-width: 200px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 20px 0;
    text-align: center;
    background: var(--color-text);
    color: #fff;
}

.footer__copyright {
    font-size: 0.8rem;
    font-family: 'Quicksand', sans-serif;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ==========================================================================
   Nordic Textile Decorations
   ========================================================================== */

/* 1. H2 Background Accent (Organic Blob) */
.section__title {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.section__title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23E8A88E' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-46.3C87.4,-33.4,90.1,-17.7,89.3,-2.3C88.5,13.1,84.1,28.2,75.4,41.2C66.7,54.2,53.7,65.1,39.6,71.9C25.5,78.7,10.3,81.4,-3.6,79.3C-17.5,77.2,-30.1,70.3,-41.8,61.9C-53.5,53.5,-64.3,43.6,-73.2,31.2C-82.1,18.8,-89.1,3.9,-87.3,-10.1C-85.5,-24.1,-74.9,-37.2,-63.3,-46.9C-51.7,-56.6,-39.1,-62.9,-27,-67.2C-14.9,-71.5,-3.3,-73.8,9.7,-75.4L22.7,-77.1L44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15;
    /* Quite subtle */
}

/* 2. Section Corner Decorations */
/* We will attach these to specific sections to avoid repetition on every single one */

/* Concept: Top Left - Dots/Circles */
.concept {
    position: relative;
    overflow: hidden;
    /* Prevent spill */
}

.concept::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='12' fill='%238EB8A6' opacity='0.5'/%3E%3Ccircle cx='50' cy='30' r='8' fill='%23D4AF37' opacity='0.5'/%3E%3Ccircle cx='30' cy='50' r='6' fill='%23E8A88E' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.4;
    z-index: 0;
}

/* Service: Bottom Right - Leaf Pattern */
.service {
    position: relative;
    overflow: hidden;
}

.service::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 180px;
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 C20 0 0 30 0 60 C0 80 20 100 50 100 C80 100 100 80 100 60 C100 30 80 0 50 0 Z M50 10 C70 10 85 30 85 60 C85 75 75 90 50 90 C25 90 15 75 15 60 C15 30 30 10 50 10 Z' fill='%238EB8A6' opacity='0.3'/%3E%3Cline x1='50' y1='10' x2='50' y2='90' stroke='%238EB8A6' stroke-width='2' opacity='0.3'/%3E%3Cline x1='50' y1='30' x2='70' y2='20' stroke='%238EB8A6' stroke-width='2' opacity='0.3'/%3E%3Cline x1='50' y1='50' x2='20' y2='40' stroke='%238EB8A6' stroke-width='2' opacity='0.3'/%3E%3Cline x1='50' y1='70' x2='80' y2='60' stroke='%238EB8A6' stroke-width='2' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(-15deg);
    opacity: 0.25;
    z-index: 0;
}

/* Works: Top Left - Abstract Tree/Triangles */
.works {
    position: relative;
}

.works::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,10 90,80 10,80' fill='%23A3B8C8' opacity='0.4'/%3E%3Cpolygon points='30,40 50,10 70,40' fill='%23fff' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: space;
    background-size: 50px 50px;
    opacity: 0.2;
    z-index: 0;
}

/* About: Bottom Right - Simple Striped Circle */
.about {
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-dasharray='5,5' opacity='0.4'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23E8A88E' stroke-width='2' stroke-dasharray='10,5' opacity='0.4'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%238EB8A6' stroke-width='2' opacity='0.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
    z-index: 0;
}

/* 3. Section Pattern Divider */
/* Add a wave pattern at the top of specific sections */
.service,
.process,
.faq {
    padding-top: calc(var(--spacing-xl) + 20px);
}

.service::before,
.process::before,
.faq::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    /* Wavy line SVG */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='10' viewBox='0 0 40 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 10 0, 20 5 T 40 5' stroke='%23777' stroke-width='1' fill='none' opacity='0.2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 40px 10px;
    opacity: 0.6;
}