/* 全体のスタイル */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    width: 100%;
}

/* ロゴ */
.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) {
    /* class="menu"のli属性を横並びにする */
    .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: #2b2b2b; /* テキスト色を調整 */
        text-decoration: none; /* 下線を削除 */
        font-weight: bold; /* 太字にする */
    }

    /* class="menu-icon"を非表示にする */
    .menu-icon {
        display: none;
    }

    /* class="header"の並び順を調整 */
    .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; 
    }
}

/* .content{
    text-align: center;
}

.content img{
    width: 100%;
    max-width: 1100px;
} */

.content{
    text-align: center;
}

.content img{
    width: 100%;
    max-width: 1080px;
    /* display: block; */
    /* margin: 0 auto; */
}

.img_yohaku{
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.img_yohaku_1{
    width: 100%;
    height: auto;
    margin: 3% auto;
}

/* ヘッド画像以下を横配置 */
.inner-content {
    display: flex; /* フレックスボックスを有効化 */
    justify-content: center;
    gap: 30px; /* 要素間の隙間 */
    padding: 4%;
    margin: 4% auto;
    flex-wrap: wrap;
    margin: 0.5em auto;
    padding: 1em;
}

.content{
    display: block;
    width: 60%;
    text-align: left;
}

.content h1{
    margin: 0;
}

.content p{
    margin: 0;
}

.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%;
    }

    /* .inner-content{
        display: flex;
        justify-content: center;
        gap: 30px;
        padding: 4%;
        margin: 4% auto;
        flex-wrap: wrap;
        box-shadow: none;
    } */
}

/* 嬉しいご報告 スライドショーコンテナ */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    text-align: center;
}

/* スライド */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
}

/* 前/次ボタン */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 0.3em;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.8);
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(243, 135, 13, 0.96);
}

/* ドットインジケーター */
.dot {
    cursor: pointer;
    height: 0.7em;
    width: 0.7em;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* フェードアニメーション */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* imgコンテナ */
.img-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 画像間の隙間 */
    margin: 3% auto;
}

.img-container img {
    flex: 1 1 calc(50% - 10px); /* 2列に整列 */
    max-width: calc(50% - 10px); /* 2列に整列 */
    height: auto; /* 比率を変えずに拡大縮小 */
}

.button_link{
    text-decoration: none;
}

.button-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85%;
    margin:0 auto;
    padding: .9em 2em;
    border: none;
    border-bottom: solid 5px #006b31;
    border-radius: 25px;
    background-color: #069b61;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    transition: .5s ease;
}

.button-4:hover {
    transform: translateY(3px);
    border-bottom-width: 2px;
}

/* フッター */
.inner-footer{
    text-align: center;
    color: #fff;
    background-color: #333333;
    padding: 4%;
}

.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: 7%;
    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); /* 90度回転させて上向きにする */
    margin-right: 5px; /* テキストとの間にスペースを追加 */
}