@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

/*==========================
Reset / Basic
==========================*/
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* bodyのスタイルを1か所に集約 */
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(to bottom, #d9e7f9, #f9e8d9);
  color: var(--primary-darkgrey);
}

body.no-scroll {
  position: fixed;
  width: 100%;
}

/*==========================
common
==========================*/

/* 「View More」ボタン */
.view-more-container {
  display: flex;
  justify-content: flex-end; /* 右端に配置 */
  padding-right: 11%; /* 右側の余白調整 */
  margin-top: 30px;
}

.view-more-container-profile {
  display: flex;
  justify-content: flex-end;
  margin-top: 62px;
}

.view-all-container-blog {
  display: flex;
  justify-content: center;
  padding: 68px 11% 110px;
}

a.btn-flat {
  overflow: hidden;
  padding: 1.5rem 6rem;
  color: #fff;
  border-radius: 0;
  background: #686563;
}
a.btn-flat span {
  font-size: 2rem;
  position: relative;
}
a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  transition: all .5s ease-in-out;
  transform: translateX(-96%);
  background: #eb6877;
}
a.btn-flat:hover:before {
  transform: translateX(0%);
}

/* 「View ALL」ボタン */
.view-all {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  position: relative;
  background: #686563;
  border: 1px solid #686563;
  box-sizing: border-box;
  padding: 0 40px;
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
}
.view-all:hover {
  background: #fff;
  color: #686563;
}
.view-all:hover:before {
  border-top: 2px solid #686563;
  border-right: 2px solid #686563;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .view-more-container {
    justify-content: center; /* スマホでは中央寄せ */
    padding-right: 0;
  }
  .view-more-container-profile {
    justify-content: center;
  }
  .view-all-container-blog {
    justify-content: center;
    padding: 72px 0 60px;
  }
}

/*==========================
main section
==========================*/

/* メイン画像周り */
.article-header {
  padding-top: 110px;
}
.main {
  background-color: #F4F4F4;
  position: relative;
}
.mainImg {
  animation: bounce 1.5s infinite;
}
.mainImg-pc {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像上のテキスト */
.main-text {
  position: absolute;
  top: 56%; /* 画像の中央 */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #333;
}

/* bounceアニメーション */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/*==========================
.scroll_down (スクロール誘導)
==========================*/
.scroll_down {
  position: relative;
  width: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  /* 何か背景画像を使う場合はここで設定 */
}

.scroll_down:after {
  /* グラデーションを入れたい場合はここで指定 */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
}

.scroll_down a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 13px;
  padding: 10px 10px 110px;
  color: #000;
  font-size: 2rem;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}
.scroll_down a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #ddd;
}
.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #000;
}
.scroll_down a:hover {
  opacity: 0.5;
}

/* 伸縮アニメーション */
#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

@media (max-width: 768px) {
  .scroll_down a {
    bottom: -92px;
    font-size: 1.2rem;
  }
}

/*==========================
lead section
==========================*/

.highlight-section {
  background: #F4F4F4;
  padding: 100px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

/* 背景の円 */
.highlight-section::before,
.highlight-section::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 192, 203, 0.2);
  border-radius: 50%;
}
.highlight-section::before {
  top: 25%;
  left: 10%;
}
.highlight-section::after {
  bottom: 15%;
  right: 10%;
}

/* テキストボックス */
.highlight-content {
  background: #fff;
  padding: 140px 165px;
  border-radius: 50%;
  max-width: 805px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* タイトル */
.highlight-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--primary-darkgrey);
  margin-bottom: 50px;
}

/* テキスト */
.highlight-content p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--primary-darkgrey);
  margin-bottom: 15px;
}

/* 強調 */
.highlight-content strong {
  font-weight: bold;
  color: var(--primary-darkgrey);
  font-size: 2.4rem;
}

@media (max-width: 1024px) {
  .highlight-content {
    padding: 110px 55px;
  }
}

@media (max-width: 768px) {
  .highlight-content {
    padding: 40px;
    border-radius: 30px;
    background: none;
    box-shadow: none;
  }
  .highlight-title {
    font-size: 2rem;
  }
  .highlight-content strong {
    font-size: 1.9rem;
  }
  .highlight-content p {
    font-size: 1.6rem;
  }
  .highlight-section::before,
  .highlight-section::after {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .highlight-content {
    background: transparent;
    box-shadow: none;
    padding: 20px;
  }
  .highlight-title {
    font-size: 2rem;
  }
  .highlight-content p {
    font-size: 1.6rem;
  }
}

/*==========================
Profile section
==========================*/
/* プロフィールタイトル */
.profile-section {
  text-align: center;
  padding: 170px 20px;
  padding-bottom: 262px;
  background: linear-gradient(180deg, #F5F5F5 6.65%, #A8C6E1 31.6%, #B5CEE5 53.6%, #DEEAF4 73.6%, #FFD37F 81.1%, #DCDDE3 92.6%);
}

.profile-name {
  color: #fff;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  padding-bottom: 25px;
}
.profile-job,
.profile-en {
  color: #fff;
  font-size: 2rem;
  font-style: normal;
  line-height: normal;
}

/* About */
.about-container {
  position: relative;
}
.about-box {
  display: flex;
  justify-content: space-around;
  max-width: 1440px;
  align-items: center;
  margin: 0 auto;
  padding-right: 160px;
  padding-top: 60px;
}
.profile-box2 {
  flex: 1;
  padding: 32px 40px 0 0;
  text-align: left;
}
.profile2-text {
  color: #737373;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 217.2%;
  max-width: 515px;
}

/* プロフィール画像 */
.about-img {
  display: flex;
  justify-content: center;
  padding-right: 30px;
}
.about-img img {
  width: 509px;
  object-fit: cover;
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.about-back {
  position: absolute;
  right: -157px;
  top: 27%;
  font-size: 160px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
  transform: rotate(90deg);
  white-space: nowrap;
}

/* タブレット */
@media (max-width: 768px) {
  .profile-section {
    padding-bottom: 120px;
    padding: 50px 20px;
  }
  .about-img {
    padding: 0;
  }
  .profile-name {
    font-size: 2.4rem;
    padding-top: 30px;
  }
  .profile-job,
  .profile-en {
    font-size: 1.8rem;
  }
  .profile-box2 {
    padding: 0;
    font-size: 1.6rem;
    padding-top: 35px;
  }
  .about-box {
    display: flex;
    flex-direction: column;
    padding-right: 0;
  }
  .about-back {
    display: none;
  }
}

/*==========================
Service section
==========================*/
.service-section {
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  padding-top: 0;
  background: linear-gradient(180deg, #DCDDE3 0%, #DEEAF4 19.6%, #EDF6FD 91.6%);
}
.service-section .section-title span{
  color: #1D9EFB;
}

/* セクションタイトル */
.section-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左揃え */
  margin: 0 6% 50px;
}
.section-title {
  font-size: 7rem;
  font-family: Montserrat, sans-serif;
  font-weight: bold;
  color: var(--primary-darkgrey);
  letter-spacing: 8px;
}
.section-subtitle {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.8;
  color: var(--primary-darkgrey);
  margin-top: 10px;
  text-align: left;
}

/* サービス項目 */
.service-item-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.service-item {
  margin: 0 11%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 57px 31px 57px 53px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 1210px;
}

/* サービスタイトル部分 */
.service-titlebox {
  display: flex;
  align-items: center;
  width: 32%;
  gap: 40px;
}
.service-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-darkgrey);
}
.service-icon {
  width: 73px;
}

/* サービス説明 */
.service-text {
  width: 66%;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--primary-darkgrey);
  text-align: left;
}


/* タブレット */
@media (max-width: 768px) {
  .service-section {
    padding-bottom: 70px;
    padding-top: 70px;
  }
  .section-title-box {
    display: flex;
    justify-content: center;
  }
  .section-title {
    font-size: 4.5rem;
  }
  .section-subtitle {
    font-size: 1.6rem;
  }
  .service-item {
    flex-direction: column; /* 縦並びに変更 */
    text-align: center;
    padding: 40px 20px;
    width: auto;
    margin: 0 5% 32px;
  }
  .service-titlebox {
    justify-content: left;
    gap: 13px;
    width: 100%;
  }
  .service-title {
    font-size: 1.8rem;
  }
  .service-icon {
    width: 41px;
  }
  .service-text {
    width: 100%;
  }
  .view-more-container {
    justify-content: center; /* スマホでは中央寄せ */
    padding-right: 0;
  }
}

@media (max-width: 420px) {
  .section-title {
    font-size: 3.7rem;
  }
}


/*==========================
Work Flow section
==========================*/
.workflow-section {
  margin: 0 auto;
  background: linear-gradient(180deg, #EDF6FD 0%, #D7E2F2 30%, #E2EDF8 91.5%);
  padding-top: 61px;
}

.workflow-section .section-title span{
  color: #8791F4;
}

.workflow-textbox {
  text-align: center;
  margin-bottom: 40px;
}

.workflow-text {
  font-size: 2rem;
  font-weight: bold;
}

.workflow-text2 {
  font-size: 1.6rem;
  line-height: 1.8;
  padding-top: 20px;
}

/* ステップ全体 */
.step {
  position: relative;
  gap: 20px;
  align-items: flex-start;
  margin: 0 16.5%;
}
.step-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-titlebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #8791F4;
  min-width: 126px;
  height: 114px;
}
/* ステップ番号のスタイル */
.step-number {
  font-size: 5rem;
  color: #fff;
}
.step-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
}

/* ステップ小見出し */
.step-subtitle {
  width: 787px;
  height: 84px;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  background: #EBEFF8;
  display: flex;
  align-items: center;
  padding-left: 30px;
}
.br-sp {
  display: none;
}
.step-descriptionbox {
  max-width: 800px;
  margin: 0 auto;
  border-left: 2px solid #fff;
  padding-bottom: 30px;
  padding-left: 30px;
}
.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 10px;
  font-weight: 700;
}
.step-descriptionbox-last {
  border-left: none;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 30px;
  padding-left: 30px;
}
.step-descriptionbox1 {
  width: 100%;
  padding: 20px;
}

/* 箇条書き */
.step-points,
.step-cases {
  list-style: none;
}
.step-points li,
.step-cases li {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* 強調テキスト（事例など） */
.case-example-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 800px;
  padding: 20px 0;
}
.case-example {
  font-weight: bold;
  border-radius: 3px;
  background: #B3C1E1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 94px;
  height: 34px;
  font-size: 1.4rem;
}

.br-sp-step {
  display: none;
}

@media (min-width: 2560px) {
  .step {
    margin: 0 32.5%;
  }
}

@media (max-width: 768px) {
  .step {
    margin: 0 4%;
  }
  .workflow-textbox {
    padding: 0 20px 37px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 0 4%;
  }
  .service-titlebox {
    width: 100%;
  }
  .step-descriptionbox {
    border-left: none;
    padding: 0;
    margin: 0;
  }
  .step-descriptionbox-last {
    padding: 0;
    margin: 0;
  }
  .step-description {
    margin-bottom: 20px;
  }
  .step-descriptionbox1 {
    padding: 0;
    padding-top: 40px;
    padding-bottom: 72px;
  }
  .step-subtitle {
    font-size: 1.8rem;
    height: 66px;
  }
  .br-sp {
    display: block;
  }
  .step-title {
    font-size: 2rem;
  }
  .step-titlebox {
    min-width: 78px;
    height: 86px;
  }
  .step-number {
    font-size: 3rem;
  }
  .br-sp-step {
    display: block;
  }
}

@media (max-width: 425px) {
  .step {
      margin: 0px 10%;
  }
}

/*==========================
Blog section
==========================*/
.blog-section {
  padding-top: 40px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #E2EDF8 1%, #CDEADF 18.5%, #D7ECC3 100%);
}

.blog-section .section-title span {
  color: #B0CE4A;
}

.blog-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 47px;
}

/* ブログアイテム */
.blog-item {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
  padding: 20px;
  gap: 68px;
  width: 1120px;
  height: 194px;
  margin: 0 11%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-item:hover {
  transform: translateY(-8px); /* 8px 上に浮き上がる */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* 影を強調 */
}

/* ブログ画像 */
.blog-item img {
  width: 238px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.blog-item h3 {
  font-size: 20px;
  margin: 0;
}

.blog-text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: 700;
  gap: 14px;
}

.blog-text-day {
  font-size: 1.8rem;
}

.blog-text-detail {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .blog-item {
    gap: 18px;
    height: 128px;
  }
  .blog-item img {
    width: 117px;
  }
  .blog-text-day {
    font-size: 1.2rem;
  }
  .blog-text-detail {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .blog-item{
    padding: 0 15px;
  }


  .blog-item img{
    width: 210px;
    height: auto;
  }
}