html {
    scroll-behavior: smooth;
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/AIWEO_pattern.png');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.2s ease-in-out;
}

#splash-screen dotlottie-wc {
    width: 720px;
    height: auto;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
}

.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}

section p {
    width: 90%;
    margin: 0 auto;
}

.use-case-card p, .timeline-content p {
    width: auto;
    margin: 0;
}

.timeline {
    position: relative;
    width: 80%;
    margin: 50px auto;
}

section {
    padding-top: 0px;
    padding-bottom: 2px;
}

.hero {
    background-image: url('../image/AIWEO_mockup.png');
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    height: 0;
    padding-top: 41.66%; /* (600 / 1440) * 100% */
    position: relative;
    margin-top: 0; /* hero section has no top margin */
    margin-bottom: 50px;
}

.hero .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 0 0;
}

.hero-content h1 {
    font-size: clamp(1.0rem, 3vw, 2.5rem);
    font-weight: bold;
    color: #6e6e7a;
    margin: -30px 0px 0px 0px;
    text-align: left;
    width: 35%;
    min-height: 100px;
}

.hero-content a {
    text-align: right;
}



.hero-content a img {
    width: clamp(120px, 15vw, 200px);
    height: auto;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-buttons img {
    width: clamp(200px, 25vw, 284px);
    height: auto;
}

h2 {
    font-size: clamp(24px, 5vw, 36px);
    color: #1a7ab9;
    font-weight: bold;
}


h3 {
    font-size: clamp(20px, 4vw, 24px);
    color: #474754;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-secondary, p.text-secondary {
    color: #474754 !important;
    font-size: clamp(16px, 3vw, 18px);
    margin-bottom: 50px;
    text-align: left;
}

.section-logo {
    max-width: 650px;
    width: 100%;
}

.news-section {
    margin-bottom: 150px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.accordion {
    width: 85%;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
}

.accordion-button {
    background-color: #1a7ab9;
    color: white;
    border-radius: 0;
}

.accordion-button.collapsed {
    background-color: #1a7ab9;
    color: white;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: #1a7ab9;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(0deg);
    transition: transform 0.2s ease-in-out;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.2s ease-in-out;
}

.accordion-button[aria-expanded="true"]::after {
    transform: rotate(0deg);
}

.accordion-button[aria-expanded="false"]::after {
    transform: rotate(-180deg);
}


.accordion-body {
    background-color: #C6E7F5;
    text-align: left;
}

.features-section .row {
    margin-top: 50px;
}

.features-section .card {
    border: 3px solid #1a7ab9;
    border-radius: 20px;
    padding: 12px;
    min-height: 100%;
    min-width: 210px;
    max-width: 356px;
    margin: 0 auto;
}

.features-section .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    max-height: 200px;
}

.features-section .card-text {
    font-size: clamp(14px, 2.5vw, 18px);
    color: #474754;
}

.mode-icon {
    max-width: 160px;
    margin-top: 20px;
}

.divider {
    border-top: 1px solid #ccc;
    margin-bottom: 100px;
}

.transparent-divider {
    border-color: transparent;
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

h5 {
    font-size: 2.5rem;
    font-weight: bold;
}

.kikakuina-img {
    display: block;
    margin: 0 auto;
    max-width: 890px;
    width: 100%;
}

.persona-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.persona-list a {
    display: inline-block;
}

.persona-list img {
    width: clamp(70px, 10vw, 140px);
    height: auto;
    object-fit: contain;
    margin: clamp(10px, 2vw, 30px);
}

#overviewAccordion .accordion-button {
    border: 3px solid #1a7ab9;
    border-radius: 0;
    background-color: white;
    color: #1a7ab9;
}

#overviewAccordion .accordion-button.collapsed {
    background-color: white;
    color: #1a7ab9;
}

#overviewAccordion .accordion-button:not(.collapsed) {
    background-color: white;
    color: #1a7ab9;
}

#overviewAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a7ab9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#overviewAccordion .accordion-body {
    background-color: white;
}

.placeholder-box {
    background-color: #e0e0e0;
    
    width: 100%;
}

.text-start {
    text-align: left !important;
}

.small-text {
    font-size: 14px;
    margin-bottom: 50px;
    width: 85%;
    margin-top: 5px;
}

.security-box {
    background-color: #22D179;
    color: white;
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px; /* Adjust for smaller circle */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #DFF1FA;
    height: 650px;

}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 120px; /* Adjust for smaller circle */
    padding-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 120px;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #d2e2ee;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-step {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #1a7ab9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.timeline-step-inner {
    text-align: center;
}

.timeline-step-inner span {
    font-size: 28px;
    display: block;
}

.timeline-content {
    padding-left: 20px;
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: bold;
    color: #1a7ab9;
}

.use-case-card {
    border: 3px solid #1a7ab9;
    border-radius: 20px;
    padding: 12px;
    max-width: 500px;
    height: 100%;
    margin: 0 auto; /* Use auto margin for centering */
}

.use-case-card .card-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a7ab9;
    text-align: center;
}

.use-case-card img {
    width: calc(100% - 20px);
    margin: 10px;
}

.faq-accordion .accordion-item {
    border: 3px solid #1a7ab9;
    border-radius: 0;
    margin-bottom: 20px;
    position: relative;
}

.faq-accordion .accordion-button {
    background-color: white;
    color: #1a7ab9;
    font-weight: bold;
    padding: 20px 20px 20px 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: white;
    color: #1a7ab9;
    box-shadow: none;
}

.faq-accordion .accordion-button.collapsed {
    background-color: white;
    color: #1a7ab9;
}

.faq-accordion .faq-q {
    background-color: #1a7ab9;
    color: white;
    width: 40px;
    height: 100%;
    position: absolute;
    left: -1px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-right: 1px solid #1a7ab9;
}

.faq-accordion .accordion-body {
    background-color: #dff1fa;
    color: #000;
    padding: 20px;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a7ab9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.product-vision {
    font-size: 32px;
    color: #474754;
    font-weight: bold;
}

.footer {
    background-image: url('../image/back_footer.svg');
    background-size: cover;
    background-position: top;
    padding: 50px 0;
    color: #000;
}

.footer-logo {
    max-width: 150px;
}

.footer .row {
    align-items: end;
}

.footer .col-md-6 {
    display: flex;
    flex-direction: column;
}

.footer .col-md-6.text-end {
    align-items: flex-end;
}

.footer-links a {
    font-size: 14px;
    color: #000 !important;
    text-decoration: none !important;
}

.copyright {
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 0;
}

.certification {
    font-size: 12px;
    text-align: left;
    margin-top: 10px;
}

.pricing-table-container {
  display: flex; /* カードを横並びにする */
  justify-content: center; /* カードを中央に寄せる */
  gap: 20px; /* カード間の余白 */
  flex-wrap: wrap; /* 画面幅が狭い場合に折り返す */
  padding: 40px 20px; /* 全体の上下左右の余白 */
}

.pricing-card {
  background-color: #ffffff; /* カードの背景色 */
  border-radius: 8px; /* 角の丸み */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 影 */
  padding: 30px; /* カード内部の余白 */
  text-align: center; /* テキストを中央寄せ */
  width: 300px; /* カードの固定幅 (適宜調整) */
  /* または、min-width/max-width と flex-basis を組み合わせてレスポンシブに対応 */
  flex: 1; /* flex-container内で均等に幅を占める */
  min-width: 280px; /* カードの最小幅 */
  max-width: 320px; /* カードの最大幅 */
  display: flex; /* 内部要素をflexboxで制御 */
  flex-direction: column; /* 内部要素を縦に並べる */
  justify-content: space-between; /* 上下均等に配置 */
  position: relative; /* 必要に応じてバッジなどの配置の基準に */
}

.pricing-card.recommended {
  border: 2px solid #DFF1FA; /* 枠線で強調 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* 影を強くする */
  transform: translateY(-5px); /* やや浮き上がらせる */
}

.card-header {
  margin-bottom: 20px;
}

.pricing-card h3 {
  font-size: 24px;
  color: #333333;
  margin-bottom: 10px;
  text-align: center;
}

.pricing-card h4 {
    color: #1a7ab9;
    font-size: 20px;
    font-weight: bold;
}

.pricing-card .price {
  font-size: 32px;
  font-weight: bold;
  color: #1a7ab9;
  margin-bottom: 20px;
}

.pricing-card .initial-cost {
    font-size: 14px;
    color: #6c757d;
}

.features-list {
  list-style: none; /* リストの点マークを非表示に */
  padding: 0;
  margin-bottom: 30px;
  text-align: left; /* リスト項目を左寄せ */
  flex-grow: 1; /* 特徴リストが縦に伸びるように */
}

.features-list li {
  font-size: 16px;
  color: #555555;
  margin-bottom: 10px;
  line-height: 1.5;
  /* 必要に応じてアイコンなどを追加 */
  padding-left: 20px; /* アイコン分のスペース */
  position: relative;
}
.features-list li::before {
  content: '✔'; /* チェックマークのアイコン (Roo Codeでアイコンを画像で読み込む場合は調整) */
  color: #DFF1FA; /* チェックマークの色 */
  position: absolute;
  left: 0;
  top: 0;
}

.cta-button {
  background-color: #1a7ab9; /* ボタンの背景色 */
  color: #ffffff; /* ボタンの文字色 */
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none; /* リンクとして使う場合 */
  display: inline-block; /* パディングが効くように */
  transition: background-color 0.3s ease; /* ホバー時のアニメーション */
}

.cta-button:hover {
  background-color: #0056b3; /* ホバー時の色 */
}

.card-footer {
  margin-top: auto; /* ボタンをカードの下部に配置 */
}

.wave-container {
    position: relative;
    background: #fff;
    margin-top: -100px;
    margin-bottom: -1px;
}

.wave-container-bottom {
    transform: scaleY(-1);
    margin-top: -1px;
    margin-bottom: -100px;
}


.waves {
    position: relative;
    width: 100%;
    height: 10vh;
    margin-bottom: -7px;
    min-height: 60px;
    max-height: 100px;
}

.vision-wave .waves {
    height: 250px;
    max-height: 250px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
}

.balloon {
  background: #e5f3fa;
  border-radius: 28px;
  padding: 22px 28px 22px 28px;
  width: 100%;
  position: relative;
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
  color: #505159;
  font-size: 18px;
  line-height: 1.8;
  box-sizing: border-box;
  margin: 10px auto;
  text-align: left;
  min-height: 370px;
}
.balloon::after {
    content: "";
    position: absolute;
    left: 60%;
    bottom: -35px;
    width: 80px;
    height: 50px;
    background: url(../image/speechbubble.svg) no-repeat;
    background-size: contain;
}
ul.check {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 20px 0;
}
ul.check li::before {
  content: "◆";
  color: #DFF1FA;
  margin-right: 10px;
  font-size: 1em;
}

/* Mobile only hero section */
.mobile-only-hero {
    display: none;
    margin:00px auto 20px!important;
    background: #EDF4F3;
}

.mobile-hero-title {
    font-size: clamp(1.0rem, 3vw, 1.5rem);
    color: #6e6e7a;
    font-weight: bold;
    text-align: center;
}

.mobile-only-hero .d-flex img {
    width: clamp(120px, 25vw, 180px);
    height: auto;
}

.persona-icon {
    transition: transform 0.15s ease-in-out;
}

.persona-icon:hover {
    transform: scale(1.2);
}
#typing-text::after, #mobile-typing-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to {
        color: transparent;
    }
    50% {
        color: black;
    }
}

/* ボタンアニメーション */
.hero-content a,
.mobile-only-hero a,
.cta-buttons a {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-content a:hover,
.mobile-only-hero a:hover,
.cta-buttons a:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.25));
}

.hero-content a:active,
.mobile-only-hero a:active,
.cta-buttons a:active {
    transform: translateY(-1px);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}

/* Media Queries */
@media (max-width: 991px) {
    .speech-bubble p {
        font-size: 16px;
    }
    .hero-content h1 {
        margin: -30px 0px 0px -65px;
    }

    .timeline::before {
        left: 38px;
    }

    .hero-content a.first {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        margin: -20px 0px 0px -10px;
    }
    .hero-content h1, .hero-content a {
        display: none;
    }
    .hero-content h1 {
        font-size: clamp(1.2rem, 5vw, 2rem);
        width: 100%;
        text-align: center;
    }
    .hero {
        margin-bottom: 0px;
    }
    .persona-list img {
        width: 50%;
        height: auto;
        margin: 0;
        box-sizing: border-box;
    }
    .footer .row > div {
        text-align: center !important;
        margin-bottom: 20px;
    }
    .footer .col-md-6.text-end {
        align-items: center;
    }
    .persona-list {
        /* flex-direction: column; */
    }
    .persona-list img {
        margin: 10px 0;
    }
    .speech-bubble {
        margin-bottom: 30px;
    }
    .buttons {
        flex-direction: column;
        align-items: flex-end;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons a {
        margin-bottom: 15px;
    }
    .timeline::before {
        left: 28px;
        height: 800px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-step {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
    .timeline-step-inner span {
        font-size: 18px;
    }
    .waves {
        height: 30px;
        min-height: 30px;
    }
    .mobile-only-hero {
        display: block;
    }
    .mobile-only-hero > .d-flex {
        flex-direction: column;
    }
    .mobile-only-hero .d-flex .d-flex {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {

    .lead{
        font-size: 1rem!important;
        text-align: left!important;
    }

    .container-ft{
        padding: 0px 5% 0px;
    }

    .hero-content h1 {
        text-align: center;
        margin: 0;
    }

    .timeline::before {
        left: 29px;
        height: 935px;
    }

    section p {
        width: 100%;
    }

    .persona-list img {
        width: 91px;
        margin: 13px;
    }

    h2 {
        font-size: clamp(18px, 2vw, 22px);
        text-align: left;
    }

    h3 {
        font-size: clamp(14px, 2vw, 18px);
        text-align: left;
    }
    .form-section{
    }

    .hs-form-iframe {
    max-height: 1300px !important;
    }
}
    

.features-wrapper {
    background-color: #EDF4F3;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.persona-icon-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.persona-icon-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-in-out;
}

#splash-screen dotlottie-wc {
    width: 720px;
    height: auto;
}
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

#splash-screen dotlottie-wc {
    width: 720px;
    height: auto;
}

.section-ax {
    background-image: url('../image/ax-wall.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.form-section{
    background-image: url('../image/AIWEO_pattern.png');
    background-size: cover;
}

.hubspot-form {
    max-width: 880px;
    width: 80%;
    margin: 0 auto;
}

.hs-form-iframe {
    max-height: 900px;
}

.container-hero {
    width: 90% !important;
}
.first {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-top: auto;
}

.second {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce-animation {
  animation: bounce 2s;
}

.contact_headding {
    text-align: center !important;
}

/* Lightbox styles */
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-trigger:hover {
    transform: scale(1.05);
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(3, 3, 3, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 990px;
    max-height: 100vh;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.lightbox-modal-content img,
.lightbox-modal-content video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.hs-error-msgs  {
    color: yellow !important;
}
