/*!
Theme Name: villare
Description: Description
Version: 1.0.0

*/

/* ========================================
   基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    background: #fff;
}

/* リンク */
a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #0a55bd;
}

/* リスト */
ul {
    list-style-type: none;
}

ul.wp-block-list{
    list-style-type: disc;
	list-style-position: inside;
}




/* ========================================
   ユーティリティクラス
======================================== */
.blue {
    color: #0a55bd;
}

.txt_b {
    font-weight: bold;
}

.txt_c{
	text-align:center;
}

.bg_gray {
    background-color: #f4f4f4;
}

.white{
	color:#fff;
}

.pad20 {
    padding: 20px;
}

.pad_l_10 {
    padding-left: 10px;
}

.mar_b_20 {
    margin-bottom: 20px;
}

.mar_t_20 {
    margin-top: 20px;
}

.mar_t_30 {
    margin-top: 30px;
}

.mar_t_40 {
    margin-top: 40px;
}

.pc {
    display: block;
}

.mob {
    display: none;
}

.open-sans-300 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: italic;
    font-variation-settings: "wdth" 100;
}

.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   レイアウト
======================================== */
#primary {
    width: 100%;
}

.widget-area {
    max-width: 320px;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section.blogtop {
    padding-top: 40px;
}

/* タイトル枠 */
.title_waku {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    padding-right: 0px;
    padding-bottom: 0;
    padding-left: 0px;
}

.blog-heading-text {
    font-size: 32px;
    margin-bottom: 15px;
}

.uagb-separator {
    display: inline-block;
    border-top-style: solid;
    border-top-width: 4px;
    width: 66px;
    border-color: #0170b9;
    margin-bottom: 4px;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a55bd;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

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

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* ロゴ */
.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    line-height: 1;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 0.85rem;
	line-height:1.4rem;
    opacity: 0.95;
    margin-top: 0.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
	margin-left:30px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

a.nav_menu {
    position: relative;
    display: inline-block;
}

a.nav_menu::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

a.nav_menu:hover::after {
    transform: scale(1, 1);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        url('https://plain-design.jp/villare/wp-content/uploads/ihouse_2025_2.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    line-height: 1.5em;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.whitewaku {
    background-color: #fff;
    padding: 30px 20px;
    max-width: 620px;
    margin: 0 auto;
	border-radius:6px;
}

/* CTAボタン */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a55bd;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 2;
    width: 280px;
    margin: 10px auto;
    gap: 10px;
    box-shadow: 3px 8px 12px 0px #00000026;
    transition: transform 0.3s;
}

.cta-button:hover {
    background-color: #ff9a4d;
	color:#fff;
}

/* ========================================
   特徴セクション
======================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	border-radius:6px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card.service-card {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.service-card-image {
    flex: 0 0 45%;
    height: 300px;
    background: linear-gradient(135deg, #0a55bd 0%, #2574d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.service-card-content {
    flex: 1;
    padding: 2.5rem 2.5rem 2.5rem 0;
}

.service-card-content .feature-icon {
    display: none;
}

.service-card-content .feature-title {
    margin-top: 0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a55bd;
}

.feature-text {
    color: #555;
    line-height: 1.8;
}

/* ========================================
   サービスセクション
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #0a55bd;
    opacity: 0;
    transform: translateY(20px);
}

.service-item.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.service-item h3 {
    color: #0a55bd;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}





/* ========================================
   オーナーメッセージ
======================================== */
.owner-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.owner-profile {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.owner-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #0a55bd 0%, #2574d8 100%);
}

.owner-text h3 {
    color: #0a55bd;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.owner-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.owner-credentials {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #ddd;
    font-size: 0.95rem;
    color: #666;
}

/* ========================================
   料金セクション
======================================== */
.pricing-section {
    background: #f8f9fa;
    padding: 5rem 2rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
}

.pricing-card.visible {
    animation: scaleIn 0.6s ease forwards;
}

.pricing-card.featured {
    border: 3px solid #f58220;
    transform: scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a55bd;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f58220;
    margin-bottom: 0.5rem;
}

.plan-price small {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 2rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
}

/* ========================================
   FAQセクション
======================================== */
.faq-section {
    max-width: 900px;
    margin: 3rem auto;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
}

.faq-item.visible {
    animation: slideInLeft 0.5s ease forwards;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 700;
    color: #0a55bd;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.8;
}

/* ========================================
   ニュースセクション
======================================== */
.news-section {
    background: #f8f9fa;
    padding: 1rem 2rem;
}

.news-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.news-item {
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    align-items: center;
	border-radius:6px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-date {
    flex-shrink: 0;
    color: #0a55bd;
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 100px;
}

.news-label {
    flex-shrink: 0;
    background: #0a55bd;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-label a {
    color: #fff;
    text-decoration: none;
}

.news-label.campaign {
    background: #f58220;
}

.news-label.info {
    background: #28a745;
}

.news-content {
    flex: 1;
}

.news-title {
    color: #333;
    font-weight: 600;
    line-height: 1.6;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

.news-more a {
    display: inline-block;
    color: #0a55bd;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: 2px solid #0a55bd;
    border-radius: 30px;
    transition: all 0.3s;
}

.news-more a:hover {
    background: #0a55bd;
    color: white;
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact-section {
    background: linear-gradient(135deg, #0a55bd 0%, #084a9e 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 6px;
    min-width: 250px;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

/* ========================================
   ブログ関連
======================================== */
.blog .post,
.single .post,
.archive .post {
    background-color: #fff;
    padding: 35px;
    margin: 0 0 20px;
    border-radius: 20px;
}

.post .entry-content {
	margin:40px 0;
}

.entry-meta {
    font-size: 0.7em;
	margin-top:8px;
	text-align:right;
}


.entry-title {
    font-size: 1.5em;
    line-height: 1.5em;
}

.wp-block-latest-posts__post-date {
    font-size: 0.8em;
    color: #0a55bd;
}

.cat-links a {
    color: #0a55bd;
    font-size: 15px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}



/* ウィジェット */
.widget_recent_entries,
.wp-block-categories {
    width: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
}

/* ========================================
   チャットボット
======================================== */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58220 0%, #ff9a4d 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 130, 32, 0.4);
    font-size: 1.8rem;
    z-index: 1000;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chatbot-button:hover {
    transform: scale(1.1);
}

/* チャットウィンドウ */
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

/* チャットヘッダー */
.chatbot-header {
    background: linear-gradient(135deg, #0a55bd 0%, #2574d8 100%);
    color: white;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    height: 60px;
}

.chatbot-header h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 0.7;
}

/* メッセージエリア */
.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    scroll-behavior: smooth;
}

/* スクロールバー */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #e9ecef;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #868e96;
}

/* メッセージ */
.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease-in;
}

.bot-message {
    background: white;
    padding: 0.9rem 1.1rem;
    border-radius: 15px 15px 15px 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 85%;
    white-space: pre-line;
    word-wrap: break-word;
    line-height: 1.6;
    font-size: 0.95rem;
    align-self: flex-start;
}

.user-message {
    background: #0a55bd;
    color: white;
    padding: 0.9rem 1.1rem;
    border-radius: 15px 15px 5px 15px;
    max-width: 85%;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.6;
    font-size: 0.95rem;
    align-self: flex-end;
}

/* オプションボタン */
.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.chat-option {
    background: white;
    border: 2px solid #0a55bd;
    color: #0a55bd;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    width: 100%;
    transition: all 0.3s;
}

.chat-option:hover {
    background: #0a55bd;
    color: white;
    transform: translateX(5px);
}

.chat-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   アイコン・装飾要素
======================================== */
.dashicons {
    font-size: 30px !important;
    width: 30px !important;
    height: 30px !important;
}

.material-symbols-outlined {
    font-size: 32px;
}

.material-symbols-outlined.iconbig {
    font-size: 45px;
}

.uagb-ifb-image-content {
    width: 35px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 5px;
}

.number {
    margin-top: -75px;
    font-size: 75px;
    line-height: 1;
    color: rgba(40, 117, 223, 0.3);
    margin-bottom: 20px;
}



.services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .service-item {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 12px;
            border-left: 4px solid #0a55bd;
        }
        
        .service-item h3 {
            color: #0a55bd;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        
        .service-item ul {
            list-style: none;
            padding-left: 0;
        }
        
        .service-item li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
        }


.service-item li:before {
    font-family: 'Material Icons';
    content: "\e835";
    position: absolute;
    left: 0;
    color: #0a55bd;
    font-weight: bold;
}

.service-item li.check:before {
    font-family: 'Material Icons';
    content: "\e834";
    position: absolute;
    left: 0;
    color: #0a55bd;
    font-weight: bold;
}


/* ========================================
   フッター
======================================== */
.footer {
    background: #084a9e;
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer p {
		font-size:14px;
}

/* ========================================
   アニメーション
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* ヒーローアニメーション */
.hero h1,
.hero p {
    opacity: 1;
}

.hero h1 .char {
    display: inline-block;
    opacity: 0;
}

.hero p {
    opacity: 0;
    transform: translateY(30px);
}

.cta-button {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

/* キーフレーム定義 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/*ContactForm7カスタマイズ*/
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
}
table th {
  width: 25%;
  background-color:#fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
  padding: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-align: left;
}
table td {
  border: 1px solid #dddddd;
  background-color:#f9f9f9;
  box-sizing: border-box;
  padding: 15px;
  vertical-align: top;
  text-align: left;
}
@media all and (max-width: 600px) {
  table th {
    text-align:left;
  }
  table th, table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  table tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
  }
}


#autozip{
    background-color: #0A55BD !important;
}

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

.flex_top{
display:flex;
align-items: flex-start;
gap:60px;
}

div.CF7_req{
display:inline-block;
background-color:#0A55BD;
color:#fff;
font-size:0.7em;
white-space: nowrap;
line-height:1em !important;
padding:3px 6px 4px;
margin-right:8px;
border-radius:4px;
vertical-align:middle;
}

input.wpcf7-text{
box-sizing: border-box;
width:100%;
}

.wpcf7 textarea {
box-sizing: border-box;
width: 100%;
}

input,
input[type="radio"] + label,
input[type="checkbox"] + label:before,
select option,
textarea,
select {
  padding: 1em;
  line-height: 1.4;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  -webkit-transition: 0.35s ease-in-out;
  -moz-transition: 0.35s ease-in-out;
  -o-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
input:focus {
  outline: 0;
  border-color: #333;
}

textarea:focus {
  outline: 0;
  border-color: #333;
}

input[type="radio"]:checked + label,
input:checked + label:before,
select:focus,
select:active {
  background-color: #ffe530 !important;
  color: #fff;
  border-color: #ffe530;
}


p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#000;
	border-radius:4px;
	color:#fff;
	font-size:1.3rem;
	font-weight:bold;
	margin:30px auto;
	padding:10px 70px;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

.wpcf7-not-valid-tip{
font-size:0.8rem;
color:#ff6000;
}







/* ========================================
   レスポンシブ対応(タブレット・スマートフォン)
======================================== */
@media (max-width: 768px) {
    /* 表示切替 */
    .pc {
        display: none;
    }

    .mob {
        display: block;
    }

    /* ヘッダー */
    .header-content {
        padding: 0 1rem;
    }

    .logo img {
        height: 50px;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background: #0a55bd;
        flex-direction: column;
        padding: 0;
        transition: right 0.3s;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* ヒーロー */
    .hero h1 {
        font-size: 1.4rem;
		line-height:2.3rem;
    }
	
	.hero{
		padding: 5rem 2rem;
	}

    .hero p {
        font-size: 1rem;
    }
	
    /* セクション */
    .section-title {
        font-size: 2rem;
    }
	
	.section {
    padding: 3rem 1rem;
}

    /* サービスカード */
    .feature-card.service-card {
        flex-direction: column;
        gap: 0;
    }

    .service-card-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .service-card-content {
        padding: 2rem;
    }

    /* オーナープロフィール */
    .owner-profile {
        flex-direction: column;
        text-align: center;
    }

    /* ニュース */
    .news-item {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date {
        min-width: auto;
    }

    /* ブログ */
    .flex_top {
        flex-direction: column;
    }
	
	.entry-title {
	font-size: 1.3em;
    line-height: 1.6em;
    }
	
	.widget-area {
    width: 100% !important;
    max-width:800px;
    }
	
	.page-title{
	text-align:center;
    }


    /* チャットボット */
    .chatbot-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .chatbot-window {
        width: calc(100% - 40px);
        height: 450px;
        right: 20px;
        left: 20px;
        bottom: 90px;
    }
.nav a {
	margin-left:0;
	width:180px;
	text-align:center;
}
.contact-section {
    padding: 2rem 1.5rem;
}
}


    .image-container {
      position: relative;
      width: 100%;
      height: 300px;
      margin: 20px auto;
      overflow: hidden;
    }

    .image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* 1枚のシャッター(左端から全体を覆う) */
    .shutter {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #f4f4f4;
      z-index: 1;
    }


.info-card {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}