/*
Theme Name: ナツメアイ
Theme URI: https://www.ragnize.com
Author: RAGNIZE株式会社
Author URI: https://www.ragnize.com
Description: ナツメアイ公式サイト用カスタムテーマ。Bootstrap 5を使用したレスポンシブデザイン。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: natsume-ai
*/

:root {
    --primary: #00d9cc;
    --primary-dark: #00b8ad;
    --secondary: #667eea;
    --accent: #4fd1c5;
    --dark: #0f1419;
    --dark-800: #1a1f2e;
    --dark-700: #2d3748;
    --gray: #a0aec0;
    --light: #f7fafc;
}

/* グローバルスタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.sp{
   display: none; 
}
.pc{
    display:block;
}
@media (max-width: 768px) {
.sp{
   display: block; 
}
.pc{
    display:none;
}
}
/* メインコンテンツを伸ばしてフッターを下部に */
.site-content {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* ヘッダー */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 217, 204, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.site-header .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ボタン */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 217, 204, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 217, 204, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
.btn-primary-custom,.btn-secondary-custom {
    padding: 0.3rem 0.7rem;
    font-size:1rem!important
}


}


/* ヒーローセクション */
.hero-section {
    margin-top: 80px;
    /*max-height: 70vh;*/
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    /*top: -50%;*/
    right: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 217, 204, 0.3) 0%, transparent 100%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(180deg); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image {
    height: 100%;
    max-height: 500px;
 border-radius: 24px; 
}









/*youtube*/

.youtube {
width:100%;
max-width:1000px;
aspect-ratio: 16 / 9;
margin:0 auto;
}
.youtube iframe {
  width: 100%;
  height: 100%;
  margin:50px auto 0 auto;
}
/* カードスタイル */
.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 217, 204, 0.15);
}

.card-custom img{
    width:80%;
    margin:0 auto 2rem auto;
}
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin:0 auto 1rem auto;
    color:#fff;
}

.kouka h3{
    color: var(--primary);
}
.kouka ul{
    padding:0;
}
.kouka ul li{
    list-style: none!important;
    margin:0;
    padding:0;
}
/**Success Points**/
.point .inner h3{
    background-color: #00b8ad;
    padding: 1rem;color:#fff;
    border-radius: 5px;
}

.point ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
}
.point ul> li {
    position: relative;
    padding: 0px 0px 0.5rem 2em;
    margin: 0px;
    border-bottom:1px solid #00b8ad;
}
.point ul> li::before,
.point ul> li::after {
    position: absolute;
    top: 50%;
    height: 1em;
    content: "";
}
.point ul> li::before {
    left: 0px;
    transform: translateY(-50%);
    width: 1em;
    border: 1px solid #00b8ad;
}
.point ul> li::after {
    left: 0.5em;
    transform: translateY(-75%) rotate(45deg);
    width: 0.5em;
    border-bottom: 3px solid #00b8ad;
    border-right: 3px solid #00b8ad;
}

.point ul> li + li {
    margin: 1em 0px 0px;
}

/* FAQ */
#faq{
  background: linear-gradient(135deg, #F3FFFD 0%, #E8FBFF 45%, #F2F0FF 100%);
}

#faq .accordion-item{
  border: 1px solid rgba(57,211,198,.20);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(2,132,199,.06);
}

#faq .accordion-button{
  background-color: rgba(255,255,255,.92);
  color: #062B2A;
  font-weight: 700;
}

#faq .accordion-button:not(.collapsed){
  background: linear-gradient(135deg, rgba(57,211,198,.18), rgba(89,214,255,.16));
  color: #05302E;
  box-shadow: none;
}

#faq .accordion-body{
  background-color: rgba(255,255,255,.88);
  color: rgba(6,43,42,.82);
}

#faq .accordion-button::after{
  filter: hue-rotate(155deg) saturate(2.2) brightness(.95);
}

/* TEL */

.tel .bnr{
  position: relative;
  overflow: hidden;
  max-width:1000px;
  margin:0 auto;
  border-radius: 24px;
  background:
    radial-gradient(900px 520px at 15% 25%, rgba(57, 211, 198, .55) 0%, rgba(57, 211, 198, 0) 55%),
    radial-gradient(780px 460px at 85% 20%, rgba(99, 102, 241, .25) 0%, rgba(99, 102, 241, 0) 58%),
    linear-gradient(135deg, #F3FFFD 0%, #E8FBFF 45%, #F2F0FF 100%);
  border: 1px solid rgba(57, 211, 198, .22);
  box-shadow:
    0 18px 40px rgba(2, 132, 199, .10),
    0 10px 22px rgba(57, 211, 198, .10);
}

.tel .bnr::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.22) 100%);
  opacity:.7;
  pointer-events:none;
}

.tel .bnr > *{
  position: relative;
  z-index: 1;
}
.tel .bnr a{
    font-size:3rem;
    font-weight: bold;
    color:#fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}
@media (max-width: 600px) {
.tel .bnr a{ font-size:2rem;}
}
/* セクション */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-700);
}

/* 背景バリエーション */
.bg-light-custom {
    background: var(--light);
}

.bg-dark-custom {
    background: linear-gradient(135deg, var(--dark-800), var(--dark));
    color: white;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

/* フッター */
.site-footer {
    background: var(--dark);
    color: var(--gray);
    flex-shrink: 0;
}

.site-footer h3, .site-footer h4 {
    color: white;
}

.site-footer a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}


/* 共通：メッセージの見た目 */
.natsume-form .wpcf7-response-output{
  border-width: 1px;
  border-style: solid;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0 0;
}

/* 成功（送信完了） */
.natsume-form.sent .wpcf7-response-output{
  border-color: rgba(57, 211, 198, .55);  /* #39D3C6系 */
  background: rgba(57, 211, 198, .12);
  color: #062B2A;
}

/* 入力エラー（未入力など） */
.natsume-form.invalid .wpcf7-response-output{
  border-color: rgba(245, 158, 11, .55);  /* amber */
  background: rgba(245, 158, 11, .12);
  color: #3b2f07;
}

/* 送信失敗（通信/サーバーエラー等） */
.natsume-form.failed .wpcf7-response-output,
.natsume-form.aborted .wpcf7-response-output{
  border-color: rgba(239, 68, 68, .55);   /* red */
  background: rgba(239, 68, 68, .10);
  color: #3b0a0a;
}
