/*
Theme Name: だいわ
Theme URI: https://canvas-web.jp/
Author: 小嶋
Version: 1.0
Update URI: false
*/

/*ベースの設定*/
html {
  font-size: 62.5%;
  font-style: normal;
}

@media screen and (max-width: 1000px) {
  html {
    font-size: 1vw;
  }
}

@media screen and (max-width: 760px) {
  html {
    font-size: 2vw;
  }
}


:root {
  --base-font: "Noto Sans JP", sans-serif;
  --base-font-maru: "Kosugi Maru", sans-serif;
  --base-gray: #333333;
  --base-lightgray: #E2E7EA;
  --base-blue: #005080;
  --base-lightblue: #38A8DF;
  --base-gradation: linear-gradient(to right, #0075B4 0%, #005080 100%);
  --base-gold: #CCA500;
  --base-pink: #f06292;
}

.min {
  font-family: "Noto Serif JP", serif;
}



body {
  line-height: 1.6;
  font-family: var(--base-font);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--base-gray);
  font-feature-settings: "palt";
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/*==============================================
●表示・非表示（PC/SP）
===============================================*/

.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}


/*==============================================
●レスポンシブ
===============================================*/

@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger-trigger {
    display: flex;
  }
}

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

  .mainvisual {
    height: 70vh;
  }

  .mainvisual .text .title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
  }

  .mainvisual .text .subtitle {
    font-size: 1.4rem;
    line-height: 1.8;
  }
}

/*==============================================
●メインビジュアル
===============================================*/

.hero {
  position: relative;
  overflow: hidden;
}

.hero .inner {
  padding: 4.8rem 0 0;
  position: relative;
  background-color: #ebf4e9;
  width:100%
}

.hero img {
  display: block;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
  position: relative;
  z-index: 1;
}

.hero img.hero-after {
  width: 100%;
  max-width: none;
}


@media screen and (max-width: 768px) {
  .hero {
    padding:0;
  }
  .hero::after {
    height: 5rem;
  }
}

/*==============================================
●ヘッダー
===============================================*/

.pagehead {
  background: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-pattern {
  height: 3rem;
  width: 100%;
  background-image: url("images/bg.webp");
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.pagehead .inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.6rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex-shrink: 0;
  width:24%;
  max-width: 36rem;

}

.header-content {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

.main-nav {
  margin: 0 auto;
}

.main-nav .min {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.6rem;
}

.main-nav .min li a {
  text-decoration: none;
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.3s;
  font-family: var(--base-font);
  line-height: 1;
}

.main-nav .min li a:hover {
  opacity: 0.7;
}

.main-nav .min li a img {
  height: 2.8rem;
  width: 2.0rem;
  object-fit: contain;
}

.header-sns {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.header-sns a {
  transition: transform 0.3s;
  display: block;
}

.header-sns a:hover {
  transform: translateY(-2px);
}

.header-sns img {
  height: 4.5rem;
  width: auto;
}

/* ハンバーガーメニュー調整 */
.header-actions {
  display: flex;
  align-items: center;
}

.hamburger-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 4rem;
  height: 3rem;
  background: #fdf2d0;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 0.5rem;
  position: relative;
  z-index: 2001;
  transform: scale(1.25);
}

.hamburger-trigger span {
  width: 100%;
  height: 2px;
  background-color: #8a5129;
  transition: all 0.3s;
}

.hamburger-trigger.active span:nth-child(1) {
  transform: translateY(0.6rem) rotate(45deg);
}

.hamburger-trigger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-trigger.active span:nth-child(3) {
  transform: translateY(-0.6rem) rotate(-45deg);
}

.hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-menu.active {
  opacity: 1;
  visibility: visible;
}

.hamburger-inner {
  width: 100%;
  max-width: 60rem;
  padding: 6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hamburger-logo {
  margin-bottom: 5rem;
}

.hamburger-logo img {
  height: 8rem;
  width: auto;
}

.hamburger-nav {
  width: 100%;
  margin-bottom: 5rem;
}

.hamburger-nav .min {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: fit-content;
}

.hamburger-nav .min li a {
  text-decoration: none;
  color: #333;
  font-size: 2.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: color 0.3s;
  font-family: var(--base-font-maru);
}

.hamburger-nav .min li a:hover {
  color: #72b2a8;
}

.hamburger-nav .min li a img {
  height: 3.2rem;
  width: 2.8rem;
  object-fit: contain;
}

.hamburger-inner .header-sns {
  justify-content: center;
  width: 100%;
  gap: 3rem;
}

.hamburger-inner .header-sns img {
  height: 5.5rem;
}

body.nav-open {
  overflow: hidden;
}

@media screen and (max-width: 1200px) {
  .pagehead .inner {
    padding: 1.6rem 0;
  }
}

@media screen and (max-width: 768px) {
  .header-content {
    display: none;
  }
  .hamburger-trigger {
    display: flex;
  }
  .logo img {
    height: 7rem;
    width:auto;
    object-fit: contain;
  }
}

@media screen and (max-width: 768px) {
  .header-pattern {
    height: 2rem;
  }
  .logo{
    width:60%
  }

  .logo img {
    height: auto;
  }

  .pagehead .inner {
    padding: 1rem 0;
  }
}

/* アーカイブ・シングルページ共通 */
.page-header {
  padding: 8rem 0 6rem;
  background-color: #fdf6f8;
  text-align: center;
  margin-bottom: 8rem;
  overflow: hidden;
}

.page-header .inner {
  max-width: 1400px;
  margin: 0 auto;
}

.page-header-title {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2.4rem;
}

.page-header-title .before-title,
.page-header-title .after-title {
  width: 20rem;
  height: auto;
}

.page-header h1,
.page-header h2 {
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #333;
  font-family: var(--base-font-maru);
}

.page-header h1 span {
  display: block;
  font-size: 1.4rem;
  color: #ec8498;
  margin-top: 0.5rem;
  font-weight: 500;
  font-family: var(--base-font);
}

@media screen and (max-width: 768px) {
  .page-header {
    padding: 4rem 0 3rem;
    margin-bottom: 4rem;
  }

  .page-header-title {
    gap: 2rem;
  }

  .page-header-title .before-title,
  .page-header-title .after-title {
    width: 10rem;
  }

  .page-header h1,
  .page-header h2 {
    font-size: 2.4rem;
  }
}

/* アーカイブリスト */
.archive-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 4rem;
  margin-bottom: 8rem;
}

.archive-section {
  padding-bottom: 6rem;
}

.archive-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.archive-item .wrap {
  display: block;
}

.archive-item .image {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 16 / 10;
}

.archive-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.archive-item .wrap:hover .image img {
  transform: scale(1.1);
}

.archive-item .date {
  font-size: 1.4rem;
  color: #ec8498;
  margin-bottom: 1rem;
}

.archive-item .title {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 500;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (max-width: 1000px) {
  .archive-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
  }
}

@media screen and (max-width: 640px) {
  .archive-list {
    grid-template-columns: 1fr;
  }
}

/* シングルページ */
.single-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.single-article {
  max-width: 90rem;
  margin: 0 auto 10rem;
}

.featured-image {
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-header {
  text-align: left;
  margin-bottom: 4rem;
  border-bottom: 1px solid #ffd9e2;
  padding-bottom: 2rem;
}

.article-header .date {
  font-size: 1.6rem;
  color: #ec8498;
  margin-bottom: 1.5rem;
  display: block;
}

.article-header .title {
  font-size: 3.2rem;
  line-height: 1.4;
  font-weight: 700;
  color: #333;
}

.article-content {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
  margin-bottom: 8rem;
}

.article-content p {
  margin-bottom: 3rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 1rem;
}

.bottom-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 4rem;
}

.bottom-navigation .prev,
.bottom-navigation .next,
.bottom-navigation .list {
  display: flex;
}

.bottom-navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdeef1;
  border: 1px solid #ffd9e2;
  color: #ec8498;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  height: 4.5rem;
  padding: 0 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.bottom-navigation .list a {
  background-color: #ec8498;
  color: #fff;
  border-color: #ec8498;
  padding: 0 3rem;
}

.bottom-navigation a:hover {
  opacity: 0.8;
}

.bottom-navigation .prev a::before {
  content: "";
}

@media screen and (max-width: 768px) {
  .article-header .title {
    font-size: 2.4rem;
  }

  .article-content {
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .bottom-navigation {
    flex-wrap: wrap;
  }

  .bottom-navigation .prev,
  .bottom-navigation .next {
    width:calc(50% - 0.5rem)
  }
  .bottom-navigation .prev a,
  .bottom-navigation .next a {
    width:100%
  }

  .bottom-navigation .list {
    order: -1;
    width: 100%;
    margin-bottom: 1rem;
  }

  .bottom-navigation .list a {
    width: 100%;
  }
}



/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 6rem;
}

.pagination a,
.pagination span {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd9e2;
  color: #ec8498;
  font-size: 1.6rem;
  transition: all 0.3s;
  background-color: #fdeef1;
  text-decoration: none;
}

.pagination a.prev,
.pagination a.next {
  width: auto;
  padding: 0 1.5rem;
}

.pagination a:hover,
.pagination .current {
  background-color: #ec8498;
  border-color: #ec8498;
  color: #fff;
}

/*==============================================
●共通パーツ（セクション見出しなど）
===============================================*/
.section-hgroup {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3.2rem;
  font-family: var(--base-font-maru);
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.4rem;
  color: #ec8498;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.inner{
  width:98%
}

@media screen and (max-width: 768px) {
.inner{
  width:90%
}
}



/*==============================================
●お知らせセクション
===============================================*/
.news {
  padding: 10rem 0;
  position: relative;
}

.news .inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.news-box {
  background: #fff;
  border: 1px solid #ffd9e2;
  border-radius: 3rem;
  padding: 4rem 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  box-shadow: 0 5px 15px rgba(236, 132, 152, 0.05);
  position: relative;
  z-index: 1;
}

.news-list {
  flex-grow: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  border-bottom: 1px dotted #ccc;
  padding: 1.5rem 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.news-item a:hover {
  opacity: 0.7;
}

.news-date {
  font-size: 1.6rem;
  color: #ec8498;
  white-space: nowrap;
  font-weight: 500;
}

.news-title {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-btn-wrap {
  flex-shrink: 0;
}

.news-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 13rem;
  height: 13rem;
  background-color: #ed8499;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.news-btn::after {
  content: "→";
  margin-top: 0.5rem;
  font-size: 2rem;
}

.news-btn:hover {
  transform: scale(1.05);
  background-color: #f1a1af;
}

/* 装飾画像 */
.news-deco-01 {
  position: absolute;
  top: -2rem;
  left: calc(50% - 65rem);
  width: 18rem;
  z-index: 20;
}

.news-deco-02 {
  position: absolute;
  top: 5rem;
  right: calc(50% - 60rem);
  width: 22rem;
  z-index: 20;
}

@media screen and (max-width: 1200px) {
  .news-deco-01 {
    left: 2rem;
  }
  .news-deco-02 {
    right: 2rem;
  }
}

@media screen and (max-width: 900px) {
  .news-box {
    flex-direction: column;
    padding: 3rem;
    gap: 3rem;
  }
  .news-btn {
    width: 10rem;
    height: 10rem;
  }
  .news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .news-deco-01, .news-deco-02 {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .news {
    padding: 6rem 0;
  }
  .section-title {
    font-size: 2.6rem;
  }
}

/*==============================================
●インスタグラムセクション
===============================================*/
.instagram {
  padding: 10rem 0;
  position: relative;
}

.instagram .section-subtitle {
  color: #c472b3;
}

.instagram .inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.instagram-dummy {
  aspect-ratio: 1 / 1;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.instagram-dummy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 50%, #eee 50%, #eee 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  opacity: 0.5;
}

.instagram-dummy span {
  background-color: #2fb1eb;
  color: #fff;
  padding: 0.5rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  border-radius: 0.3rem;
  position: relative;
  z-index: 2;
}

.instagram-btn-wrap {
  text-align: center;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: #c472b3;
  color: #fff;
  padding: 1.5rem 6rem;
  border-radius: 5rem;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.instagram-btn:hover {
  background-color: #d18bc3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(196, 114, 179, 0.3);
}

.instagram-icon {
  height: 2.2rem;
  width: auto;
  filter: brightness(0) invert(1);
}

/* 装飾画像 */
.insta-deco-01 {
  position: absolute;
  top: 7rem;
  left: calc(50% - 57rem);
  width: 5.4rem;
}

.insta-deco-02 {
  position: absolute;
  top: 6rem;
  right: calc(50% - 65rem);
  width: 13.7rem;
}

.insta-deco-03 {
  position: absolute;
  bottom: 12rem;
  left: calc(50% - 55rem);
  width: 6.4rem;
}

.insta-deco-04 {
  position: absolute;
  bottom: 8rem;
  right: calc(50% - 58rem);
  width: 4.2rem;
}

@media screen and (max-width: 1300px) {
  .insta-deco-01, .insta-deco-02, .insta-deco-03, .insta-deco-04 {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .instagram-btn {
    padding: 1.2rem 4rem;
    font-size: 1.6rem;
  }
}

/*==============================================
●About（だいわについて）セクション
===============================================*/
.about {
  padding: 0;
  position: relative;
  background-color: #faf0eb;
}

.about .section-subtitle{
  color:#ee7821 ;
}



.about .inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.about-before-wavy,
.about-after-wavy {
  width: 100%;
  display: block;
}

.before-wrap,
.after-wrap {
background-color: #fff;
}

.about-top {
  text-align: center;
  margin-bottom: 8rem;
}

.about-icon {
  margin-bottom: 2rem;
}

.about-icon img {
  width: 10rem;
  height: auto;
}

.about-subtitle {
  font-size: 2rem;
  color: #e67d26;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.about-title {
  max-width:390px;
  width: 35%;
  margin: 0 auto 3rem ;
}

.about-lead {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
  max-width: 70rem;
  margin: 0 auto;
}

/* だいわの業務 */
.business {
  margin-bottom: 10rem;
  position: relative;
}

.business-outline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.business-item {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  box-shadow: 0 5px 15px rgba(230, 125, 38, 0.05);
}


.business-description {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px dotted #e67d26;
  padding-bottom: 1.5rem;
}

.business-num {
  width:8.8rem;
  min-width:8.8rem
}

.business-num img {
  height: 6rem;
  width: auto;
}

.business-business {
  font-size: 3.2rem;
  font-weight: 700;
  color: #e67d26;
  line-height: 1.3;
  font-family: var(--base-font-maru);
}

.business-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.business-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #f6b5a1;
  font-size: 1.2rem;
}

.business-list li:last-child {
  margin-bottom: 0;
}

/* 活動対象地域 */
.area {
  margin-bottom: 10rem;
}

.area-wrap {
  background: #fff;
  border: 1px solid #ffd9e2;
  border-radius: 3rem;
  padding: 4rem 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.area-list {
  flex: 1;
}

.area-manage {
  font-size: 1.8rem;
  color: #e67d26;
  margin-bottom: 2rem;
}

.area-cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
}

.area-cities li {
  font-size: 1.6rem;
  color: #333;
  position: relative;
  padding-left: 1.5rem;
}

.area-cities li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #f6b5a1;
}

.area-map {
  flex: 1;
}

.area-map img {
  width: 100%;
  height: auto;
}

/* ロゴへの想い */
.about-logo {
  background: #fff;
  border: 8px solid #ffd9e2;
  border-radius: 2rem;
  padding: 6.4rem;
  display: flex;
  align-items: center;
  gap: 6.4rem;
}

.about-logo-img {
  flex-shrink: 0;
  width: 18rem;
}

.about-logo-img img {
  width: 100%;
  height: auto;
}

.about-logo-text {
  flex: 1;
}

.about-logo-lead {
  font-size: 3.2rem;
  color: #ec8498;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 1px dotted #ec8498;
  padding-bottom: 1rem;
  font-family: var(--base-font-maru);
}

.about-logo-text p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

/* 装飾画像 */
.about-deco-01 {
  position: absolute;
  top: -27rem;
  left: 0;
  width: 18rem;
}

.about-deco-02 {
  position: absolute;
  top: -24rem;
  right: -4rem;
  width: 15rem;
}

.about-deco-03 {
  position: absolute;
  top: 0;
  right: -9rem;
  width: 20rem;
}

.about-deco-04 {
  position: absolute;
  top: 65%;
  left: -13rem;
  transform: translateY(-50%);
  width: 15rem;
}

.about-deco-05 {
  position: absolute;
  bottom: 0rem;
  right: -10rem;
  width: 49.5rem;
}

.about-deco-06 {
  position: absolute;
  bottom: -6rem;
  left: -5rem;
  width: 4.2rem;
}

/* レスポンシブ */
@media screen and (max-width: 1200px) {
  .about-deco-01, .about-deco-02, .about-deco-03, .about-deco-04, .about-deco-06 {
    display: none;
  }
}
@media screen and (max-width: 1080px) {
.business-business {
  font-size: 2.8rem;
}
}


@media screen and (max-width: 900px) {
  .business-outline {
    grid-template-columns: 1fr;
  }
  .business-item:nth-child(5) {
    max-width: none;
  }
  .area-wrap {
    flex-direction: column;
    padding: 3rem;
  }
  .about-logo {
    flex-direction: column;
    padding: 3rem;
    text-align: center;
  }
  .about-logo-img {
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .about .inner{
    padding:8rem 0;
  }
  .about-title {
    width:60%
  }
  .area-cities {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-logo{
    gap:2.4rem
  }
  .business-business {
    font-size: 2.8rem;
  }
  .about-deco-05{
    position: unset;
    width:80%; margin:2.4rem auto

  }
}

/*==============================================
●里親について（foster/type）セクション
===============================================*/
.foster {
  padding: 14rem 0 5rem;
  position: relative;
  text-align: center;
}

.foster .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.foster-title {
  margin-bottom: 4rem;
}

.foster-title img {
  max-width: 60rem;
  width: 95%;
  height: auto;
  margin: 0 auto;
}

.foster-lead {
  font-size: 1.8rem;
  line-height: 2;
  color: #333;
}

/* 装飾画像（foster） */
.foster-deco-01 {
  position: absolute;
  top: 5rem;
  left: calc(50% - 56rem);
  width: 11.8rem;
}

.foster-deco-02 {
  position: absolute;
  top: 8rem;
  right: calc(50% - 64rem);
  width: 24rem;
}

/* 里親の種類 */
.type {
  padding: 5rem 0 10rem;
  position: relative;
}

.type .section-subtitle{
  color:#00a99d;
}



.type .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.type-container {
  background-color: #e6f9f6;
  border-radius: 3rem;
  padding: 4.8rem;
  position: relative;
}

.type-lead {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 5rem;
  text-align: center;
}

.type-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.type-item {
  background: #fff;
  border: 1px solid #c9e6df;
  border-radius: 2rem;
  padding: 2.4rem;
  width: calc(33.333% - 2rem);
  box-sizing: border-box;
}

.type-name {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: var(--base-font-maru);
  text-align: center;
}

.type-name.orange { color: #f6a02c; }
.type-name.blue { color: #27aaa7; }

.type-item:has(.orange){
  border-color: #f6a02c;
}
.type-item:has(.blue){
  border-color: #27aaa7;
}



.type-desc {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #333;
}

.type-note {
  font-size: 1.2rem;
  color: #666;
  margin-top: 1rem;
}

.type-bottom-note {
  font-size: 2rem;
  font-weight: 700;
  color: #27aaa7;
  text-align: center;
  margin-top: 2rem;
  font-family: var(--base-font-maru);
}

/* 装飾画像（type） */
.type-deco-01 {
  position: absolute;
  bottom: 5rem;
  left: 3rem;
  width: 14.7rem;
}

.type-deco-02 {
  position: absolute;
  bottom: 4.8rem;
  right: -5rem;
  width: 23.2rem;
}

@media screen and (max-width: 768px) {
  .foster-deco-01, .foster-deco-02{
    display: none;
  }
  .type-deco-02 {
    position: unset;
    margin: 2.4rem auto;
  }
}

@media screen and (max-width: 768px) {
  .type-item {
    width: calc(50% - 1.5rem);
  }
  .type-container {
    padding: 6rem 3rem;
  }
}

@media screen and (max-width: 640px) {
  .type-item {
    width: 100%;
  }
  .type-bottom-note {
    font-size: 1.6rem;
  }
  .foster-title img {
    max-width: 40rem;
  }
  .type-deco-01{
    bottom: -4.8rem;
    left: -3.2rem;
  }
}

/*==============================================
●流れ（flow）セクション
==============================================*/
.flow {
  margin:6.4rem 0;
  padding: 0;
  position: relative;
  background-color: #faebf0;
}

.before-flow,
.after-flow {
  width: 100%;
  display: block;
}

.flow .inner {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 4rem;
  padding: 8rem 6rem;
  position: relative;
  z-index: 10;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 6rem;
  row-gap: 5rem;
  padding-bottom: 5rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
}

.flow-step:nth-child(even) {
  transform: translateY(10rem);
}

.flow-wrap {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.flow-num {
  width: 8.8rem;
  min-width: 8.8rem;
  flex-shrink: 0;
}

.flow-num img {
  width: 100%;
  height: auto;
}

.flow-step-text {
  flex-grow: 1;
}

.flow-step-text01 {
  font-size: 2.2rem;
  color: #ec8498;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--base-font-maru);
}

.flow-step-text02 {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
}

.flow-img {
  text-align: center;
  width: 100%;
}

.flow-img img {
  width: 90%;
  height: auto;
  margin: 0 auto;
}

/* 装飾画像（flow） */
.flow-deco-01 {
  position: absolute;
  top: -8rem;
  right: calc(50% - 64rem);
  width: 25rem;
  z-index: 11;
}

.flow-deco-02 {
  position: absolute;
  bottom: 0rem;
  left: calc(50% - 65rem);
  width: 14rem;
  z-index: 11;
}

.flow-deco-03 {
  position: absolute;
  bottom: 9.2rem;
  right: calc(50% - 68rem);
  width: 10rem;
  z-index: 11;
}

@media screen and (max-width: 768px) {
  .flow-deco-02, .flow-deco-03{
    display: none;
  }
  .flow-deco-01 {
    position: unset;
    margin: 2.4rem auto;
    width: 50%;
  }
}

@media screen and (max-width: 900px) {
  .flow .inner {
    padding: 6rem 4rem;
  }
  .flow-steps {
    grid-template-columns: 1fr;
    row-gap: 4rem;
    padding-bottom: 0;
  }
  .flow-step:nth-child(even) {
    transform: none;
  }
}

@media screen and (max-width: 640px) {
  .flow .inner {
    padding: 8rem 2rem;
  }
  .flow-wrap {
    gap: 1.5rem;
  }
  .flow-num {
    width: 4.5rem;
  }
  .flow-step-text01 {
    font-size: 1.8rem;
  }
}

/*==============================================
●お問合せ（contact）セクション
==============================================*/
.contact {
  padding: 10rem 0 15rem;
  position: relative;
}

.contact .inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding:4.8rem;
  background-color: #ebf4e9;
  border-radius:1.6rem
}

.contact-form-wrap {
  max-width: 80rem;
  margin: 0 auto;
}

.contact form label {
  display: block;
  margin-bottom: 2.5rem;
  width: 100%;
}

.contact form label i {
  display: block;
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.8rem;
}

/* width 100% applies to inputs and CF7 spans */
.contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact form input[type="text"],
.contact form input[type="tel"],
.contact form input[type="email"],
.contact form textarea {
  width: 100%;
  border: none;
  border-radius: 0.5rem;
  padding: 1.5rem;
  font-size: 1.6rem;
  background-color: #fff;
  font-family: var(--base-font);
  box-sizing: border-box;
  color: #333;
}

.contact form input[type="text"]:focus,
.contact form input[type="tel"]:focus,
.contact form input[type="email"]:focus,
.contact form textarea:focus {
  outline: 2px solid #ecebeb;
}

.contact form textarea {
  height: 25rem;
  resize: vertical;
}

.submit-button-wrap {
  text-align: center;
}

.contact form input[type="submit"] {
  background-color: #6bb261;
  color: #fff;
  border: none;
  border-radius: 3rem;
  padding: 1.5rem 6rem;
  font-size: 1.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--base-font);
  letter-spacing: 0.1em;
  display: inline-block;
}

.contact form input[type="submit"]:hover {
  background-color: #5a9952;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(107, 178, 97, 0.3);
}

/* 装飾画像（contact） */
.contact-deco-01 {
  position: absolute;
  bottom: 9.8rem;
  left: calc(50% - 48rem);
  width: 12.8rem;
  z-index: 11;
}

.contact-deco-02 {
  position: absolute;
  bottom: 18rem;
  right: calc(50% - 52rem);
  width: 12rem;
  z-index: 11;
}

@media screen and (max-width: 1400px) {
  .contact-deco-01 {
    left: 2rem;
  }
  .contact-deco-02 {
    right: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .contact-deco-01{
    bottom:4.8rem;
    width:8rem
  }
  .contact-deco-02 {
    bottom:9rem;
    width:8rem

  }
}

@media screen and (max-width: 768px) {
  .contact {
    padding: 6rem 0 8rem;
  }
  .contact form input[type="submit"] {
    padding: 1.5rem 4rem;
    font-size: 1.6rem;
    width: 100%;
    border-radius: 3rem;
  }
}

/*==============================================
●フッター（footer）
==============================================*/
.site-footer {
  background-color: #ebf4e9;
  position: relative;
}

.footer-pattern {
  height: 3rem;
  width: 100%;
  background-image: url("images/bg.webp");
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 5;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 0 4rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 6rem;
  margin-bottom: 5rem;
}

.footer-info {
  width:fit-content
}

.footer-info .logo {
  margin-bottom: 2.5rem;
  width:100%;
  max-width: 46rem;
}

.footer-info .logo img {
  width: 100%;
  max-width: 38rem;
  height: auto;
}

.address-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.address-icon {
  width: 1.8rem;
  height: auto;
  fill: #72b2a8;
  flex-shrink: 0;
}

.address {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333;
}

.footer-dl {
  display: flex;
  margin-bottom: 2rem;
}

.footer-dl dt {
  background-color: #72b2a8;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  border-radius: 0.5rem;
  text-align: center;
  line-height: 1.3;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.footer-dl dd {
  font-size: 1.6rem;
  color: #333;
}

.footer-dl dd a {
  font-size: 4.0rem;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-top: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
}

.footer-dl .dd-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.footer-dl dd.flex-dd {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-dl dd .open {
  width: 14rem;
  font-size: 1.6rem;
  color: #555;
}

.footer-dl dd .hours {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.sns-line img,
.sns-insta img {
  height: 4rem;
  width: auto;
  transition: transform 0.3s;
}

.sns-line:hover img,
.sns-insta:hover img {
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bnt {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3rem;
  padding: 0.8rem 1.8rem;
  font-size: 1.3rem;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.footer-bnt img {
  height: 1.6rem;
  margin-right: 0.8rem;
}

.footer-bnt:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.footer-map {
  max-width: 57rem;
  flex:1
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 35rem;
  border-radius: 1rem;
}

.copyright {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  border-top: 1px solid #dfebd9;
  padding-top: 3rem;
}


/*==============================================
●ページトップボタン
===============================================*/
.pagetop {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  z-index: 999;
  width: 6.4rem;
  height: 6.4rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  border-radius: 50%;
  overflow: hidden;
}

.pagetop img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
  transform: scale(1.5);
  border-radius: 50%;
}

.pagetop:hover {
  transform: translateY(-0.5rem);
}

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

  .footer-wrap {
    flex-direction: column;
    gap: 5rem;
  }
  .footer-map {
    max-width: 100%;
  }
  .pagetop {
    right: 2rem;
    bottom: 2rem;
  }
}

@media screen and (max-width: 640px) {
  .site-footer .inner {
    padding: 6rem 5% 3rem;
  }
  .footer-dl dd a {
    font-size: 4.0rem;
  }
  .footer-dl dd.flex-dd {
    gap: 1rem;
  }
  .footer-bottom-links {
    gap: 1rem;
  }
  .footer-bnt {
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
  }
}

/*プライバシーポリシー*/
.privacypolicy{
  width:100%;
  height:18.0rem;
  background-color: #fff;
  border: 1px solid #333333;
  padding:2.4rem;
  font-size:1.4rem;
  overflow: scroll;
}
.privacypolicy h2{
  font-size:1.8rem; 
  font-weight: 600;
}
.privacypolicy p{
  line-height: 2;
}
.privacypolicy dl{
  padding:1.6rem 0;
}
.privacypolicy dt{
  font-weight: 600;
}
.privacypolicy dd{
  margin-bottom: 1.6rem;
}
.acceptance{
  text-align: center;
  display: flex;
  align-items: center;
}

.acceptance p{
  padding: 2.4rem 0.8rem;
  margin:0 auto
}

.submit-button-wrap>p{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cf7-cf-turnstile-wrap{
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.6rem 1.6rem 0 1.6rem;
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5.0rem;
}
.cf7-cf-turnstile-wrap p{
  font-size: 1.4rem ;
  margin-bottom: 0.8rem;
}
.cf7-cf-turnstile-wrap p strong{
  display: block;
}
.cf7-cf-turnstile-wrap p:last-child{
  display: none;
}
@media screen and (max-width: 640px) {
	.cf7-cf-turnstile-wrap{
		flex-direction:column;
	}
}