/* Import Noto Sans Japanese from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #eeebdd;
    color: #3f4691;
    line-height: 1.6;
}

header {
    padding: 30px 50px 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeebdd;
    background-color: #eeebdd;
    width: 100%;
    position: relative;
}

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

.logo-image {
    height: 50px;
    width: auto;
    transition: opacity 0.3s;
}

.logo-image:hover {
    opacity: 0.8;
}

nav {
    padding: 20px 50px;
    border-bottom: 1px solid #eeebdd;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #3f4691;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3f4691;
}

.page-title {
    padding: 30px 0px 20px 50px;
    display: flex;
    align-items: center;
}

.back-arrow {
    margin-right: 20px;
    color: #3f4691;
    font-size: 24px;
    text-decoration: none;
}

.title-text {
    font-size: 20px;
    font-weight: bold;
}

/* メディアクエリの改善 */
@media (max-width: 768px) {
    header {
        padding: 15px 30px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    nav, .page-title {
        padding: 15px 30px;
    }
    
    .title-text {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    header, nav, .page-title {
        padding: 12px 20px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin-right: 15px;
        margin-bottom: 5px;
    }
    
    .title-text {
        font-size: 16px;
    }
}

/* スマートフォン向けの調整 */
@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }
    
    .logo-image {
        height: 25px;
    }
    
    .page-title {
        padding: 10px 15px;
    }
    
    .title-text {
        font-size: 15px;
    }
}
/* ローディング全体 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #eeebdd;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

/* サイト名テキスト */
.site-name {
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ローディング完了時の非表示 */
#loading.hidden {
  opacity: 0;
  pointer-events: none;
}

