@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #002D6B; 
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 1px;
}

 p{
    margin-bottom: 20px;
}

h1 {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0 0.5rem 1.2rem; 
    position: relative;
    font-weight: 500;
    margin-top: 40px;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px; 
    height: 100%;
    background-color: #899ac4;
    border-radius: 4px;
}


h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1em;
    margin-top: 2em;
}

h3::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #38549a;
    border-radius: 3px; 
    flex-shrink: 0;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.placeholder-img {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-br {
  display: none;}
  
/* ヘッダー */
.header {
    background-color: #38549a;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 45, 107, 0.15);
        position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 1.2rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
        font-size: 0.9rem;
    font-weight: 600;
}

.nav a {
    color: white;
    text-decoration: none;

    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}
.nav a:hover {
    border-bottom: 2px solid white;
    opacity: 0.7;}

.current{
    color: #fffdc1;
}

/* メインビジュアル */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 60px;
    gap: 40px;
}

.hero-image img {
    width: 100%;
    height: auto; 
    max-width: 100% !important;
    display: block; 
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-left: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-text span {
    color: #38549a;
    border-bottom: 2px solid #38549a; /* 強調線 */
}

.hero-image {
    flex: 1;
}

/* プロフィール */
.profile {
    margin-bottom: 20px;
}

.profile-card {
    background-color: #38549a;
    color: white;
    display: flex;
    border-radius: 40px;
    overflow: hidden;
    min-height: 350px;
    font-size: 17px;
}

.profile-content {
    flex: 1;
    padding: 50px;
}


.profile-photo {
    flex: 0 0 40%;
    position: relative;
}

.over-logo{
    position: absolute;
    width: 100px;
    bottom: 30px;
    left: -40px;
}

/* 取扱業務 */
.services {
    padding: 40px 20px;
}

.text-block {
    text-align: justify;
}

/* --- 共通設定 --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    border-radius: 50px; /* 完全な角丸 */
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

/* 右側の矢印（共通） */
.btn::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor; /* 文字と同じ色になる */
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

/* ホバー時の矢印の動き */
.btn:hover::after {
    transform: translateX(5px) rotate(45deg);
}


/* --- パターンA：白枠タイプ（紺背景用） --- */
.btn-outline {
    color: #ffffff;
    border: 2px solid #ffffff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1); /* ほんのり明るく */
    opacity: 0.8;
}


/* ---（白背景用） --- */
.btn-primary {
    color: #ffffff;
    background-color: #38549a; 
    border: 2px solid #38549a;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #38549a;
}


.section-inner {
  padding-left: 1.5em;
  margin-top: 1em;
}

.section-inner > *:first-child {
  margin-top: 0;
}

.section-inner ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1em;
}

.section-inner li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.4em;
}

.section-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5em;
  height: 0.5em;
  background-color: #c7d6df; /* 薄いブルーグレー */
  border-radius: 50%;
}


/* =========================
   経歴用 dl（dt/dd 横並び）
========================= */
dl {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 0.5em 1em;
  max-width: 800px;
  margin-bottom: 40px;
}

dl dt {
  font-weight: 600;
}

dl dd {
  margin: 0;
  padding-left: 1em;
}


.fukidashi{
  position: relative;
  padding: 20px;
  border-radius: 8px;
  font-size: 90%;
  background-color: #e4edf5;
  margin-left: 110px;    
  margin-bottom: 40px;
}

.fukidashi .icon{
  position: absolute;
  left: -120px;
  top: 0;
}

.fukidashi::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -8px;
  top: 35px;
  border-right: 10px solid #e4edf5;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}



/* フッター */
/* 100%幅のフッター設定 */
footer a { 
    color: #ffffff;
}

.footer-complex {
    background-color: #38549a;
    color: white;
    width: 100%;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    width: 100%;
    min-height: 350px; /* 地図の高さ */
}

/* 事務所情報のエリア */
.footer-info {
    flex: 1;
    padding: 60px 5%;
    display: flex;
    padding: 0 0 0 calc((100% - 1000px) / 2 + 20px); 
    flex-direction: column;
    justify-content: center;
}

.footer-info p{
    margin: 0px;
}

@media (max-width: 1000px) {
    .footer-info {
        padding: 60px 20px; 
    }
}

.footer-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 2;
    opacity: 0.9;
}

/* 地図エリア */
.footer-map {
    flex: 1;
    background-color: #e0e0e0; /* 読み込み前のグレー */
    line-height: 0; /* 下の隙間を消す */
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    filter: grayscale(0.2); 
}

/* フェードイン */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 { transition-delay: 0.2s; }
.delay-400 { transition-delay: 0.4s; }

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}
.mt-60 {
    margin-top: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fade-in{
        display: block;
    }
    .header-inner, .hero, .profile-card {
        flex-direction: column;
    }
    .sp-br {
    display: block;
  }


.over-logo{
    width: 120px;
    bottom:50px;
    left: 40px;
}
    .nav ul {
        margin-top: 20px;
    }
    .hero-text h2 {
        font-size: 1.8rem;
    }
    .profile-photo {
        margin-bottom: -20px;

    }
  .section-inner {
    padding-left: 1em;
    border-left-width: 1px;
  }



      .footer-container {
        flex-direction: column; /* 上下に並べる */
    }
    
    .footer-info {
        padding: 40px 20px;
        text-align: left;
    }
    
    .footer-info h2 {
        font-size: 1.5rem;
    }

    .footer-map {
        height: 300px; /* スマホ時の地図の高さ固定 */
    }
}
