@charset "UTF-8";

/* 変数設定：色を変えるときはここを変更 */
:root {
    --bg-color: #f0f6fa;          /* 背景：薄いブルーグレー */
    --text-main: #333333;         /* 文字色 */
    --text-sub: #777777;          /* サブ文字色 */
    --card-bg: #ffffff;           /* カード背景 */
    --accent-blue: #007bff;       /* アクセント（鮮やかな青） */
    --warm-shadow: 0 10px 25px rgba(50, 50, 93, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
}

body {
    font-family: 'Poppins', 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    
    /* ▼ここが中央寄せのポイント▼ */
    display: flex;           /* フレックスボックス化 */
    min-height: 100vh;       /* 画面の高さいっぱいに広げる */
    padding: 20px;           /* 上下の余白を確保 */
    box-sizing: border-box;  /* パディングを含めたサイズ計算 */
}

.container {
    width: 100%;
    max-width: 420px;        /* PCでもこれ以上広がらない */
    
    /* ▼上下左右の中央に配置する魔法の記述▼ */
    margin: auto;            
    
    text-align: center;
}

/* ============================
   プロフィールカード
   ============================ */
.profile-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 30px;
}

.profile-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: var(--warm-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 画像まわり */
.img-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: 0.05em;
    color: #2c3e50;
}

.profile-job {
    font-size: 13px;
    color: var(--text-sub);
    margin: 0 0 20px 0;
    font-weight: 500;
}

/* 名刺交換バッジ（ボタン風） */
.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    margin-bottom: 25px;
    transition: opacity 0.2s;
}
.profile-card:hover .card-badge {
    opacity: 0.9;
}

/* 会社情報エリア */
.company-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 5px;
    text-align: center;
}

.company-name {
    font-size: 15px;
    font-weight: bold;
    color: #444;
    margin: 0 0 8px 0;
}

.company-address {
    font-size: 12px;
    color: #888;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.company-site {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    background: #f0f8ff;
    border-radius: 8px;
    transition: background 0.2s;
}
.company-site:hover {
    background: #e1efff;
}

/* ============================
   SNSグリッド
   ============================ */
.sns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
    margin-bottom: 40px;
}

.sns-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    transition: transform 0.2s;
}

.sns-item:hover {
    transform: translateY(-2px);
}

.sns-icon-box {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 8px;
    transition: box-shadow 0.2s;
}

.sns-item:hover .sns-icon-box {
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.sns-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
}

/* ============================
   バナー & ボタン
   ============================ */
.banner-area, .btn-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.banner-item, .btn {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--warm-shadow);
    transition: transform 0.2s;
}

.banner-item:active, .btn:active {
    transform: scale(0.98);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.banner-caption {
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-icon {
    color: #ccc;
    font-size: 12px;
}

.btn {
    padding: 18px 20px;
    font-weight: bold;
}

footer {
    margin-top: 50px;
    font-size: 11px;
    color: #aaa;
    letter-spacing: 0.05em;
}