/*
Theme Name: Angel Theme
Author: Yosuke Harada
Description: Angelshop for Welcart
Version: 1.0
*/

/* ===== 変数 ===== */
:root {
    --color-main: #219cd8;
    --color-main-dark: #1a7dac;
    --color-white: #ffffff;
    --color-footer-bg: #000033;
    --header-height-pc: 100px;
}

/* ===== リセット ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ===== ヘッダー共通 ===== */
.site-header {
    width: 100%;
    background: var(--color-white);
    border-bottom: 3px solid var(--color-main);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 上段（ロゴ＋カート） ===== */
.header-top .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 24px;
	font-weight: bold;
    background: var(--color-main);
    border: 2px solid var(--color-main);
    border-radius: 6px;
    padding: 8px 16px;
    transition: background 0.2s, color 0.2s;
}

.cart-link:hover {
    background: var(--color-white);
    color: var(--color-main);
}

.cart-link svg {
    stroke: currentColor;
    width: 30px;
    height: 30px;
}

.hamburger span {
    background: var(--color-main);
}

/* ===== ハンバーガー（SP・タブレット用） ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-main);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== ナビ（PC） ===== */
.global-nav {
    background: var(--color-main-dark);
}

.global-nav .header-inner {
    display: flex;
}

.global-nav .menu {
    width: 100%;
}

.global-nav .menu ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: flex-end;
}

.global-nav .menu ul li a {
    display: block;
    color: var(--color-white);
    font-size: 24px;
    padding: 12px 20px;
    transition: background 0.2s;
}

.global-nav .menu ul li a:hover {
    background: rgba(255,255,255,0.15);
}
/* ===== タブレット（768px〜1023px） ===== */
@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }

    .global-nav {
        display: none;
    }

    .global-nav.is-open {
        display: block;
    }

    .global-nav ul {
        flex-direction: column;
    }

    .global-nav ul li a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* ===== スマホ（767px以下） ===== */
@media (max-width: 767px) {
    .header-top .header-inner {
        height: 56px;
    }

    .site-logo img {
        height: 30px;
    }

    .cart-link span {
        display: none;
    }
}

/* ===== フッター ===== */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 決済・送料エリア ===== */
.footer-payment {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-payment-col h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-main);
    border-left: 3px solid #219cd8;
    padding-left: 8px;
    margin-bottom: 12px;
}

.footer-payment-col p {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    line-height: 1.8;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ===== フッターナビ ===== */
.footer-nav {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-nav-col h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-main);
    border-left: 3px solid #219cd8;
    padding-left: 8px;
    margin-bottom: 12px;
}

.footer-nav-col ul {
    list-style: none;
}

.footer-nav-col ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    line-height: 2;
    transition: color 0.2s;
}

.footer-nav-col ul li a:hover {
    color: var(--color-main);
}

/* ===== コピーライト ===== */
.footer-bottom {
    padding: 1rem 0;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ===== フッター レスポンシブ ===== */
@media (max-width: 767px) {
    .footer-payment-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ヒーローセクション ===== */
.hero-section {
    position: relative;
    width: 100%;
}

.main-swiper {
    width: 100%;
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.main-swiper .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: -14px;
    z-index: 10;
}

.main-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.main-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* ===== サブスライダー ===== */
.sub-swiper {
    width: 100%;
    padding: 10px 0;
}

.sub-swiper .swiper-slide {
    width: 30%;
}

.sub-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

@media (max-width: 767px) {
    .sub-swiper .swiper-slide {
        width: 45%;
    }
}

/* ===== コーポレートページ ===== */
.corp-main {
    padding: 0;
}

.corp-section {
    padding: 60px 0;
}

.corp-section--gray {
    background: #f5f5f5;
}

.corp-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.corp-sub {
    font-size: 13px;
    color: var(--color-main);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.corp-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-main);
}

.corp-text {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
    color: #444;
}

.corp-sign {
    font-size: 14px;
    color: #666;
    text-align: right;
    margin-top: 16px;
}

/* ===== 会社概要テーブル ===== */
.corp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.corp-table tr {
    border-bottom: 1px solid #ddd;
}

.corp-table th {
    width: 160px;
    padding: 16px 12px;
    text-align: left;
    color: #555;
    font-weight: 500;
    vertical-align: top;
    white-space: nowrap;
}

.corp-table td {
    padding: 16px 12px;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .corp-section {
        padding: 40px 0;
    }

    .corp-title {
        font-size: 20px;
    }

    .corp-table th {
        width: 100px;
        font-size: 13px;
    }

    .corp-table td {
        font-size: 13px;
    }
}