
/* 基本スタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

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

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border-color: #6b7280;
}

.btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: #3b82f6;
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: #3b82f6;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* ヘッダー */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo-text {
    font-family: "Pacifico", serif;
    font-size: 32px;
    color: #3b82f6;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* ナビゲーション */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 16px 24px;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 画面幅1200px以下のとき少し小さく */
@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.9rem;
        padding: 12px 14px;
    }
}

/* 画面幅992px以下（タブレット横） */
@media (max-width: 992px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 10px 14px;
    }
}

/* 画面幅768px以下（タブレット縦・スマホ） */
@media (max-width: 768px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 8px 8px;
    }
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

/* メインコンテンツ */
.main-content {
    min-height: calc(100vh - 200px);
}

/* セクション */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ユーティリティクラス */
.text-red {
    color: #ef4444;
}

.text-blue {
    color: #3b82f6;
}

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

/* フッター */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    gap: 40px;
}

.footer-info {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.company-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #3b82f6;
}

.representative {
    font-weight: 600;
    margin-bottom: 8px;
}

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

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

.contact-details a {
    color: #93c5fd;
    text-decoration: none;
}

.contact-details a:hover {
    color: white;
}

.footer-nav h4,
.footer-services h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #3b82f6;
}

.footer-nav ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a,
.footer-services a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-services a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #374151;
    margin-top: 40px;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 16px;
}

.copyright a {
    color: #93c5fd;
    text-decoration: none;
}

.copyright a:hover {
    color: white;
}

.business-hours-footer {
    font-size: 14px;
    color: #9ca3af;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* === logo image === */
.site-logo{
  display:block;
  height: 44px;      /* 調整可: 40–44px 推奨 */
  width:auto;
}
@media (max-width: 640px){
  .site-logo{ height: 38px; }
}

/* Back to Top button */
.back-to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 0;
  outline: none;
  display: grid;
  place-items: center;
  background: #3b82f6;          /* あなたのプライマリカラーに合わせる */
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 1100;
}
.back-to-top:hover{ background: #2563eb; }
.back-to-top:focus-visible{ outline: 2px solid #93c5fd; outline-offset: 2px; }
.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 安全域（iOSなど）を考慮 */
@supports (padding: max(0px)) {
  .back-to-top{
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* 小さい端末では少し小さく */
@media (max-width: 480px){
  .back-to-top{ width: 44px; height: 44px; }
}

/* アニメーション控えめ設定の人に配慮 */
@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition: none; }
}
