/*
    Theme Name: SWELL
    Theme URI: https://swell-theme.com/
    Description: シンプルなのに高機能。ブロックエディターの使い心地にこだわった国内最高峰のWordPressテーマ
    Version: 2.8.1
    Requires at least: 5.6
    Requires PHP: 7.3.0
    Author: LOOS,Inc.
    Author URI: https://loos.co.jp/
    Text Domain: swell
    Domain Path: /languages
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/* Basic Reset */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    max-height: 50px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__search-bar {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.header__search-input {
    padding: 5px;
    font-size: 14px;
}

.header__search-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
}

.header__search-btn img {
    width: 20px;
    height: 20px;
}

.account-link {
    background-color: #15C4B8;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
}

.account-link:hover {
    background-color: #139f94;
}

.login-link {
    color: #000000;
    display: flex;
    align-items: center;
}

.login-link img {
    margin-left: 5px;
    width: 16px; /* 文字サイズに合わせてアイコンのサイズを調整 */
    height: 16px;
}

.header-navigation {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    padding: 10px 0;
    border-top: 1px solid #e5e5e5;
}

.header__nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header__nav-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.header__nav-link {
    display: block;
    padding: 15px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
}

.header__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    z-index: 1000;
    min-width: 200px;
    width: 100%;
}

.header__dropdown-wrap {
    padding: 10px;
}

.header__dropdown-item {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
}

.header__dropdown-item:hover {
    background-color: #f5f5f5;
    color: #0056b3;
}

.header__nav-item:hover .header__dropdown,
.header__nav-item:focus .header__dropdown {
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .logo img {
        margin: 0 auto;
    }

    .header-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header__search-bar {
        margin-left: 0;
        margin-top: 10px;
    }

    .header-right .account-link {
        margin-left: 0;
        margin-top: 10px;
    }

    .header-navigation {
        width: 100%;
    }

    .header__nav {
        flex-direction: column;
    }

    .header__nav-item {
        width: 100%;
    }

    .header__nav-link {
        padding: 10px 15px;
    }

    .header__dropdown {
        position: static;
        border: none;
        box-shadow: none;
    }

    .header__dropdown-wrap {
        padding: 0;
    }

    .header__dropdown-item {
        padding: 10px 15px;
    }

    .login-link img {
        width: 12px;  /* スマホでのアイコンサイズを調整 */
        height: 12px;
    }
}

/* フッターのCSS */
.footer {
    background-color: #3F60B1;
    color: white;
    padding: 20px;
    text-align: center;
}
.footer__details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.footer__details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer__details-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
.footer__details-list {
    margin: 10px;
    min-width: 200px;
}
.footer__details-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.footer__details-title--link {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
}
.footer__details-ul {
    list-style: none;
    padding: 0;
}
.footer__details-item {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.footer__details-item:hover {
    text-decoration: underline;
}
.footer__details-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}
.footer__details-bar {
    background-color: #3B538E;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}
.footer__details-bar:hover {
    background-color: #003a8d;
}
.footer__bottom {
    margin-top: 20px;
}
.footer__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer__logo {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}
.footer__logo-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.footer__container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: white;
    color: #3E60B1;
    padding: 10px;
    border-radius: 5px;
}
.footer__links {
    display: flex;
    gap: 10px;
    color: #3E60B1;
}
.footer__link {
    color: #3E60B1;
    text-decoration: none;
}
.footer__link:hover {
    text-decoration: underline;
}
.footer__copyright {
    color: #3E60B1;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .footer__details-box {
        grid-template-columns: 1fr 1fr;
    }
    .footer__container {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer__details-box {
        grid-template-columns: 1fr;
    }
    .footer__container {
        align-items: center;
    }
}
