.hidden {
  display: none;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  position: relative;
  max-width: 960px;
}

.section h2.section-title {
  text-align: center;
  color: #1968ae; /* 青系の色 */
  font-size: 28px;
  font-weight: bold;
  position: relative;
  margin: 20px 0 30px;
  padding-bottom: 8px;
}

.section h2.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80vw;
  max-width:800px;
  height: 4px;
  background-color: #cce4ff; /* 薄めの青 */
  border-radius: 2px;
}


@media (min-width: 1024px) {
  .section {
    max-width:77vw;
    margin-right:2vw;
}
  .container{
  padding:5%;
  max-width:85%;
  }
}

/* === セクション（about） === */
.section_about {
  z-index: 26;
  background: #fff;
  padding: 3em 1em;
  border-radius: 16px;                        /* 角丸 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);   /* ほんのり影で浮かせる */
  margin: -15vh 0 0 0;                          /* 中央寄せ */
}

@media (min-width: 1024px) {
.section_about {
  margin: -5vh 0 0 0;                          /* 中央寄せ */
}}

.title-en {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  line-height: 1.4;
  margin-top:-0.3em;
  margin-bottom: 0.5em;
}

.char-about {
  display: inline-block;
  color: #ccc; /* 薄いグレーで開始 */
  transition: color 0.4s ease;
}
.char-about.visible {
  color: #1968ae; /* 強調カラーに */
}

ansform: scale(1.0);
}

.read-more-toggle {
  margin-top: 20px;
  text-align: left;
}
.read-more-content {
  margin-top: 40px;
}
.read-more-btn {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.4em 1.2em;
  border: 1px solid #1a69ae;
  background: transparent;
  color: #1a69ae;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: #1a69ae;
  color: #fff;
}
.sig-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1em 0 0.5em;
}

.signature-image {
  text-align: right;
  margin-bottom: 1em;
}
.signature-image img {
  height: 64px;
  opacity: 0.85;
}
/* === セクション（work） === */
.section_work {
  background: #fdfdfd;
  z-index: 27;
  padding: 3em 1em;
  margin: -10vh 0 0 0;
}
.ul_bgb {
  list-style: none;
  padding-left: 0;
}
.work-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px; 
}

@media (min-width: 768px) {
  .work-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
}

.work-card.visible {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 控えめな影へ変化 */
}

.work-card:hover {
  transform: translateY(-4px); /* ホバー時に少し浮き上がる */
}

.work-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.2) translateY(-40px); /* 初期状態：拡大＆下にずらす */
  transition: all 0.8s ease;
}

.work-image.visible {
  opacity: 1;
  transform: scale(1) translateY(0); /* 表示時：元に戻す */
}

.work-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.8s ease;
}

.work-card.visible .work-image img {
  transform: scale(1.05);
}

.work-caption_top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 112, 192, 0.85); /* 青系半透明 */
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  z-index: 2;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.work-caption_bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  z-index: 2;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}


.work-card ul {
  padding: 10px 40px;
  margin: 0;
  list-style-type: disc;
  color: #333;
}
.work-card li {
  margin: 0;
  list-style-type: disc;
  text-align: left;
}


/* === セクション（wage） === */
.section_wage {
  background: #fff;
  z-index: 27;
  padding: 3em 1em;
}
.wage-example {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.example-label {
  background: #1968ae;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.6em 1em;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5em;
}

.example-content {
  margin-left: 1em;
}
.example-content p {
  margin: 0.2em 0;
}

.text_wage {
  text-align: right;
}

.btn-link {
  display: inline-block;
  background: #1968ae;
  color: #fff;
  padding: 0.5em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}
.btn-link:hover {
  background: #145a9e;
}

.wage-simulator-box {
  flex: 1 1 40%;
  min-width: 280px;
  background: #f0f6ff;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wage-simulator-box h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1em;
  color: #1a69ae;
}

.wage-simulator-box label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
  font-size: 0.9rem;
  gap: 0.5em;
  color: #333;
}

.wage-simulator-box input,
.wage-simulator-box select {
  flex: 1;
  width: 40%;
  max-width: 120px;
  padding: 0.3em 0.5em;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  box-sizing: border-box;
}

#wage-result {
  margin-top: 1em;
  font-weight: bold;
  color: #1a69ae;
  font-size: 1rem;
}

/* === セクション（cases） === */
.section_cases {
  background: #f6f9fc;
  z-index: 27;
  padding: 3em 1em;
}
.cases {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2em;
}
.cases li {
  margin-bottom: 0.6em;
}
.box_c {
  background: #ffffff;
  border-left: 5px solid #1a69ae;
  padding: 1em;
  margin-top: 2em;
  margin-bottom: 2em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* === セクション（voice） === */
.section_voice {
  background: #fefefe;
  z-index: 27;
  padding: 3em 1em;
}

.voice-carousel-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-top: 2em;
}

.voice-carousel {
  display: flex;
  gap: 1em;
  scroll-snap-align: start;
  padding-bottom: 1em;
}

.voice-box {
  flex: 0 0 80%;
  scroll-snap-align: start;
  background: #fff;
  border-left: 5px solid #1a69ae;
  padding: 1.2em;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  min-width: 280px;
  max-width: 400px;
}


/* === セクション（flow） === */
.section_flow {
  background: #f9fafe;
  z-index: 27;
  padding: 3em 1em;
}

.step-box {
  background: #ffffff;
  border-left: 5px solid #1a69ae;
  padding: 1em;
  margin: 1.5em 0;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.step-label {
  font-weight: bold;
  color: #1a69ae;
  font-size: 1.1rem;
}

/* === セクション（contact） === */
.section_contact {
  background: #f3f7fb;
  text-align: center;
  z-index: 27;
  padding: 3em 1em;
}

.contact-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
  text-align: left;
}

.contact-block p {
  font-size: 1rem;
  margin: 0;
  flex: 1;
}

.contact-block a img {
  height: 36px;
}

/* === セクション（company） === */
.section_company {
  background: #ffffff;
  z-index: 27;
  padding: 3em 1em;
}

.info-list {
  margin-bottom: 1.5em;
}

.info-list dt {
  font-weight: bold;
  margin-top: 1em;
  color: #1a69ae;
}
.info-list dd {
  margin: 0 0 0.5em 0;
  padding-left: 1em;
}

.btn-group {
  margin-top: 1em;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0070c0; /* 青系 */
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #005a9e;
}

.btn i {
  margin-right: 6px;
}

