@charset "utf-8";

/* << INDEX >> ----------------------------------------------------------------
*
* @ 共通
* @ トップページ
* @ サイトマップ
* @ 404
* @ 検索
* @ 投稿｜詳細
* @ アーカイブ
*
* -------------------------------------------------------------------------- */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 共通
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* @ ページ遷移アニメーション
---------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* スライドインアニメーション */
.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* スケールアニメーション */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.show {
  opacity: 1;
  transform: scale(1);
}

/* @ カテゴリーラベル
---------------------------------------------------------------------------- */
.post-data .cat_label {
  display: inline-block;
  width: 120px;
  padding: 4px 0;
  margin-left: 1em;
  color: #fff;
  border-radius: 3px;
  font-size: 0.875em;
  text-align: center;
}

/* @ カラム分割
---------------------------------------------------------------------------- */
.flex_cols {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* >>>> 2カラム分割 */
@media screen and (min-width: 481px) {
  .col2 {
    width: calc(((100% - 15px) / 2) - 0.1px);
    margin: 0 15px 15px 0;
  }

  .col2:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 480px) {
  .col2 {
    width: 100%;
    margin: 0 auto 15px;
  }
}

/* >>>> 3カラム分割 */
@media screen and (min-width: 769px) {
  .col3 {
    width: calc(((100% - 15px * 2) / 3) - 0.1px);
    margin: 0 15px 15px 0;
  }

  .col3:nth-of-type(3n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .col3 {
    width: calc(((100% - 15px) / 2) - 0.1px);
    margin: 0 15px 15px 0;
  }

  .col3:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 480px) {
  .col3 {
    width: 100%;
    margin: 0 auto 15px;
  }
}

/* >>>> 4カラム分割 */
@media screen and (min-width: 769px) {
  .col4 {
    width: calc(((100% - 15px * 3) / 4) - 0.1px);
    margin: 0 15px 15px 0;
  }

  .col4:nth-of-type(4n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .col4 {
    width: calc(((100% - 15px) / 2) - 0.1px);
    margin: 0 15px 15px 0;
  }

  .col4:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 480px) {
  .col4 {
    width: 100%;
    margin: 0 auto 15px;
  }
}

/* @ 投稿リスト
---------------------------------------------------------------------------- */
.news-list {
  background-color: #fff;
  padding: 30px;
  margin: 0;
  padding: 15px 22px;
  background: #fff;
  border: 2px solid #f39e34;
  border-radius: 5px;
}

.news-list ul {
  margin: 0;
  padding: 0;
}

.news-list ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.news-list ul li dl {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  border-bottom: dotted 1px #ccc;
}

.news-list ul li:hover dl {
  background-color: #eee;
}

.news-list ul li:last-of-type dl {
  border-bottom: none;
}

.news-list ul li dl dt {
  width: 100px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.news-list ul li dl dd {
  margin: 0;
  padding: 0;
}

.news-list ul li dl dd:last-of-type {
  width: calc(100% - (100px + (120px + 30px)));
}

.news-list ul li dl dd:last-of-type a {
  text-decoration: none;
  color: #444;
}

@media screen and (max-width: 768px) {
  .news-list ul li dl dd:last-of-type {
    margin-top: 5px;
    width: 100%;
  }
}

.news-list .cat_label {
  margin-right: 30px;
  width: 120px;
}

.news-list .cat_label span {
  display: block;
  padding: 5px 7px;
  background-color: #aaa;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  font-size: 0.875rem;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* @ 画像キャプション
---------------------------------------------------------------------------- */
.wp-caption {
  width: auto !important;
}

.wp-caption .wp-caption-text {
  margin: 5px 0;
  text-align: center;
}

/* @ その他
---------------------------------------------------------------------------- */
.wp-pagenavi {
  clear: both;
}

.flex-box {
  display: flex;
}
.flex-box.img60  {
  gap: 40px;
  align-items: center;
}
.flex-box.img60 figure {
  width: 60%;
}
.flex-box.img60 .txt-box {
  width: 40%;
}
@media screen and (max-width: 768px) {
.flex-box.img60 figure {
    width: 100%;
  }

  .flex-box.img60 .txt-box {
    width: 100%;
  }
}
.flex-box.card3  {
  gap: 40px;
    flex-wrap: wrap;
}
@media screen and (max-width: 480px) {
  .flex-box.card3 {
      gap: 20px;
    }
}
.flex-box.card3>* {
  width: calc((100% - 40px*2) / 3);
}
@media screen and (max-width: 768px) {
  .flex-box.card3 > * {
    width: calc((100% - 40px) / 2);
  }
}
@media screen and (max-width: 600px) {
  .flex-box.card3 > * {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .flex-box {
    flex-wrap: wrap;
  }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ トップページ
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ サイトマップ
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.page-sitemaps .sitemaps-list {
  width: 48%;
  float: left;
  margin-left: 4%;
}

.page-sitemaps .sitemaps-list:first-child {
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  .page-sitemaps .sitemaps-list {
    width: 100%;
    float: none;
    margin-left: 0;
  }
}

.page-sitemaps .sitemaps-list ul {
  padding: 0;
}

.page-sitemaps .sitemaps-list ul ul {
  padding-left: 1.5em;
}

.page-sitemaps .sitemaps-list li {
  list-style: none;
}

.page-sitemaps .sitemaps-list li a {
  display: block;
  padding: 0.5em;
  color: inherit;
  border-bottom: 1px dotted #ccc;
  text-decoration: none;
}

.page-sitemaps .sitemaps-list li a:hover {
  text-decoration: none;
  background-color: #f4f9fe;
}

.page-sitemaps .sitemaps-list li a:before {
  font-family: 'FontAwesome';
  font-weight: normal;
  content: "\f105";
  margin-right: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 404
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* @ メッセージ
---------------------------------------------------------------------------- */
.error404 .er404-message {
  text-align: center;
}

.error404 .er404-message:before {
  display: block;
  font-family: 'FontAwesome';
  font-weight: normal;
  font-size: 140px;
  content: "\f071";
  color: #f66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (max-width: 768px) {
  .error404 .er404-message:before {
    font-size: 112px;
  }
}

.error404 .er404-message p:first-child {
  font-family: 'Open Sans', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (max-width: 768px) {
  .error404 .er404-message p:first-child {
    font-size: 2.25em;
  }
}

.error404 .er404-message p:first-child span {
  font-size: 0.5em;
}

/* @ 検索フォーム
---------------------------------------------------------------------------- */
#er404-search {
  display: flex;
  width: 80%;
  min-width: 280px;
  max-width: 680px;
  margin: 5em auto;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  #er404-search {
    margin: 2em auto;
  }
}

#er404-search label:first-of-type {
  width: 100%;
}

#er404-search input[type='text'] {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: #eee;
}

#er404-search input[type='submit'] {
  font-family: 'FontAwesome';
  box-sizing: border-box;
  padding: 0.5em 0.75em;
  height: 100%;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: #2d3339;
  color: #fff;
  font-weight: normal;
  font-size: 1.25em;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: opacity 0.3s;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 検索
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.search #er404-search {
  margin: 3em auto;
}

.search .search-list {
  border-top: 1px solid #ccc;
}

.search .search-list ul {
  display: block;
  margin: 0;
  padding: 0;
}

.search .search-list>a {
  display: block;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s;
  transition: opacity 0.3s;
}

.search .search-list>a:hover {
  opacity: 0.6;
  text-decoration: none;
}

.search .search-list h3 {
  margin-top: 0;
}

.search .search-list p:last-child {
  text-align: right;
  margin-bottom: 0;
  padding-top: 1em;
  border-top: 1px dotted #ccc;
  font-size: 0.875em;
  color: #999;
}

.search .search-count {
  margin: 2em 0;
}

.search-everything-highlight {
  font-weight: bold;
  text-decoration: underline;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.search-everything-highlight:before {
  display: none;
}

.search .permalink {
  overflow: hidden;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 投稿｜詳細
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.single .post-data {
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1em;
  margin-bottom: 3em;
  font-weight: bold;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home h2 {
  margin-top: 0;
  padding-top: 0;
}

.main p {
  line-height: 1.8;
  letter-spacing: 1px;
}

/* slickスライダー用カスタム */
.index-keyimg {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.index-keyimg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

.index-keyimg .slider,
.index-keyimg .slide img {
  position: relative;
  z-index: 0;
}

.index-keyimg .txt-box {
  z-index: 2;
}

.index-keyimg .slider {
  width: 100%;
}

.index-keyimg .slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100vh;
}

.index-keyimg .txt-box {
  position: absolute;
  bottom: 50%;
  left: 5%;
  transform: translateY(50%);
  z-index: 2;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .index-keyimg .txt-box {
    padding: 1em 1em;
    font-size: 0.95em;
  }
}

.index-keyimg .txt-box .ttl {
  margin: 0;
  font-size: 5rem;
  font-weight: bold;
  color: #f39e34;
}

@media screen and (max-width: 768px) {
  .index-keyimg .txt-box .ttl {
    font-size: 3.125rem;
    line-height: 1;
  }
}

.index-keyimg .txt-box p:not(.ttl) {
  font-size: 1.125rem;
  color: #fff;
}

/* slickズーム＋フェード用アニメーション */
@keyframes zoomUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.index-keyimg .slide img.add-animation {
  animation: zoomUp 6s linear 0s normal both;
}

.index-about,
.index-service {
  padding: 80px 0;
}
@media screen and (max-width: 768px) {
  .index-about,
  .index-service {
    padding: 60px 0;
  }
}

.index-about .flex-box>*,
.index-service .flex-box>* {
  width: 50%;
}

@media screen and (max-width: 768px) {

  .index-about .flex-box>*,
  .index-service .flex-box>* {
    width: 100%;
  }
}

.index-service {
  background: linear-gradient(144deg, #fff2e3 0%, #ffe9e8 100%);
}

.about-card {
  display: flex;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .about-card {
    flex-direction: column;
  }
}

.about-card-img {
  position: relative;
  overflow: hidden;
}

.about-card-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
}

@media screen and (max-width: 480px) {
  .about-card-img img {
    filter: contrast(0.8);
  }
}

.about-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2.5rem 2rem 0 2rem;
  pointer-events: none;
}
@media screen and (max-width: 480px) {
  .about-card-hover {
  padding: 2.5rem 1rem 0 1rem;
  }
}

@media screen and (min-width: 769px) {
  .about-card-img:hover .about-card-hover {
    opacity: 1;
    pointer-events: auto;
  }
}
@media screen and (max-width: 768px) {
  .about-card-hover {
    opacity: 1;
    background: none;
    pointer-events: auto;
  }
}

.about-card-hover-inner {
  width: 100%;
}

.about-card-title {
  font-size: 2.2rem;
  color: #f39e34;
  font-weight: bold;
  margin-bottom: 7rem;
  display: block;
}

.about-card-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #d9534f;
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  position: absolute;
  left: 0;
  bottom: 0;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
@media screen and (max-width: 768px) {
  .about-card-btn {
    padding: 10px;
    font-size: 1rem;
  }
}

.about-card-btn:hover {
  background: #b52b27;
}

.about-card-btn .arrow {
  float: right;
  font-size: 1.3em;
}

.about-main-btn {
  display: block;
  margin: 48px auto 0 auto;
  text-align: center;
}

.about-main-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em;
  width: 100%;
  max-width: 420px;
  min-width: 260px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #f39e34 0%, #d9534f 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.08em;
  outline: none;
  position: relative;
  z-index: 10;
  text-decoration: none;
  gap: 1.2em;
}

@media screen and (max-width: 480px) {
  .about-main-btn-link {
    font-size: 1rem;
  }
}

.about-main-btn-link::after {
  content: '\f061';
  /* fa-arrow-right */
  font-family: 'Font Awesome 5 Solid';
  font-weight: 900;
  margin-left: 0.7em;
  vertical-align: middle;
  display: inline-block;
  transition: color 0.18s;
}

.about-main-btn-link .fa,
.about-main-btn-link .fa-arrow-right {
  font-size: 1.3em;
  margin-left: 0.7em;
  vertical-align: middle;
}

.about-main-btn-link:hover,
.about-main-btn-link:focus {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  background: linear-gradient(90deg, #d9534f 0%, #f39e34 100%);
  text-decoration: none;
}

.index-service .about-card-hover-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 2.5rem 2rem 0 2rem;
  z-index: 2;
  pointer-events: none;
}

.index-service .about-card-title {
  display: block;
  font-size: 2.6rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), 0 1px 0 #888;
  letter-spacing: 0.04em;
  margin-bottom: 0.2em;
}

@media screen and (max-width: 480px) {
  .index-service .about-card-title {
    font-size: 1.625rem;
  }
}

.index-service .about-card-label {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.85;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-bottom: 1.5em;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.index-service .about-card-img {
  position: relative;
}

.index-service .about-card-hover .about-card-hover-inner {
  position: static;
  padding: 0;
  z-index: auto;
  pointer-events: auto;
}

.index-service .about-card-hover-inner a.about-card-btn {
  pointer-events: auto;
}

@media screen and (min-width: 769px) {
  .index-service .about-card-img:hover .about-card-hover {
    background: rgb(181 181 181 / 70%);
  }
}

@media screen and (min-width: 769px) {
  .index-service .about-card-img .about-card-hover {
    background: rgb(181 181 181 / 70%);
  }
}

.index-recruit {
  width: 100%;
  min-height: 420px;
  background: url('../img/index-recruit-bg01.webp') center center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 80px 0;
}

.index-recruit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

.index-recruit .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.index-recruit .large_headline span {
  display: block;
  font-size: 1.2rem;
  color: #f39e34;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.index-recruit .large_headline strong {
  display: block;
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.index-recruit-sub {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0;
  color: #ffe9e8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.index-recruit-txt {
  font-size: 1.1rem;
  margin-bottom: 2.5em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .index-recruit {
    min-height: 320px;
    padding: 48px 0;
  }

  .index-recruit .large_headline strong {
    font-size: 1.5rem;
  }

  .index-recruit-sub {
    font-size: 1.05rem;
  }

  .index-recruit-txt {
    font-size: 0.98rem;
  }
}

#index-news {
  padding: 80px 0 120px;
  background: #fffdf7;
}

.about-important .flex-box {
  margin-bottom: 80px;
  gap: 40px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .about-important .flex-box {
    margin-bottom: 60px;
  }
}

.about-important .flex-box figure {
  flex: 0 0 30%;
  max-width: 30%;
}
.about-important .flex-box p {
  flex: 0 0 70%;
  max-width: 70%;
}
@media screen and (max-width: 900px) {
  .about-important .flex-box {
    flex-direction: column;
    gap: 24px;
  }
  .about-important .flex-box figure,
  .about-important .flex-box p {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

.flex-card {
  display: flex;
  gap: 40px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.flex-card > * {
  width: calc(50% - 40px);
  min-width: 0;
}
@media screen and (max-width: 600px) {
.flex-card>* {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .flex-card {
    flex-direction: column;
    gap: 24px;
  }
}

p.target {
    border: 1px solid #a7a7a7;
      border-radius: 10px;
      width: 35%;
      margin: 0 auto 30px auto;
      background: #fefefe;
      color: #696969;
      text-align: center;
      padding: 4px;
}
.flex-box.card3 .card p {
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.25rem;
}
.link-txt {
  text-align: right;
}
.link-txt a {
  color: #f39e34;
  text-decoration: none;
  font-size: 1.25rem;
}
.link-txt a::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Solid';
  font-weight: 900;
  margin-left: 0.7em;
  vertical-align: middle;
  display: inline-block;
  transition: color 0.18s;
}
.link-txt a:hover {
  text-decoration: underline;
}

.timeline-box {
  position: relative;
  margin: 60px 0 80px 0;
  padding-left: 32px;
  border-left: 2px solid #d6e2d6;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
  min-height: 160px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.time {
  flex: 0 0 120px;
  font-size: 1.1rem;
  color: #6bb48d;
  font-weight: 600;
  margin-right: 24px;
  position: relative;
  z-index: 2;
  padding-top: 22px;
}
@media screen and (max-width: 600px) {
  .time {
    flex: 0 0 60px;
  }
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #6bb48d;
  border-radius: 50%;
  z-index: 3;
}
@media screen and (max-width: 600px) {
.timeline-item::before {
        left: -28px;
          top: 3px;
  }
}
.timeline-item .content {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.timeline-item img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 0;
}
.timeline-item .text {
  flex: 1 1 0;
  min-width: 0;
}
.timeline-item .text h3 {
    font-size: 1.25rem;
      font-weight: bold;
      margin: 0 0 10px 0;
      padding-bottom: 0;
      color: #222;
      text-align: left;
      background: linear-gradient(transparent 70%, #d9eddd 0%);
      display: inline-block;
}
.timeline-item .text h3::before {
content: none;
}
.timeline-item .text p {
  font-size: 1rem;
  color: #444;
  margin: 0 0 8px 0;
  line-height: 1.8;
}
@media screen and (max-width: 900px) {
  .timeline-item .content {
    flex-direction: column;
    align-items: flex-start;
      gap: 0;
  }
  .timeline-item img {
    width: 100%;
    height: 350px;
  }
}
@media screen and (max-width: 600px) {
  .timeline-box {
    padding-left: 16px;
  }
  .timeline-item {
    flex-direction: column;
    min-height: 0;
    margin-bottom: 32px;
  }
  .time {
    margin-right: 0;
    font-size: 1.125rem;
    padding-top: 0;
  }
}
.step {
  background: #fafafa;
  border: 1.5px solid #bfc8c2;
  border-radius: 4px;
  margin: 48px 0 0 0;
  padding: 32px 0 32px 0;
  position: relative;
  max-width: 100%;
}
.step-number {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  color: #bfc8c2;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  position: relative;
  line-height: 1;
}
.step-number::after {
  font-family: 'Font Awesome 5 Solid';
  content: '\f0d7';
  font-weight: 900;
  vertical-align: middle;
  display: block;
  transition: color 0.18s;
}
.step-container {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0 auto;
  padding: 0 32px;
}
.step-image {
  flex: 0 0 340px;
  max-width: 340px;
}
@media screen and (max-width: 480px) {
.step-image {
    flex: 0;
  }
}
.step-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.step-content {
  flex: 1 1 0;
  min-width: 0;
}
.step-content h4 {
  font-size: 1.35rem;
  font-weight: bold;
  margin: 0 0 12px 0;
  color: #222;
}
.step-content p {
  font-size: 1.08rem;
  color: #444;
  margin: 0 0 8px 0;
  line-height: 1.9;
}
@media screen and (max-width: 900px) {
  .step-container {
    flex-direction: column;
    gap: 18px;
    padding: 0 8vw;
  }
  .step-image, .step-content {
    max-width: 100%;
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .step {
    padding: 18px 0 18px 0;
  }
  .step-number {
    font-size: 1.2rem;
  }
  .step-container {
    padding: 0 2vw;
  }
}
.contact {
  margin: 60px 0 0 0;
  padding: 32px 18px;
  background: #f7f7f7;
  border-radius: 8px;
  text-align: center;
}
.contact h3 {
    margin-top: 0;
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 30px;
}
.contact p {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 12px;
}
.contact a {
  display: inline-block;
  color: #fff;
  background: #f39e34;
  padding: 0.7em 2.2em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  transition: background 0.18s;
}
.contact a:hover {
  background: #d9534f;
}