/* 共通スタイル */
html {
    font-size: 16px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "メイリオ", Meiryo, YuGothic, "游ゴシック", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fcfcfc;
    color: #333;
    line-height: 1.8;
}

a {
    color: #333;
    text-decoration: underline;
}

a:hover {
    color: #aaa; /* ホバー時の色を少し明るく */
}

@keyframes blink {
    0%, 100% {
        opacity: 1;  /* 完全に表示 */
    }
    50% {
        opacity: 0.5;  /* 半透明にする */
    }
}

.main {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 24px;
    background-color: #fcfcfc;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

header {
    position: fixed; /* ヘッダーを固定位置に設定 */
    top: 0;          /* ページの上端に配置 */
    left: 0;         /* ページの左端に配置 */
    width: 100%;     /* ヘッダーの横幅をウィンドウサイズに一致させる */
    height: 60px;    /* ヘッダーの高さを固定 */
    background-image: url('../images/logo.png');
    background-color: #439eb3; /* ヘッダーの背景色を設定 */
    background-repeat: no-repeat;
    background-size: 468px 60px;
    background-position: 0px 0px;
    color: white;
    z-index: 10;     /* 本文の要素より前面に表示 */
}

header a {
    color: #ddd;
    text-decoration: none;
}

header a:hover {
    color: #fff; /* ホバー時の色を少し明るく */
}

.header-container {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    height: 60px;
    padding: 0;
    margin: 0;
}

.header-logo {
    line-height: 60px;
    margin: 0;
    height: 60px;
    padding: 0;
    z-index: 20px;
}

.header-items {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: nowrap;
    margin: auto 24px auto auto;
    padding: 0;
}

.header-items .button {
    margin: 0 4px 0 4px;
    border-radius: 20px;
    width: 200px;
}

.menu-icon {
    margin: auto 24px auto auto;
    padding: 0;
    display: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 60px; /* ヘッダーの高さに合わせて調整 */
    background-color: #439eb3;
    width: 100%;
    padding: 8px;
}

.mobile-menu .button {
    margin: 4px;
    border-radius: 20px;
    width: 200px;
}

.link-to-home {
    display: inline-block;
    margin: 0;
    padding: 0 0 0 68px;
    height: 60px;
    line-height: 60px;
    font-size: 60px;
    color: #fff;
    text-decoration: none;
    z-index: 20px;
}

footer {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    padding: 20px 0 0 0;
    background-color: #f4f4f4;
}

footer > p {
    flex: 100%;
    text-align: center;
    margin: 0 auto 4px auto;
}

.footer-links {
    margin: 8px auto 8px 24px;
}

.footer-links p {
    line-height: 1.3rem;
    margin: 2px 0;
}

footer .footer-cookie {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.is-visible {
    opacity: 1;
}

.button {
    display: inline-block;
    padding: 10px 20px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 16px;
    text-align: center;
    text-decoration: none; /* テキストの下線を削除 */
    outline: none; /* アウトラインを削除 */
    border: none; /* ボーダーを削除 */
    border-radius: 5px; /* 角を丸く */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 影をつける */
}

.button-primary {
    background-color: #3498db;
    color: white;
    cursor: pointer; /* カーソルをポインタに */
}

.button-secondary {
    background-color: #2c3e50;
    color: white;
    cursor: pointer; /* カーソルをポインタに */
}

.button-success {
    background-color: #4CAF50;
    color: white;
    cursor: pointer; /* カーソルをポインタに */
}

.button-danger {
    background-color: #dc3545;
    color: white;
    cursor: pointer; /* カーソルをポインタに */
}

.button-warning {
    background-color: #ffc107;
    color: black;
    cursor: pointer; /* カーソルをポインタに */
}

.button-info {
    background-color: #17a2b8;
    color: white;
    cursor: pointer; /* カーソルをポインタに */
}

.button-contact {
    background-color: #e74c3c;
    color: white;
    cursor: pointer; /* カーソルをポインタに */
}

.button-disabled {
    background-color: #808080;
    color: white;
}

.button-primary:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #2980b9;
}

.button-secondary:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #34495e;
}

.button-success:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #218838;
}

.button-danger:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #c82333;
}

.button-warning:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #e0a800;
}

.button-info:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #138496;
}

.button-contact:hover {
    opacity: 0.9; /* ホバー時に少し透明にする */
    background-color: #c72c1c;
}

.inactive {
    opacity: 0.5;
}

/* HOMEページ用CSS */
.eye-catch {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;     /* 垂直方向の中央寄せ */
    flex-direction: column;
    color: #e74c3c;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
                -1px 1px 0 #FFF, 1px -1px 0 #FFF,
                0px 1px 0 #FFF,  0-1px 0 #FFF,
                -1px 0 0 #FFF, 1px 0 0 #FFF;
    text-align: center;
    margin-top: 60px;
    background-image: url('../images/AI-CTO-2048x1024.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
}

.eye-catch h1 {
    font-size: 10rem;
    margin: 0;
    padding: 8px;
}

.eye-catch h2 {
    padding: 8px;
}

.download-doc {
    margin: 8px auto;
    width: 100%;
    text-align: center;
}

.download-doc .button {
    border-radius: 40px;
}

.download-doc .button-success {
    transition: transform 0.3s ease;
}

.download-doc .button-success:hover {
    transform: scale(1.1); /* ボタンのサイズを10%増加 */
}

.contact {
    width: 100%;
    text-align: center;
}

.contact .button {
    border-radius: 40px;
}

.contact .button-contact {
    transition: transform 0.3s ease;
}

.contact .button-contact:hover {
    transform: scale(1.1); /* ボタンのサイズを10%増加 */
}

.concept {
    margin: 60px auto;
    padding: 24px 24px 60px 24px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.concept h2 {
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.concept .download-doc .button {
    border-radius: 40px;
    padding: 20px 40px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 20px;
    width: 340px;
}

.concept .contact .button {
    border-radius: 40px;
    padding: 20px 40px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 20px;
    width: 340px;
}

.concept-item {
    margin-bottom: 50px;
}

.concept-item h3 {
    margin-bottom: 20px;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
    padding-left: 10px;
}

.concept-item p {
    font-size: 1em;
    margin: 8px;
    text-align: justify;
}

.concept-item ul {
    list-style-type: square;
    margin-left: 30px;
}

.concept-item ul li {
    margin-bottom: 10px;
}

.concept-item .ai-cto {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;     /* 垂直方向の中央寄せ */
    width: 100%;
}

.concept-item .ai-cto img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.solutions {
    margin: 60px auto;
    padding: 24px 24px 60px 24px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.solutions h2 {
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.solutions .download-doc .button {
    border-radius: 40px;
    padding: 20px 40px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 20px;
    width: 340px;
}

.solutions .contact .button {
    border-radius: 40px;
    padding: 20px 40px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 20px;
    width: 340px;
}

.solution-item {
    margin-bottom: 50px;
}

.solution-item h3 {
    margin-bottom: 20px;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
    padding-left: 10px;
}

.solution-item p {
    font-size: 1em;
    margin: 8px;
    text-align: justify;
}

.solution-item ul {
    list-style-type: square;
    margin-left: 30px;
}

.solution-item ul li {
    margin-bottom: 10px;
}

.solution-item .solution-image {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;     /* 垂直方向の中央寄せ */
    width: 100%;
}

.solution-item .solution-image img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.features {
    margin: 60px auto;
    padding: 24px 24px 60px 24px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.features h2 {
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.features .download-doc .button {
    border-radius: 40px;
    padding: 20px 40px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 20px;
    width: 340px;
}

.features .contact .button {
    border-radius: 40px;
    padding: 20px 40px; /* 上下のパディング10px、左右のパディング20px */
    font-size: 20px;
    width: 340px;
}

.feature-item {
    margin-bottom: 50px;
}

.feature-item h3 {
    margin-bottom: 20px;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
    padding-left: 10px;
}

.feature-item p {
    font-size: 1em;
    margin: 8px;
    text-align: justify;
}

.feature-item ul {
    list-style-type: square;
    margin-left: 30px;
}

.feature-item ul li {
    margin-bottom: 10px;
}

.feature-item .feature-image {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;     /* 垂直方向の中央寄せ */
    width: 100%;
}

.feature-item .feature-image img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

/* FAQ */
.faq {
    margin: 60px auto;
    padding: 24px 24px 60px 24px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq h2 {
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.faq .faq-item-question {
    padding: 10px;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-item-question::before {
    content: '+';
    margin-right: 10px;
    font-size: 20px;
    display: inline-block;
    transition: transform 2s ease;
}

.faq-item-question.active::before {
    content: '-';
}

.faq .faq-item-answer {
    display: none;
    padding: 10px;
    transition: max-height 2s ease, padding 2s ease, margin 2s ease;
    overflow: hidden;
    max-height: 0;
}

.faq .faq-item-answer.active {
    display: block;
    padding: 10px 10px 10px 30px;
    max-height: 500px;
}

/* 利用規約 */
.terms {
    padding-top: 32px;
}

.terms h1 {
    text-align: center;
}

.terms h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
}

.terms ol {
    list-style-type: none;
    counter-reset: item;
    padding: 0 0 0 16px;
}

.terms ol > li {
    counter-increment: item;
    margin-bottom: 16px;
    text-indent: -1.2rem;
    padding-left: 1.2rem;
}

.terms ol > li p {
    text-indent: 0;
    padding-left: 0;
    margin: 4px 0;
}

.terms ol > li::before {
    content: counter(item) ". ";
    font-weight: bold;
}

.terms .container {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: right;
}

.terms .container .signature {
    display: inline-block;
    text-align: left;
    margin: 8px 0 0 auto;
}

.terms .container .signature p {
    margin: 0;
}

/* レスポンシブ対応  */
.responsive-break {
    display: none;
}

@media (max-width: 499px) {
    html {
        font-size: 14px;
    }
    .header-items {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .link-to-home {
        font-size: 40px;
    }
    .main {
        padding-left: 4px;
        padding-right: 4px;
    }
    .eye-catch h1 {
        font-size: 3rem;
    }
    .eye-catch h2 {
        font-size: 1.3rem;
    }
    .concept h2 {
        font-size: 1.3rem;
    }
    .concept h3 {
        font-size: 1.1rem;
    }
    .concept-item ul {
        margin-left: 4px;
    }
    .concept .download-doc .button {
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 14px;
        width: 240px;
    }
    .concept .contact .button {
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 14px;
        width: 240px;
    }
    .solutions .download-doc .button {
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 14px;
        width: 240px;
    }
    .solutions .contact .button {
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 14px;
        width: 240px;
    }
    .features .download-doc .button {
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 14px;
        width: 240px;
    }
    .features .contact .button {
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 14px;
        width: 240px;
    }
    .responsive-break {
        display: block;
    }
    footer {
        justify-content: center;
    }
    footer .footer-links {
        margin: 8px auto 8px 24px;
    }
}

@media (min-width: 500px) and (max-width: 768px) {
    .header-items {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .eye-catch h1 {
        font-size: 5rem;
    }
    .eye-catch h2 {
        font-size: 1.5rem;
    }
    .concept {
        padding-left: 8px;
        padding-right: 8px;        
    }
    .concept h2 {
        font-size: 1.4rem;
    }
    .concept h3 {
        font-size: 1.2rem;
    }
    .concept-item ul {
        margin-left: 8px;
    }
    .solutions {
        padding-left: 8px;
        padding-right: 8px;        
    }
    .solutions h2 {
        font-size: 1.4rem;
    }
    .solutions h3 {
        font-size: 1.2rem;
    }
    .solution-item ul {
        margin-left: 8px;
    }
    .features {
        padding-left: 8px;
        padding-right: 8px;        
    }
    .features h2 {
        font-size: 1.4rem;
    }
    .features h3 {
        font-size: 1.2rem;
    }
    .feature-item ul {
        margin-left: 8px;
    }
    .responsive-break {
        display: block;
    }
    footer {
        justify-content: center;
    }
    footer .footer-links {
        margin: 8px auto 8px 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .eye-catch h1 {
        font-size: 8rem;
    }
}

@media (min-width: 1025px) {
}
