/* 全体のリセット */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
}


/* ヘッダー */


/*
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4C2A7A;
    padding: 15px 30px;
}

.logo img {
    width: 150px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.contact-btn {
    background: white;
    color: #4C2A7A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
*/


/* メインタイトル */

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 20px 0;
}

.sub-title {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
}


/* 情報セクション */

.info-section {
    /* display: grid;
    grid-template-rows: 100px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px; */
    padding: 64px 0;
    margin: 0 auto;
    max-width: 1068px;
}

.info-card {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    padding: 32px;
    border-radius: 0px;
    /* width: 1068px;
    max-width: 90%; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.0);
    margin: 18px;
}


/* 画像のスタイル */

.info-image {
    width: 200px;
    height: auto;
    border-radius: 0px;
}


/* テキスト部分 */

.info-text {
    flex: 1;
    padding: 0 20px;
}

.info-subtitle {
    font-size: 12px;
    color: #6a329f;
    letter-spacing: 1px;
    font-weight: bold;
}

.info-title {
    font-size: 20px;
    color: #4c2a7a;
    font-weight: bold;
}


/* 矢印ボタン */

.info-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #4c2a7a;
    border-radius: 50%;
    text-decoration: none;
    color: #4c2a7a;
    font-size: 18px;
    transition: 0.3s;
}

.info-arrow:hover {
    background: #4c2a7a;
    color: white;
}


/*
.info-card img {
    width: 100%;
    height: auto;
}
*/

.info-text {
    padding: 20px;
}

.info-text h2 {
    color: #4C2A7A;
    margin-bottom: 10px;
}


/* box2 */

.box2 {
    display: flex;
    justify-content: space-around;
    padding: 64px 0;
    margin: 0 auto;
    gap: 20px;
    /* カード間の余白 */
    max-width: 1068px;
}


/* カードを並べるコンテナ */

.card-container {
    display: flex;
    margin: 0 auto;
    max-width: 1068px;
}


/* カードのスタイル */

.card {
    flex-grow: 1;
    padding: 20px;
    border: 1px solid #9163CB;
    /* 薄紫のボーダー */
    border-radius: 8px;
    margin: 18px;
}


/* タイトル (英字) */

.card h2 {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.btnset {
    display: flex;
    justify-content: flex-start;
    margin-top: 16px;
}

h2.title {
    font-family: Lato;
    font-weight: bold;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0.08em;
    text-align: ;
    color: #333333;
}

.btnset p.title {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.08em;
    text-align: left;
    color: #481c7b;
    margin-right: 16px;
}

.textlink {
    display: table;
    position: relative;
    color: #32126E;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.5s;
    padding-right: 24px;
    margin: 0 0 0 auto;
}

.textlink::after {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 0.5em;
    height: 0.5em;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #844AC7;
    border-top: 2px solid #844AC7;
    content: "";
    transition: 0.1s;
}


/* サブテキスト (日本語) */

.card .sub-text {
    font-size: 14px;
    color: #6a329f;
    font-weight: bold;
    margin: 5px 0 15px;
}


/* フッター */


/*
footer {
    background: #4C2A7A;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 5px 10px;
}

.contact-btn {
    background: white;
    color: #4C2A7A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
*/


/* レスポンシブ対応 */

@media (max-width: 600px) {
    .info-card {
        flex-direction: column;
    }
    .info-image {
        width: 100%;
        /* max-width: 300px; */
    }
    .info-text {
        padding: 10px 0;
    }
    .info-arrow {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .card-container {
        flex-direction: column;
    }
}
