@charset "UTF-8";

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

p {
    margin-bottom: 20px;
    margin-left: 20px;
}

a {
    color: #f57c00;
}

.margin-bottom-40 {
    margin-bottom: 40px !important;
}

/*--- ヘッダー ----*/
header {
    background: #fff;
    border-bottom: 3px solid #2e7d32;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の間隔 */
    text-decoration: none;
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

/*--- メニュー ---*/
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #1b4d20;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #f57c00;
}

nav .now-page {
    color: #f57c00;
}

/*-- フッター --*/

/* ==========================================================================
   フッター（左ロゴ・右住所版）スタイル
   ========================================================================= */
footer {
    background: #1b4d20;
    color: #fff;
    padding: 40px 0; 
}

/* 左右に振り分けるコンテナ */
.footer-inner-split {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;         
    flex-wrap: wrap;
    gap: 30px;
}

/* 左側：ブランドエリア */
.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: bold;
    white-space: nowrap;
}

.footer-logo-img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

/* 右側：詳細エリア（住所を右詰めに） */
.footer-details {
    text-align: right;
    flex: 1;
    min-width: 300px;
}

/* 連絡先 */
.footer-contact {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.footer-contact p {
    margin: 0;
}

.footer-contact .tel {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 4px;
}

/* コピーライト */
.footer-right .copyright,
.copyright {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}


/* --- 見出し --- */
.content-area h2 {
    padding: 12px 15px;
    border-left: 5px solid #2e7d32;
    background: #f1f8e9; 
    color: #2e7d32;
    font-size: 1.4rem;
    margin: 40px 0 20px;
    border-radius: 0 4px 4px 0;
}

.content-area h3 {
    border-bottom: 2px solid #2e7d32;
    padding-bottom: 10px;
    margin-top: 50px;
    color: #333;
}

.content-area h4 {
    position: relative;
    padding-bottom: 8px;
    color: #333;
    font-size: 1.15rem;
    margin: 30px 0 15px;
    border-bottom: 2px solid #eee;
}

.content-area h4::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #f57c00;
}


.content-area .textbox{
    position: relative;
    background: #fff0cd;
    box-shadow: 0px 0px 0px 5px #fff0cd;
    border: dashed 2px white;
    padding: 0.2em 0.5em;
    color: #454545;
    margin-bottom: 50px;
}

.content-area .textbox p {
    margin: 0; 
    padding: 0;
}

/*--- フローチャート ---*/
.flow-container {
  align-items: center;
  margin-left: 20px;
  padding-left: 20px;
}

.flow-container ul {
  padding: 0;
}

.flow-container li {
  list-style-type: none;
}

.flow-container dd {
  margin-left: 0;
}

.flow {
  position: relative;
}

.flow::before {
  content: "";
  width: 15px;
  height: 100%;
  background: #eee;
  margin-left: -129px;
  display: block;
  position: absolute;
  top: 0;
  left: 120px;
  border-radius: 20px;
}

.flow > li {
  position: relative;
}

.flow > li:not(:last-child) {
  margin-bottom: 60px;
}

.flow > li .flow-icon {
  font-size: 0.8em;
  width: 2em;
  height: 2em;
  line-height: 2;
  text-align: center;
  font-weight: bold;
  border-radius: 100vh;
  color: #fff;
  background: #ff9931;
  display: inline-block;
  margin-right: 0.3em;
}

.flow > li dl {
  padding-left: 70px;
  position: relative;
}

.flow > li dl::before,
.flow > li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
}

.flow > li dl::before {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: #9ec355;
  border-radius: 50%;
  left: -4px;
}

.flow > li dl::after {
  width: 50px;
  border-bottom: 1px dashed #999;
  position: absolute;
  left: 5px;
}

.flow > li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: #ff9931;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
}

/* Basic */
.left {
    text-align: left !important;
}

.right {
    text-align: right !important;
}

.center {
    text-align: center;
}

.background-white {
    background-color: #fff !important;
}