/*
Theme Name: Understrap Child
Theme URI: https://understrap.com/
Description: A child theme for Understrap
Author: Your Name
Author URI: https://yourwebsite.com/
Template: understrap
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
*/

/*
html, body {
    color: #1A474C;
    font-family: 'Zen Kaku Gothic New', sans-serif;
	background-color: #FFFCFA;
	background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: top left;
  background-attachment: fixed; /* ← スクロールしても背景が固定される */
}
/*
p {
    color: #1A474C;
    font-family: 'Zen Kaku Gothic New', sans-serif;	
}*/

/*
.char-animate span {
  display: inline-block;
  opacity: 0;
  animation: fadeInChar 0.4s ease-out forwards;
}

@keyframes fadeInChar {
  to {
    opacity: 1;
  }
}*/

/* ------------------------------
   基本リセット
------------------------------ 
html, body {
  margin: 0;
  padding: 0;
}

/* ------------------------------
   トップページ限定のスクロール制御
------------------------------ 
body.page-id-9 {
    height: 100%;
    overflow: hidden;
}

body.page-id-9 .scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}*/

/* ------------------------------
   セクション共通（スナップ用）
------------------------------ 
body.page-id-9 .page-section {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}*/

/* ------------------------------
   ヒーローセクション（トップページ）
------------------------------ 
section.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  margin-bottom: 5rem;
}

.hero-inner {
  text-align: center;
}*/

/*
.hero-title {
  margin: 4rem auto;
  font-size: 3.2rem;
  font-family: "Zen Kurenaido", sans-serif;
  color: #338998;
}

.hero-text {
  font-size: 1.2rem;
  line-height: 2.6;
  margin-bottom: 2.4rem;
}

/*.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}*/

/* ------------------------------
   サービス・アバウト・コンタクト共通
------------------------------ 
section.service-section,
section.about-section,
section.contact-section {
  height: 100vh;
  display: flex;
  align-items: center;
}

.service-inner,
.about-inner,
.contact-inner {
  width: 100%;
  max-width: min(90ch, 90vw);
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
  text-align: left;
}

/* ------------------------------
   セクションタイトル
------------------------------ 
.section-title {
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
  font-family: 'Zen Kurenaido', sans-serif;
  color: #338998;
}*/

/* ------------------------------
   サービスブロック
------------------------------ 
.service-title {
  font-family: 'Zen Kurenaido', sans-serif;
  font-size: 1.6rem;
  width: fit-content;
  padding: 1.2rem;
  margin-bottom: 0;
}

.service-description {
  font-size: 1.1rem;
  padding: 0 1.2rem;
}

.service-block {
  border-left: 10px solid #338998;
  margin-top: 2rem;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-wrapper {
  text-align: right;
}*/

/* ------------------------------
   ボタン共通
------------------------------ */
/*a.btn {
  letter-spacing: 1px;
  padding: 13px 20px;
  outline: 0;
  border: 1px solid #1A474C;
  border-radius: 0;
  position: relative;
  color: #1A474C;
}

a.btn:after {
  content: "";
  background-color: #8CE1EA;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: -1;
  transition: 0.2s;
}

a.btn:hover:after {
  top: 0px;
  left: 0px;
}*/

/* サービス用ボタン（簡略スタイル） 
a.btn.service-btn {
  border: none;
  box-shadow: none;
  display: inline-flex;
  color: #338998;
  font-weight: 500;
}

a.btn.service-btn:hover {
  background-color: #338998;
  color: #ffffff;
}

a.btn.service-btn:after {
  display: none;
}*/

/* ------------------------------
   その他
------------------------------ 
span.material-symbols-rounded {
  vertical-align: middle;
  font-size: 1rem;
  line-height: 1.5;
}

.about-text,
.contact-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 3rem 0;
}


.site-header {
  width: 100%;
  position: relative;
  z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.4rem;
    position: relative;
}

.site-branding {
  flex: 0 0 auto;
}

.site-logo {
  height: 40px; /* 必要に応じて調整 
}

.main-navigation {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu ul {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}

.nav-menu li {
    list-style: none;
    padding: 0.4rem 0.8rem;
    border-bottom: 1px solid #1A474C;
}

.nav-menu a {
    color: #1A474C;
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 1.2rem;
}

.nav-menu li:hover {
    background-color: #1A474C;
}
.nav-menu a:hover {
    color: #fff;
    text-decoration: none;
}

/*.wp-singular .container {
    width: 100%;
    max-width: 100vw;
    padding: 0;
}*/