/* 全体のスタイル */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    width: 100%;
}

* {
    /* box-sizing: border-box; */
}

/* ロゴ */
.logo{
    margin: 10px;
}

.logo-img{
    width: 30px;
    height: 30px;
}

/* お問い合わせボタン */
.contact-button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E86A6A;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    width: 120px;
}

.contact-button .arrow {
    margin-left: 5px;
    font-weight: bold;
}

/* ヘッダーメニュー */
.menu-bar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background: #238681;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
}

.menu-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: -10px;
}

/* アコーディオンメニュー */
.menu {
    display: none;
    flex-direction: column;
    background-color: #0d2726e6;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    min-width: 300px;
    height: calc(100vh - 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    max-height: 0;
    z-index: 1000;
}

.menu.open {
    display: flex;
    max-height: 100vh;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.menu li a{
    color: #fff;
    text-decoration: none;
}

.menu li:last-child {
    border-bottom: none;
}

/* ヘッダー */
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

/* PC画面用のスタイル */
@media screen and (min-width: 1024px) {
    .menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: static;
        background-color: transparent;
        height: auto;
        max-height: none;
        box-shadow: none;
        overflow: visible;
    }

    .menu ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu li {
        padding: 0 5px;
        margin: 0 5px;
        border-bottom: none;
    }

    .menu li a {
        color: #444444;
        text-decoration: none;
        font-weight: bold;
    }

    .menu-icon {
        display: none;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
    }

    .menu-bar {
        order: 2;
    }

    .contact-button {
        order: 3;
    }
}

@media screen and (max-width: 1024px) {
    .header {
        position: relative; 
    }

    .contact-button {
        position: absolute;
        right: 50px; 
        z-index: 999; 
    }
}

.img_yohaku{
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.img_yohaku_1{
    width: 100%;
    height: auto;
    margin: 3% auto;
}

/* ヘッド画像以下を横配置 */
.content{
    text-align: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.page_name{
    width: 90%;
    max-width: 1080px;
    text-align: left;
    margin: 0 auto;
    padding-left: 1rem;
    padding: 0.5rem auto;
    color: #1ABAB4;
}

.content p{
    margin: 0;
}

.content img{
    width: 100%;
    max-width: 1080px;
}


.font_blod_red{
    color: #D0104C;
    font-weight: bold;
}

.font_blod_blue{
    color: #3366FF;
    font-weight: bold;
}

.font_red{
    color: #D0104C;
}

.font_blue{
    color: #3366FF;
}

.font_center{
    text-align: center;
    margin: 3% auto;
}

@media screen and (max-width: 768px) {
    .content{
        width: 100%;
    }
}

/* 動画 */
.movie_content{
    padding: 2%;
}

.movie_lists{
    color: #444444;
    margin-top: 0px;
    padding: 10px;
    text-align: center;
}

.topics-slideshow-container {
    position: relative;
    max-width: 1080px;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
}

.voice_midashi{
    margin: 0 auto;
    width: 100%;
    max-width: 1080px;
}

/* 嬉しいご報告 スライドショーコンテナ */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    text-align: center;
}

/* スライド */
/* ▼ 嬉しい声：グリッド表示用スタイル */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3列表示 */
    gap: 20px;
    max-width: 1080px;
    margin: 50px auto;
    padding: 20px;
}

/* 各カードデザイン */
.voice-card {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.voice-card img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.voice-card .name {
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.voice-card .bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    padding: 0 10px;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* ホバー時の動き */
.voice-card:hover {
    transform: scale(1.03);
}

/* デフォルト（PC）：スライダーは非表示 */
.voice-slider {
    display: none;
}
  
/* スマホ時：グリッド非表示、スライダー表示 */
@media screen and (max-width: 768px) {
    .voice-grid {
        display: none;
    }

    .voice-slider {
        width: 95%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        padding: 1.5rem 0.5rem;
    }

    /* 各スライド */
    .voice-slide {
        flex: 0 0 80%;        /* 画面幅の80%にする（中央寄せ用） */
        margin: 0 10px;       /* 両サイドに余白を確保 */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        background: #fff;
        text-align: center;
    }

    .slides {
        display: flex;
        gap: 1rem;
        transition: transform 0.3s ease-in-out;
        justify-content: center;
    }

    .slide {
        min-width: 20%;
        max-width: 20%;
        background: white;
        border-radius: 5px;
        box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.15);
        padding: 0.5rem;
        text-align: center;
        transition: transform 0.3s ease-in-out;
    }

    .slide.center {
        transform: scale(1.1);
    }

    .slide img {
        width: 100%;
        height: auto;
        margin-bottom: 0.5rem;
        object-fit: cover;
    }

    .slide .name {
        font-size: 0.9rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #4b4b4b;
    }

    .slide .bio {
        font-size: 0.7rem;
        color: #555;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        padding: 0.3rem 0.3rem;
        color: #238681;
    }

    .nav.prev {
        left: 0;
    }

    .nav.next {
        right: 0;
    }

    /* スライド内リンクの装飾解除 */
    .slide-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }
}
  

/* フッター */
.inner-footer{
    text-align: center;
    color: #fff;
    background-color: #333333;
    padding: 3%;
}

.inner-footer a{
    color: #fff;
}

/* フッターメニュー */
.footer-menu {
    display: flex;
    justify-content: space-between;
}

/* フッターカラム */
.footer-column {
    flex: 1;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0px;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

/* フッターコピーライト */
.copy-right{
    padding-top: 2%;
    font-size: 1rem;
}

/* 追従ボタンのスタイル */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-button a {
    display: block;
    padding: 10px 20px;
    background-color: #5c5c5ccb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    text-align: center;
}

.floating-button a::before {
    content: "く";
    display: inline-block;
    transform: rotate(90deg);
    margin-right: 5px;
}