/* ===== 基本設定 ===== */
:root {
    --primary-color: #2a7ab0; /* 地中海の青 */
    --secondary-color: #65a9d7; /* 明るい空色 */
    --accent-color: #f2c94c; /* 太陽の黄色 */
    --text-color: #2c3e50;
    --light-text: #ffffff;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --footer-bg: #1e5f88;
    --terracotta: #e57f50; /* 地中海のテラコッタカラー */
    --sand-color: #f5eee6; /* 砂浜の色 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ===== ヘッダー ===== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    padding-bottom: 5px;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

.nav ul li a.btn-primary {
    padding: 10px 20px;
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-radius: 50px;
}

.nav ul li a.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.nav ul li a.btn-primary::after {
    display: none;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ===== ヒーロー ===== */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(249, 249, 249, 1), rgba(249, 249, 249, 0));
    z-index: 5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        var(--terracotta),
        var(--terracotta) 10px,
        var(--sand-color) 10px,
        var(--sand-color) 20px
    );
    z-index: 6;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 10;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
}

.hero-content .btn-primary {
    font-size: 1.1rem;
    padding: 15px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 8s ease-in-out infinite;
}

#float1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

#float2 {
    top: 40%;
    right: 15%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

#float3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
}

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

/* ===== 事務所について ===== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    height: 400px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 75, 132, 0.2), rgba(26, 75, 132, 0));
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がコンテナにぴったり収まるように */
    transition: transform 0.5s ease;
    object-position: center; /* 中央に配置 */
}

.image-container:hover {
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.image-container:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--terracotta);
    padding-bottom: 10px;
    display: inline-block;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.image-badge {
    position: absolute;
    right: -10px;
    bottom: 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px 0 0 30px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    z-index: 2;
}

.image-badge i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cafe-atmosphere {
    background-color: var(--sand-color);
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.cafe-atmosphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.1) 0%, rgba(229, 127, 80, 0.05) 100%);
    border-radius: 0 8px 8px 0;
    z-index: -1;
}

.cafe-atmosphere i {
    color: var(--terracotta);
    font-size: 1.8rem;
    margin-right: 15px;
    margin-top: 5px;
}

.cafe-atmosphere p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

/* ===== サービス内容 ===== */
.services {
    position: relative;
    background-color: var(--bg-color);
    padding: 80px 0;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%232a7ab0' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(42, 122, 176, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    z-index: -1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--light-text);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.service-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== 経営理念 ===== */
.philosophy {
    background-color: var(--primary-color);
    color: var(--light-text);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.wave-decoration {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    background-repeat: repeat-x;
    z-index: 1;
}

.wave-decoration.top {
    top: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' style='fill:%23f5f7fa;'/%3E%3C/svg%3E");
    transform: rotate(180deg);
}

.wave-decoration.bottom {
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' style='fill:%23f5f7fa;'/%3E%3C/svg%3E");
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%2365a9d7' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23f2c94c'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.philosophy .container {
    position: relative;
    z-index: 2;
}

.philosophy .section-title {
    color: var(--light-text);
}

.philosophy .section-title::after {
    background-color: var(--accent-color);
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.philosophy-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
    z-index: 1;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(42, 122, 176, 0.05), transparent);
    z-index: -1;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent-color);
}

.philosophy-card:hover .philosophy-icon {
    background-color: var(--primary-color);
}

.philosophy-card:hover .philosophy-icon::before {
    opacity: 1;
    transform: scale(1.1);
}

.philosophy-card:hover .philosophy-icon i {
    color: var(--light-text);
}

/* メッセージ部分のデザイン改良 */
.message {
    background-color: var(--sand-color);
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--terracotta);
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C150,40 350,0 500,30 C650,60 800,10 1000,30 C1100,45 1150,25 1200,0 L1200,30 L0,30 Z' style='fill: %232a7ab0; opacity: 0.03;'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 30px;
    z-index: 0;
    opacity: 0.3;
}

.message h3 {
    color: var(--terracotta);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    font-family: 'Noto Serif JP', serif;
    z-index: 1;
}

.message p {
    position: relative;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-color);
    z-index: 1;
}

/* ===== プロフィール ===== */
.profile {
    position: relative;
    background-color: var(--bg-color);
    padding: 80px 0;
    overflow: hidden;
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(101, 169, 215, 0.05) 0%, rgba(42, 122, 176, 0.1) 100%);
    z-index: 0;
}

/* 装飾的な波の要素 */
.profile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C150,40 350,0 500,30 C650,60 800,10 1000,30 C1100,45 1150,25 1200,0 L1200,30 L0,30 Z' style='fill: %232a7ab0;'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 30px;
    opacity: 0.7;
}

/* 装飾的な船のアイコン */
.profile-decorative-icon {
    position: absolute;
    color: rgba(42, 122, 176, 0.1);
    z-index: 0;
}

.profile-decorative-icon.icon1 {
    top: 50px;
    right: 10%;
    font-size: 4rem;
    transform: rotate(15deg);
}

.profile-decorative-icon.icon2 {
    bottom: 80px;
    left: 8%;
    font-size: 3rem;
    transform: rotate(-10deg);
}

/* プロフィール画像の装飾強化 */
.profile-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 30%;
    height: 30%;
    border: 3px solid var(--terracotta);
    border-radius: 10px;
    z-index: -1;
}

.profile-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 70%;
    height: 70%;
    border: 3px solid var(--accent-color);
    border-radius: 10px;
    z-index: -1;
}

.profile-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: translateY(-5px);
}

.profile-info {
    flex: 2;
    min-width: 300px;
}

.profile-info h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.profile-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.profile-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    margin-top: 15px;
    font-weight: 500;
}

.profile-details {
    margin-bottom: 25px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}

.profile-details p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.profile-details p i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1rem;
}

.profile-bio {
    line-height: 1.7;
}

.profile-bio p {
    margin-bottom: 15px;
}

/* カフェノートのデザイン改善 */
.cafe-note {
    background-color: var(--sand-color);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    margin-top: 25px;
    border-top: 3px solid var(--terracotta);
}

.cafe-note p {
    font-style: italic;
    color: var(--text-color);
    font-family: 'Noto Serif JP', serif;
    line-height: 1.8;
    text-align: center;
    margin: 10px 0;
}

.cafe-note i.fa-quote-left {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 1.5rem;
    color: var(--terracotta);
    background-color: var(--sand-color);
    padding: 5px;
    border-radius: 50%;
}

.cafe-note i.fa-quote-right {
    position: absolute;
    bottom: -15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--terracotta);
    background-color: var(--sand-color);
    padding: 5px;
    border-radius: 50%;
}

/* ===== お問い合わせ ===== */
.contact {
    background-color: var(--sand-color);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        var(--terracotta),
        var(--terracotta) 10px,
        var(--sand-color) 10px,
        var(--sand-color) 20px
    );
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--terracotta);
    margin-right: 15px;
}

.contact-form form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 75, 132, 0.2);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
}

.cafe-hours {
    margin-top: 40px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-top: 3px solid var(--terracotta);
}

.cafe-hours h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.cafe-hours h4 i {
    color: var(--terracotta);
    margin-right: 10px;
}

.cafe-hours p {
    margin-bottom: 10px;
}

.cafe-hours p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* ===== フッター ===== */
.footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    padding: 80px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        var(--terracotta),
        var(--terracotta) 10px,
        var(--sand-color) 10px,
        var(--sand-color) 20px
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo h3 i {
    margin-right: 5px;
}

.footer-logo p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* === レスポンシブ設定 === */
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 0;
    }
    
    .logo {
        margin-bottom: 0;
        max-width: 75%;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .hamburger-menu {
        display: block;
        position: relative;
        top: 0;
        right: 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 80px 20px 20px;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .nav ul li {
        margin: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }
    
    .nav ul li:last-child {
        border-bottom: none;
    }
    
    .nav ul li a {
        color: var(--light-text);
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .nav ul li a::after {
        display: none;
    }
    
    .nav ul li a:hover {
        color: var(--accent-color);
    }

    .nav ul li a.btn-primary {
        background-color: var(--accent-color);
        color: var(--primary-color);
        border: none;
        text-align: center;
        margin-top: 20px;
        padding: 12px 20px;
    }
    
    .nav ul li a.btn-primary:hover {
        background-color: var(--terracotta);
        color: var(--light-text);
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-content, .profile-content {
        flex-direction: column;
    }

    .floating-element {
        display: none;
    }

    .profile-content {
        gap: 30px;
    }
    
    .profile-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .profile-image::before, 
    .profile-image::after {
        width: 25%;
        height: 25%;
    }
    
    .profile-info h3 {
        font-size: 1.8rem;
    }
    
    .cafe-note {
        padding: 15px;
    }
    
    .cafe-note p {
        font-size: 0.95rem;
    }

    /* サービスアイコンとサイズを揃える */
    .philosophy-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 20px;
    }
    
    .philosophy-icon i {
        font-size: 1.8rem !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid, .philosophy-cards {
        grid-template-columns: 1fr;
    }
    
    .message {
        padding: 20px;
    }

    /* サービスアイコンとサイズを揃える */
    .philosophy-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .philosophy-icon i {
        font-size: 1.6rem !important;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .contact-wrapper {
        padding: 0;
    }
    
    .contact-card {
        padding: 20px 15px;
        margin: 0;
    }
    
    .contact-header h3 {
        font-size: 1.2rem;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* ===== アニメーション ===== */
/* 地中海カフェの雰囲気を表現するエフェクト */
.cafe-wave-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,186.7C96,181,192,171,288,154.7C384,139,480,117,576,133.3C672,149,768,203,864,208C960,213,1056,171,1152,144C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x;
    background-size: 100% 120px;
    opacity: 0.4;
    z-index: 0;
    animation: wave-motion 15s linear infinite;
    pointer-events: none;
}

@keyframes wave-motion {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1440px;
    }
}

/* アロマの香りを表現する視覚効果 */
.aroma-effect {
    position: absolute;
    top: 60%;
    right: 20%;
    z-index: 1;
    pointer-events: none;
}

.aroma-bubble {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(229, 127, 80, 0.2);
    animation: aroma-rise 5s ease-in-out infinite;
}

.aroma-bubble:nth-child(1) {
    left: 0;
}

.aroma-bubble:nth-child(2) {
    left: 15px;
}

.aroma-bubble:nth-child(3) {
    left: 30px;
}

@keyframes aroma-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-80px) scale(2);
        opacity: 0;
    }
}

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

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

.profile .container {
    position: relative;
    z-index: 1;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
    margin-top: 30px;
}

/* その他のスタイル修正 */
.profile-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.profile-info {
    flex: 2;
    min-width: 300px;
}

/* サービスカードのレスポンシブ改善 */
@media screen and (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 576px) {
    .services {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
}

/* 経営理念アイコンのスタイル - ここですべてを定義 */
.philosophy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(42, 122, 176, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.philosophy-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.philosophy-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.philosophy-card:hover .philosophy-icon {
    background-color: var(--primary-color);
}

.philosophy-card:hover .philosophy-icon::before {
    opacity: 1;
    transform: scale(1.1);
}

.philosophy-card:hover .philosophy-icon i {
    color: var(--light-text);
}

/* 個別アイコンのスタイル削除 - もう必要ありません */
.philosophy-icon i.fa-atlas,
.philosophy-icon i.fa-compass,
.philosophy-icon i.fa-anchor {
    /* 削除 */
}

/* 経営理念カードのテキストスタイルを復元 */
.philosophy-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.philosophy-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.philosophy-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

/* Googleフォームのスタイル */
.google-form-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.google-form-container h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.google-form-container p {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.google-form-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin: 15px 0;
    width: 100%;
    max-width: 300px;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

/* お問い合わせセクションの新しいスタイル */
.contact-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: rgba(42, 122, 176, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.contact-item:hover {
    background-color: rgba(42, 122, 176, 0.1);
    transform: translateY(-3px);
    border-left: 4px solid var(--accent-color);
}

.contact-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(42, 122, 176, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-email:hover i {
    color: var(--accent-color);
}

.contact-hours:hover i {
    color: var(--terracotta);
}

/* カフェ時間のスタイルを調整 */
.cafe-hours {
    background-color: var(--sand-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    border-left: 4px solid var(--terracotta);
}

.cafe-hours-content {
    display: flex;
    align-items: center;
}

.cafe-icon-wrapper {
    background-color: var(--terracotta);
    color: var(--light-text);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(229, 127, 80, 0.3);
}

.cafe-icon-wrapper i {
    font-size: 2rem;
}

.cafe-text h4 {
    color: var(--terracotta);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.cafe-text p {
    color: var(--text-color);
    line-height: 1.6;
}

.contact-form-container {
    text-align: center;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px dashed rgba(42, 122, 176, 0.2);
    padding-top: 50px;
}

.contact-btn {
    display: inline-block;
    padding: 18px 35px;
    font-size: 1.15rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .contact-card {
        padding: 25px 20px;
    }
    
    .cafe-hours-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cafe-icon-wrapper {
        margin: 0 auto 15px;
    }
    
    .contact-form-container {
        padding-top: 30px;
    }
}

@media screen and (max-width: 576px) {
    .contact-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-header h3 {
        font-size: 1.4rem;
    }
} 