@charset "UTF-8";
/* -----------------------------------
    基本設定
-------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Shippori Mincho', 'Yu Mincho', serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #484848;
    background-color: #ffffff;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* -----------------------------------
    共通
-------------------------------------*/
.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 200px;
    padding: 0 20px;
}

.section-inner.fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.section-inner.fadein.active {
    opacity: 1;
    transform: translateY(0);
}

/* セクションタイトルの共通スタイル */
.section-title-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    pointer-events: none;
}

.section-title-container.active {
    opacity: 1;
    visibility: visible;
}

.section-title-container .title {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes titleAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.section-title-container.active .title {
    animation: titleAppear 0.5s ease-out;
}

@media screen and (max-width: 768px) {
    .section-inner {
        padding: 0 15px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

/* -----------------------------------
    ヘッダー
-------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background-color: transparent;
}

/* ヘッダー：メインビジュアル上で透過 */
.header.transparent {
    background-color: rgba(255, 255, 255, 0.0);
    box-shadow: none;
}

/* ヘッダー：その他セクションでは半透明＋ぼける */
.header.blurred {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-image {
    width: 170px;
    height: auto;
    object-fit: contain;
    
    /* マスク関連 */
    -webkit-mask-image: url(../images/book.png);
    mask-image: url(../images/book.png);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    /* より柔らかい浮遊アニメーション */
    animation: 
        fluffy-float 5s ease-in-out infinite,
        subtle-rotate 6s ease-in-out infinite alternate;
    
    /* パフォーマンス最適化 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    animation: 
        wave-movement 5s ease-in-out infinite;
}

/* 柔らかい上下浮遊 */
@keyframes wave-movement {
    0%, 100% {
        transform: 
            translateY(0) 
            rotate(0deg);
    }
    25% {
        transform: 
            translateY(-10px) 
            rotate(-3deg);
    }
    50% {
        transform: 
            translateY(0) 
            rotate(0deg);
    }
    75% {
        transform: 
            translateY(10px) 
            rotate(3deg);
    }
}

/* 影のアニメーション */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    top: 20px;
    width: 300px;
    height: 200px;
    overflow: visible;

    &::after {
        content: '';
        position: absolute;
        bottom: -7px; /* 位置調整 */
        left: 50%;
        transform: translateX(-50%);
        width: 75%; /* 幅の調整 */
        height: 7px; /* 高さの調整 */
        background: radial-gradient(
            ellipse at center, 
            rgba(0,0,0,0.2) 0%, 
            rgba(0,0,0,0.1) 100%
        );
        border-radius: 50%;
        animation: natural-shadow-float 5s ease-in-out infinite;
        z-index: -1;
        }
}

@keyframes natural-shadow-float {
    0%, 100% {
        width: 75%;
        opacity: 0.2;
        transform: 
            translateX(-50%) 
            scale(1);
        bottom: -7px;
    }
    50% {
        width: 55%;
        opacity: 0.1;
        transform: 
            translateX(-50%) 
            scale(0.8);
        bottom: -10px;
    }
}

/* よりリアルな影のバージョン */
.logo-container {
    position: absolute;
    left: 20px; /* または適切な左側の余白 */
    
    .logo-image {
        filter: drop-shadow(0 15px 10px rgba(0, 0, 0, 0.3));
    }
}

.sp-nav {
    display: none;
}

nav.gnav-pc-wrap {
    display: flex;
    align-items: center;          
    justify-content: center;
    height: 100%;
    padding: 0 1.25rem;
    background-color: transparent;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

ul.gnav-pc {
    font-size: 16px;
    font-family: 'Shippori Mincho', serif;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

ul.gnav-pc li {
    margin: 0 0.9375rem;
    display: flex;
    align-items: center;
}

ul.gnav-pc li.site-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2.5rem;
    padding: 0 1.25rem;
}

.site-title-container img {
    width: 8vw;
    max-width: 200px;
    height: auto;
}

nav.gnav-pc-wrap .button-small {
    position: absolute;           
    right: 1.25rem;               
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}


@media screen and (max-width: 768px) {
    .header {
        height: 4rem;
        padding: 5px 10px;
    }

    /* スクロール時も透過を維持 */
    .header.scrolled {
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .logo-container {
        top: 10px;
        width: 60px;
        height: 60px;
    }

    .logo-image {
        max-width: 50px;
        max-height: 50px;
    }

    /* ロゴとナビゲーションアイコンの色調整 */
    .header .logo-image,
    .hamburger__line {
        filter: brightness(0.8);
    }

    .pc-nav {
        display: none !important;
    }

    .gnav-pc-wrap {
        display: none !important;
    }

    /* SPメニューのデフォルトスタイル */
    .sp-nav-wrapper {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1500;
    }

    /* メニューの初期状態 */
    .sp-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        transition: left 0.3s ease;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-nav li {
    margin-top: 2rem;; 
}

    /* メニューが開いた状態 */
    .sp-nav.open {
        left: 0;
    }

    /* ハンバーガーボタンのスタイル */
    .hamburger {
        position: fixed;
        top: 12px;
        right: 20px;
        width: 30px;
        height: 20px;
        z-index: 1001;
        cursor: pointer;
    }

    .hamburger__line {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        position: absolute;
        transition: all 0.3s ease;
    }

    .hamburger__line--1 { top: 0; }
    .hamburger__line--2 { top: 10px; }
    .hamburger__line--3 { top: 20px; }

    /* メニュー開閉時のハンバーガーボタンアニメーション */
    .sp-nav-wrapper.open .hamburger__line--1 {
        top: 10px;
        transform: rotate(45deg);
    }

    .sp-nav-wrapper.open .hamburger__line--2 {
        opacity: 0;
    }

    .sp-nav-wrapper.open .hamburger__line--3 {
        top: 10px;
        transform: rotate(-45deg);
    }

    /* メインページのロゴコンテナを非表示 */
    .logo-container {
        display: none;
    }

    /* スマホメニュー内の姉妹サイトリンクスタイル */
    .sister-site-link {
        margin-top: 2rem;
        text-align: center;
        padding: 1rem 0;
        border-top: 1px solid #f0f0f0;
    }

    .sister-site-link .sister-site-logo {
        max-width: 100px;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    .sister-site-link .sister-site-logo:hover {
        transform: scale(1.1);
    }
}

/* -----------------------------------
    mainvisual
-------------------------------------*/
#mainvisual {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #f5f0e6 0%, #eaddcb 50%, #d6c4b0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overflow: visible;
}

.mainvisual-content {
    width: 90%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.mainvisual-media {
    position: relative;
    margin-right: 10rem;
    bottom: -5rem;
}

.mainvisual-mockup {
    max-width: 18rem;
    transform:
        rotate(6deg)
        perspective(1000px)
        translateX(20px)
        translateY(-10px);
    filter: drop-shadow(10px 15px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
    z-index: 20;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.handwriting {
    font-family: 'Shippori Mincho', serif;
    text-align: center;
    padding-left: 10rem;
    margin-top: 5rem;
    animation: blurFadeIn 1.5s ease-out forwards;
}

.handwriting h1 {
    color: #757575;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    text-align: center;
    word-break: keep-all;
    word-wrap: break-word;
}

.handwriting p {
    font-family: 'Shippori Mincho', serif;
    color: #757575;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.pc-only {
    display: block;
}
.sp-only {
    display: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
    
    .sp-only {
        display: block;
    }

    .header {
        height: 4rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        background-color: transparent;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    #mainvisual {
        min-height: 100vh;
        padding-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
    }

    .mainvisual-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding-top: 4rem;
        position: relative;
        z-index: 2;
    }

    @keyframes fadeIn {
        from { 
            opacity: 0; 
            transform: translateY(10px); 
        }
        to { 
            opacity: 1; 
            transform: translateY(0); 
        }
    }

    .handwriting {
        margin-right: 0;
        padding-left: 0;
        margin-bottom: 16rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .handwriting h1 span {
        display: block;
        will-change: opacity, transform;
        backface-visibility: hidden;
        perspective: 1000px;
        font-size: 1.2rem;
        line-height: 2;
    }

    .handwriting h1 {
        font-size: 20px;
        color: #333;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    }

    .handwriting p {
        font-size: 10px;
        letter-spacing: 0.2em;
        color: #333;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    }

    .mainvisual-media {
        position: absolute;
        right: 2.5rem;
        bottom: 2rem;
        margin-right: 3rem;
        transform: rotate(6deg) translate(10px, -10px);
        z-index: 0;
        opacity: 0.9;
    }

    .mainvisual-mockup {
        max-width: 100px;
        filter: none;
    }
}


/* -----------------------------------
    タイトル
-------------------------------------*/
.title {
    text-align: center;
    margin-bottom: 50px;
}

.title-1 {
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.title-2 {
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
    .title-1 {
        font-size: 1.5rem;
    }
    
    .title-2 {
        font-size: 0.9rem;
    }
}

/* -----------------------------------
    messagefor
-------------------------------------*/
#messagefor .section-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

#messagefor {
    padding-top: 7.5rem;
    margin-top: -7.5rem;
    background-color: #fff;
    margin-top: 100px;
    margin-bottom: 5.5rem;
}

.message_txt {
    margin-left: 70px;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

.message_txt .large {
    font-size: 25px;
    letter-spacing: 0.1em;
    line-height: 1.8em;
    width: 100%;
    text-align: center;
}

.message_right {
    font-size: 25px;
    letter-spacing: 0.05em;
    line-height: 1.8em;
    width: 100%;
    margin-bottom: 70px;
}

.large,
.message_right {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 1.5s ease-out;
}

.large.show,
.message_right.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.message_txt .normal {
    font-size: 18px;
    line-height: 2.1em;
    letter-spacing: 0.1em;
    text-align: center;
    width: 100%;
}

.message_txt .normal br.sp-br {
    display: none;
}

/* レスポンシブ対応のメディアクエリ */
@media screen and (max-width: 768px) {
    #messagefor {
        padding-top: 2rem;
        margin-bottom: 0;
    }

    .message_txt {
        max-width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .title {
        text-align: center;
    }

    .message_txt p.large {
        font-size: 17px;
        line-height: 1.8;
        letter-spacing: 0.02em;
        text-align: center;
    }

    .message_right {
        font-size: 17px;
        line-height: 1.8;
        letter-spacing: 0.02em;
        margin-bottom: 50px;
        text-align: center;
        float: none;
        padding-right: 0;
        display: block;
        width: 100%;
    }

    .message_txt p.normal {
        font-size: 14px;
        line-height: 2.0;
        letter-spacing: 0.05em;
        margin-top: 1rem;
        text-align: left;
        padding: 0 20px;
    }

    .message_txt br {
        display: none;
    }

    .message_txt p.large span {
        display: inline-block;
    }

    .message_txt p.normal span {
        display: inline-block;
        margin-bottom: 1.5rem;
    }

    .message_txt .normal br.sp-br {
        display: block;
    }
}

/* -----------------------------------
    work
-------------------------------------*/
.work {
    margin-bottom: -50px;
}

.work-item {
    margin: 0 auto 50px auto;
    width: 70em;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e0e0e0;
    padding: 50px;
    border-radius: 8px;
}

.work-img {
    max-width: 500px;
    margin-right: 80px;
    object-fit: contain;
}

.work-info {
    display: flex;
    flex-direction: column;
}

.work-client {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2em;
}

.work-type {
    color: #b7a99c;
    font-size: 0.8em;
    margin: 10px 0 15px 0;
}

.work-scope {
    margin-top: 0.5em;
    padding-top: 0.5em;
    font-size: 0.75em;
    color: #888;
    letter-spacing: 0.05em;
    border-top: 1px dashed #ddd;
    line-height: 1.6;
}


.work-link {
    display: inline-block;
    background-color: #a08c7d;
    color: white;
    padding: 6px 14px;
    font-size: 0.85em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 10px;
    align-self: flex-end;
}

.work-link:hover {
    background-color: #8c7565;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.work-client,
.work-type,
.work-scope {
    align-self: flex-start;
}

.work-img,
.work-info {
    width: 100%;
    align-self: auto;
}

.work-txt {
    font-size: 0.9em;
    margin-top: 1.2em;
    margin-bottom: 1.5em;
}

.work-price {
    font-size: 0.9rem;
    color: #999;
    margin: -0.5em 0 1em 0;
}

.price-regular {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 6px;
}
.price-monitor {
    color: #a08c7d;
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    #work {
        margin-top: 50px;
        scroll-margin-top: -7.5rem;
    }


    .work-item {
        flex-direction: column;
        width: 100%;
        padding: 0;
        border: none;
    }

    .work-img {
        width: 100%; 
        height: 250px;
        margin-right: 0;
        object-fit: cover;
        object-position: center;
    }

    .work-info {
        width: 100%;
        padding: 20px 15px;
        align-items: center;
        text-align: center;
    }

    .work-client {
        font-size: 1em;
        text-align: center;
    }

    .work-txt {
        font-size: 0.8em;
    }

    .work-type {
        color: #b7a99c;
        margin-bottom: 5px;
    }

    .work-scope {
        letter-spacing: 0.1em;
    }

    .work-link {
        margin-top: 15px;
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* -----------------------------------
    skill
-------------------------------------*/
#skill {
    background-color: #f4f4f4;
    padding: 1px 0;
    font-family: 'Shippori Mincho', serif;
}

.pro-skills {
    display: flex;
    justify-content: center;
}

.skill-wrap {
    display: flex;
    gap: 30px;
}

.skill-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 350px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.expertise-icon {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expertise-icon img {
    position: relative;
    z-index: 2;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-item:hover .expertise-icon img {
    transform: scale(1.1);
}

.skill-item h3 {
    position: relative;
    font-size: 1.4em;
    color: #484848;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 550;
    text-shadow: none;
    box-shadow: none;
}

.skill-item h3::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 1px;
    background-color: #f4f4f4;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.skill-item:hover h3::before {
    transform: translateX(-50%) scaleX(1);
}

.expertise-details ul {
    list-style-type: none;
    padding: 0;
}

.expertise-details ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
}

.skill-certification {
    margin-top: 30px;
    text-align: center;
}

.certification-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.certification-badge span {
    background-color: #f4f4f4;
    color: #484848;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
}

@media screen and (max-width: 768px) {
    .skill-wrap {
        flex-direction: column;
        align-items: center;
    }
    
    .skill-item {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }
}

/* -----------------------------------
    about
-------------------------------------*/
.profile {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.prof-img img {
    width: 300px;
    object-fit: cover;
}

.prof-txt {
    max-width: 770px;
    line-height: 2em;
}

p.name-1 {
    color: #b7a99c;
    font-size: 15px;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
}

p.name-2 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 50px;
}

.description {
    font-size: 16px;
    letter-spacing: 0.07em;
}

.career-timeline {
    position: relative;
    padding-left: 30px;
    margin: 3em 0;
}

.career-item {
    position: relative;
    padding-bottom: 20px;
}

.career-item::before {
    font-family: 'Font Awesome 6 Free';  /* バージョン6 */
    content: '\f0f6'; /* アイコン */
    font-weight: 900;
    color: #b7a99c;
    font-size: 20px;
    position: absolute;
    left: -35px;
    top: 24px;
}

.career-item::after {
    content: '';
    position: absolute;
    left: -30px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.career-item h4 {
    color: #b7a99c;
    font-weight: 400d;
}

.career-txt {
    font-size: 13px;
}

p.omoi {
    font-size: 19px;
    margin-top: 20px;
}

/* タブレットサイズ */
@media screen and (max-width: 1024px) {
    .profile {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .prof-img img {
        width: 250px; /* 画像サイズ調整 */
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .profile {
        gap: 20px;
    }

    .prof-img img {
        width: 200px;
    }

    .prof-txt {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }

    p.name-2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .description {
        font-size: 14px;
    }

    .omoi span {
        display: block;
        font-size: 15px;
    }
}

/* -----------------------------------
    contact
-------------------------------------*/
#contact {
    text-align: center;
    padding: 0.5rem 1rem;
}

.contact--txt {
    margin: 0 auto;
    font-size: 1.1em;
    color: #848484;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.contact-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Shippori Mincho', serif;
    background: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}
.contact-form select:focus {
    border-color: #d1bfa3;
    outline: none;
}

.contact-form label {
    font-weight: bold;
    color: #5a4a42;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Shippori Mincho', serif;
    background: #fff;
    transition: border-color 0.3s ease;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    vertical-align: middle;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d1bfa3;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.contact-form button {
    background: #a78b71;
    color: white;
    text-align: center;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #8e735a;
}

.thanks-message {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255, 248, 230, 0.95);
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.thanks-message.show {
    opacity: 1;
    pointer-events: auto;
}

.thanks-box {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 90%;
}

.thanks-image {
    width: 60px;
    margin-bottom: 1rem;
}

.thanks-box h3 {
    font-size: 1.8rem;
    color: #a78b71;
    margin-bottom: 1rem;
}

.thanks-box p {
    font-size: 1rem;
    color: #444;
}

.back-button {
    margin-top: 2rem;
    padding: 10px 20px;
    background: #a78b71;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #8e735a;
}



@media screen and (max-width: 576px) {
    .button a {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

/* -----------------------------------
    footer
-------------------------------------*/
footer {
    text-align: center;
    padding: 1.25rem;
    background-color: #f4f4f4;
    color: #424242;
    position: relative;
    font-size: 0.9em;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media screen and (max-width: 576px) {
    footer {
        font-size: 0.8rem;
    }
}

/* フォント適用 */
:lang(en) {
    font-family: 'Shippori Mincho', serif;
}



