/* CSS変数定義 */
:root {
    --s-font-dbbd1818: 'Tenor Sans';
    --s-font-9385a369: 中ゴシックBBB;
    --s-font-179840c0: 'Noto Sans JP';
    --s-font-35af1460: 'Noto Serif JP';
    --s-font-b3a8444a: 'Cormorant Garamond';
    --s-font-628c8656: Inter, 'Noto Sans JP';
}

:host, :root {
    --fa-style-family-classic: "Font Awesome 6 Free";
    --fa-font-solid: normal 900 1em / 1 "Font Awesome 6 Free";
    --fa-style-family-brands: "Font Awesome 6 Brands";
    --fa-font-brands: normal 400 1em / 1 "Font Awesome 6 Brands";
}

:root {
    --rebranding-loading-bg: #ffffff;
    --rebranding-loading-bar: #000;
}


/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--s-font-179840c0), sans-serif;
    line-height: 1.6;
    color: #000;
    background: #ffffff;
    overflow-x: hidden;
    font-weight: 300;
}
img {
    display: block;
    width: 100%;
    max-width: 100%;
}
a:-webkit-any-link {
    color: #000;
    cursor: pointer;
    text-decoration: none;
}
.breadcrumb a:hover,
a:hover,
.social-icons a.social-link:hover {
    text-decoration: none;
    color: #333;
    transition: all 0.5s ease;
}
main{
    overflow: hidden;
}
/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 1rem 0 0 0; */
    /* max-width: 1860px; */
    width: 100%;
    margin: 0 auto;
}

.logo {
    width: 300px;
}

.logo h1 {
    font-family: var(--s-font-35af1460);
    font-weight: 400;
    color: #000000;
    font-size: 32px;
    letter-spacing: 0.5em;
    line-height: 1.4;
    margin: 0;
    opacity: 1;
    padding: 1rem 0 1rem 17%;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4a7c59;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 138px;
    padding: 26px 48px;
    transition: all 0.3s ease;
}
@media (min-width: 1001px) {
.hamburger:hover {
    background: #000;
}
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #333;
    margin: 6px 0;
    transition: 0.3s;
}

.hamburger:hover span {
    background: #fff;
}

/* ハンバーガーメニューオーバーレイ */
.hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hamburger-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background:#f6f6f6;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hamburger-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 74px;
    height: 56px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.hamburger-close:hover {
    background: #333;
}

.hamburger-menu.active {
    right: 0;
}

.hamburger-menu-list {
    list-style: none;
    margin: 80px 0 0 0;
    text-align: center;
    font-family: var(--s-font-35af1460);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.4;
    padding: 0 48px 24px;
}

.hamburger-menu-list li {
    margin: 0 0 3rem 0;
    text-align: left;
}

.hamburger-menu-list a {
    font-family: var(--s-font-35af1460);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hamburger-menu-list a:hover {
    color: #ccc;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-family: var(--s-font-179840c0), sans-serif;
}

.btn-primary {
    background: #000;
    color: white;
    border: 1px solid #000;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
}

.btn-secondary {
    background: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-secondary:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: #000;
    border: 1px solid white;
    width: 83%;
    font-family: var(--s-font-35af1460);
    font-size: 15px;
    font-weight: 500;
}

.btn-white:hover {
    background: #f5f5f5;
}

/* 問合せボタン */
.contact-botn{
    background: #000;
    color: #fff;
    text-align: center;
    position: fixed;
    top: 50%;
    z-index: 10;
    right: 0;
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
}
.contact-botn a {
    color: #fff;
    font-family: var(--s-font-35af1460), sans-serif;
    font-size: 1.2rem;
    letter-spacing: 7px;
    font-weight: 400;
    text-align: center;
    writing-mode: vertical-rl;
    padding: 3rem 0.5rem;
    text-decoration: none;
}
.contact-botn:hover {
    background: #fff;
    border: 1px solid #000;
    border-right: 0;
    transition: all 0.3s ease;
}
.contact-botn a:hover{
    color: #000;
}

@media screen and (max-width: 750px) {
    .contact-botn{
        display: none;
    }
}


/* ヒーローセクション */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 5% 48px 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/mv_pc.jpg) no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-overlay {
    text-align: center;
    color: #333;
    z-index: 2;
    position: relative;
}

.hero-overlay h2 {
    color: #FFFFFF;
    font-family: var(--s-font-35af1460);
    font-size: 86px;
    font-weight: 400;
    height: auto;
    letter-spacing: 0.15em;
    line-height: 1.6;
    text-align: left;
    width: auto;
    max-width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ニュースセクション */
.news-section {
    position: relative;
    z-index: 3;
    background: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 620px;
    box-shadow: 0px 14px 30px 0px rgba(0, 0, 0, 0.2);
    top: -2.8rem;
}

.news-label {
    color: #333;
    flex: none;
    font-family: var(--s-font-b3a8444a);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-align: left;
    width: 28px;
    writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    max-width: calc(100% - 20px);
    justify-content: flex-start;
}

.news-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-height: 60px;
}
a.news-title-text {
    display: block;
    transition: opacity 0.3s;
    font-family: var(--s-font-35af1460);
    font-weight: 400;
}

/* ローディング状態 */
.news-loading {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-loading p {
    font-family: var(--s-font-179840c0), sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ニュースアイテム */
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    opacity: 0.5;
}

.news-thumbnail {
    width: 230px;
    height: 83px;
    flex-shrink: 0;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999;
    border-radius: 4px;
    min-height: 83px;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.news-text {
    flex: 1;
    min-width: 0;
}
.top_news #news-excerpt {
    display: none;
}

.news-text p {
    font-family: var(--s-font-35af1460), sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.news-text p:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--s-font-dbbd1818);
    font-size: 12px;
    width: 20%;
    padding: 5px;
    letter-spacing: 0;
}



.news-date {
    color: #000000;
    font-family: var(--s-font-dbbd1818);
    font-size: 16px;
    font-weight: 400;
    height: auto;
    letter-spacing: 0.15em;
    line-height: 1.4;
    margin: 0px 0px 6px 0px;
    text-align: left;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    display: block;
}

.news-title {
    color: #333;
    flex: none;
    font-family: var(--s-font-35af1460);
    font-size: 20px;
    font-weight: 500;
    height: auto;
    letter-spacing: 0.15em;
    line-height: 1.2;
    margin: 0px 0px 0px 0px;
    text-align: left;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
}

/* エラー状態 */
.news-error {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.news-error p {
    font-family: var(--s-font-179840c0), sans-serif;
    font-size: 0.9rem;
    margin: 0;
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* セクションタイトル */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    margin: 0px 0px 96px 0px;
}

.title-line {
    height: 1px;
    background: #000000;
    width: 0%;              /* 初期状態は0% */
    transition: width 1s ease; /* 1秒に調整 */
    transform-origin: left; /* 左端から開始 */
    align-self: flex-start; /* 左端に配置 */
    margin-left: 0;         /* 左マージンを0に */
    position: absolute;
    left: 0;
    bottom: -24%;
}

.title-line.animate {
    width: 100%;            /* アニメーション時は100% */
}
section#contact .about-subtitle {
    position: relative;
}

.section-title h2 {
    font-family: var(--s-font-b3a8444a), sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-align: center;
    position: relative;
}

/* ゆらぎについて */
.about {
    max-width: 1860px;
    margin: 0px 48px 0px;
    padding: 96px 0px 0px 0px;
    background: #f6f6f6;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 32px 32px;
    position: relative; /* 左半分の背景用 */
    align-items: end;
    margin: 0px 0px 96px 0px;
}

/* 左半分の背景（グラデーション不使用） */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #f0f0f0;
    z-index: 0;
}

/* コンテンツを背景より前面に */
.about-content > * {
    position: relative;
    z-index: 1;
}

.about-content.reverse {
    align-items: unset;
}

.about-content.reverse .about-text {
    order: 1;
}

.about-content.reverse .about-image {
    order: 2;
}

.about-text {
    width: calc(100% - 96px);
    margin: 6rem auto 0;
    padding: 0px 15px 0px;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c5530;
}

.about-text p {
    font-family: var(--s-font-35af1460), serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.6;    
}

/* プロフィール */
.profile-section{
    position: relative;
    padding-bottom: 15rem;
}

.profile-image{
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    box-shadow: 14px 14px 50px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.profile-image:hover::before {
    opacity: 1;
}
.profile-text{
    width: 100%;
    max-width: 740px;
    margin: 6.5rem auto 3rem;
    transition-delay: 600ms;
    transition-duration: 1600ms;
    font-family: var(--s-font-35af1460);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.8;
    text-align: justify;
    color: #000;
}
.profile-text:nth-of-type(-n+3) {
    margin-bottom: 0;
}
.profile-text:nth-last-of-type(-n+4) {
    margin-top: 3rem;
}

h4.profile-text + .profile-text {
    margin-top: 1rem;
}
.vertical_line {
  display: inline-block;
  width: 1px;
  height: 2em;
  background-color: #333;
  vertical-align: middle;
}



.art_fair{
    display: flex;
    align-items: center;
} 

.art_fair .art_fair_text{
    padding-left: 1rem;
    text-indent: 0em;
}


.profile-botn a {
    color: #fff;
    background: #000;
    width: 24%;
    margin: 0 auto;
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    font-family: var(--s-font-35af1460);
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    font-size: 18px;
}
.profile-botn a:hover{
    color: #000;
    background: #fff;
    border: 1px solid #000;
}

.nature-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.leaf {
    position: absolute;
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    border-radius: 50% 0 50% 0;
    opacity: 0.7;
    animation: sway 8s ease-in-out infinite;
}

.leaf-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.leaf-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.leaf-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}



.art-supplies {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 1rem;
}

.supply-item {
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 50%;
}

.ink-painting {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.ink-flow {
    position: absolute;
    background: #333;
    border-radius: 50%;
    opacity: 0.7;
}

.ink-flow:first-child {
    width: 80px;
    height: 40px;
    top: 30%;
    left: 20%;
    transform: rotate(45deg);
}

.ink-flow:last-child {
    width: 60px;
    height: 30px;
    bottom: 30%;
    right: 20%;
    transform: rotate(-30deg);
}

/* ギャラリー */
.gallery {
    background: #333;
    color: white;
    padding: 22rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 14px 14px 50px 0px rgba(0, 0, 0, 0.2);
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/top_gallery.webp') center center no-repeat;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
}

.gallery-background {
    position: relative;
    z-index: 2;
}

.gallery-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-content h2 {
    font-family: var(--s-font-b3a8444a), sans-serif;
    font-size: 64px;
    font-weight: 500;
    letter-spacing: 0.25em;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.gallery-content p {
    font-family: var(--s-font-35af1460), sans-serif;
    font-size: 18px;
    margin-bottom: 2rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
    line-height: 1.6;
    font-weight: 400;
}

.gallery .btn-white:hover{
    color: #fff;
    background: #000;
    transition: all 0.5s ease;
    border: 1px solid #000;
}

/* 下層　ギャラリー　パンくず */
.breadcrumb{
    font-family: var(--s-font-b3a8444a), sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.6;
    max-width: 1860px;
    margin: 0px 48px 3rem;
}
.breadcrumb a{
    text-decoration: underline;
}
@media screen and (max-width: 750px) {
    .breadcrumb {
        margin: 0px 1rem 3rem;
        font-size: 1.0rem;
    }
}

/* お問い合わせ */
.contact {
    max-width: 1860px;
    background: #f6f6f6;
    margin: 0 48px 3rem;
    padding: 13rem 48px 13rem 72px;
    display: flex;
    justify-content: space-evenly;
    gap: 64px;
}
.contact .section-title {
    width: calc(50% - (64px * 0.5));
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-label {
    font-weight: 600;
    color: #2c5530;
    min-width: 80px;
}

.contact-value {
    color: #666;
}

.contact-text {
    text-align: center;
}

.contact-text p {
    font-family: var(--s-font-35af1460), serif;
    font-size: 24px;
    line-height: 1.8;
    margin: 3.1rem 0;
    text-align: left;
    padding: 0;
}
.contact-text .btn{
    color: #fff;
    background: #000;
    width: 58%;
    margin: 0 auto;
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    font-family: var(--s-font-35af1460);
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    font-size: 16px;
}

.contact-text .btn:hover{
    color: #000;
    background: #fff;
    border: 1px solid #000;
}



.contact-art-supplies {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 1rem;
}
.contact-content{
    background: url(../img/news_contact.webp) no-repeat center center;
    background-size: cover;
    box-shadow: 14px 14px 50px 0px rgba(0, 0, 0, 0.2);
    flex: none;
    height: 74vh;
    opacity: 1;
    transform: translate(0px, 0px);
    transition-delay: 1000ms;
    transition-duration: 1600ms;
    width: calc(53% - (64px * 0.8));
    max-width: calc(53% - (64px * 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* フォーム */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c5530;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

/* フッター */
.footer {
    background: #f6f6f6;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid #eee;
}

@media (width < 750px) {
    .footer {
        padding-bottom: 5rem;
    }
}

.footer-content {
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e8f5e8;
}

.footer-section p {
    color: #c3cfe2;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #c3cfe2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e8f5e8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #c3cfe2;
}

.social-links h3,.social-link {
    font-family: var(--s-font-b3a8444a), sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    line-height: 1.3;
}

@media (width < 750px) {
    .social-links h3,.social-link {
        font-size: 16px;
    }
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}



.social-icons a.social-link {
   text-decoration:underline;
}

.copyright p {
    font-family: var(--s-font-35af1460), sans-serif;
    font-size: 0.8rem;
    color: #000;
}



/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* アニメーション対象要素の初期状態 */
.contact-content, .gallery-content, .profile-image, .profile-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
} 

/* ABOUT -YURAGI- 見出し */
.about-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about-subtitle {
    font-family: var(--s-font-b3a8444a);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.3;
    color: #333;
    text-align: center;
}

.about-title {
    font-family: var(--s-font-35af1460);
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.25em;
    line-height: 1.4;
    padding-top: 2rem;
} 


.hero-overlay h2 span {
  opacity: 0;
  display: inline-block;
  transition: transform 1s ease, opacity 1s ease;
  transform: translate(var(--tx, 0), var(--ty, 0)); /* 初期オフセット */
  will-change: transform, opacity;
}

/* 最終位置（表示状態） */
.hero-overlay h2 span.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* 1・3（奇数）は左下から */
.hero-overlay h2 span.from-left-bottom {
  --tx: -50px;
  --ty: 50px;
}

/* 2・4（偶数）は右下から → 左上方向に入る */
.hero-overlay h2 span.from-right-bottom {
  --tx: 50px;
  --ty: 50px;
} 
@media (min-width: 1001px) {
    .pc-none{
        display: none;
    }
}

/* レスポンシブデザイン */
@media (max-width: 1000px) {
    .header{
        height: 57px;
    }
    .nav-menu {
        display: none;
    }

    
    .hamburger {
        padding: 1rem 1rem;
    width: 10%;
    position: relative;
        right: 2%;
    }
    
    .hamburger-menu {
        width: 80%;
        right: -1000px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .logo h1{
        font-size: 20px;
        padding: 1rem 1rem;
    }
    .hero-text h2 {
        font-size: 2.5rem;
    }
    /* TOP　ニュース */
    .news-date,
    .news-text p {
        font-size: 12px;
    }

    .about-title{
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    

    .about-content.reverse .about-image {
        order: 1;
      }
      .about-content.reverse .text-container {
        order: 2;
      }
    
    .news-section {
        align-items: flex-start;
        gap: 1rem;
        width: 86%;
        padding: 10px;
        overflow: hidden;
    }
    
    .news-content {
        width: calc(100% - 30px);
    }
    .news-thumbnail {
        width: 40%;
        height: 62px;
        overflow: hidden;
    }
    .news-label {
        font-size: 18px;
    }
    
    .section-title {
        gap: 1rem;
        margin-bottom: 5rem;
    }
    /* プロフィール */
    .profile-section {
        width: 73%;
        margin: 0 auto;
      }

      .profile-section .about-heading,
      .profile-image,.profile-text,.profile-botn a,.btn-white{
        width: 100%;
      }

    .gallery-content h2 {
        font-size: 2rem;
    }

    /* コンタクト */
    .contact {
        margin: 3rem;
        padding: 4rem;
        flex-wrap: wrap;
        gap: 44px;
      }
      .top_cc.contact {
            margin: 6rem 1rem 1rem;
        padding: 3rem 1.5rem;
}



}

@media (max-width: 750px) {
    .hamburger{
        padding: 0;
    }
    .logo h1 {
    padding: 1rem 0rem;
  }
    .hero {
        margin: 5% 5% 0;
        min-height: 70vh
    }
    .hamburger-menu {
        width: 80%;
    }
    
    .hero-overlay h2 {
        font-size: 2rem;
        line-height: 2;
        font-weight: 500;
    }

    .about-title {
        font-size: 1.5rem;
      }
    
    .section-title h2 {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .about {
        padding: 7rem 1.5rem 3rem;
        margin: 1rem 1rem 0;
    }
    .contact .section-title{
        width: 100%;
        margin-bottom: 2rem;
    }

      /*  ニュース */
      #news-title a.news-title-text {
        font-size: 13px;
        margin: -0.3rem 0 0;
        font-weight: 600;
        letter-spacing: 0.06em;
    }
      /* ABOUT -YURAGI- */
      .about-content {
        padding: 0;
      }
      .about-text {
        width: 100%;
        margin: 1rem 0 0;
        padding: 0;
      }


      /* プロフィール */
      .profile-section{
        width: 100%;
        padding-bottom: 2rem;
      }
      .profile-text {
        margin: 40px auto;
        font-size: 14px;
      }
      .vertical_line {
        height: 3em;
    }
    .profile-botn a{
        padding: 0.5rem 2rem;
    }

      /* コンタクト */
      .contact-text p{
        font-size: 16px;
        margin: 3.1rem 0 2rem;
      }
      .contact-text .btn{
        font-size: 14px;
      }
      .contact-text .btn,.contact-content {
        max-width: 100%;
        width: 100%;
      }
      .contact-content {
        height: 46vh;
    }
}