@charset "UTF-8";

/* =============================================
   基本設定
   ============================================= */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =============================================
   お洒落なボタン設定
   ============================================= */
.btn {
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
}

/* 黄色のボタン */
.btn-warning {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}
.btn-warning:hover {
    background: linear-gradient(135deg, #ffe066 0%, #ffb347 100%);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
    color: #fff !important;
}

/* 青色のボタン */
.btn-primary {
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #8f94fb 0%, #4e54c8 100%);
    box-shadow: 0 8px 25px rgba(78, 84, 200, 0.5);
}

/* 白枠のボタン */
.btn-outline-light {
    border: 2px solid #fff;
    font-weight: 700;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: #333;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.btn-outline-primary {
    border: 2px solid #4e54c8;
    color: #4e54c8;
    background: transparent;
}
.btn-outline-primary:hover {
    background: #4e54c8;
    color: #fff;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
}


/* =============================================
   トップページ修正箇所
   ============================================= */

/* ヒーローセクション（背景：青） */
.hero {
    background-color: #0d6efd; 
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* セクションタイトル */
.section-title {
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

/* タイトル下の黄色い線 */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #FFD700;
    margin: 15px auto 0; 
    border-radius: 3px;
}

/* 左寄せ指定時の対応 */
.section-title.text-start {
    text-align: left !important;
}
.section-title.text-start::after {
    margin: 15px 0 0;
}

/* ★修正：プロフィール画像の位置調整 */
.profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    
    /* 上から20%の位置を中心に合わせる（ここを調整しました） */
    object-position: center 0%;
    
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 制作実績カード */
.portfolio-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ユーティリティ */
.badge {
    vertical-align: middle;
}