body {
  color: #38342f;
  /* overflow: hidden; */
  font-family: "Yu Gothic", YuGothic,sans-serif;
  background-color: #fff;
}



p {
  text-align: left;
}


/** -----------------------------------
    共通
-------------------------------------**/
.section-inner {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
}




.sp_on{
  display: none;
}


@media screen and (max-width: 756px){
  .pc_on{
    display: none;
  }
  .sp_on{
    display: block;
  }

}

/** -----------------------------------
   MV 動画
-------------------------------------**/

.main-visual {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.main-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  max-width: 3840px;
  z-index: 0;
}
.main-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* 動画より上に表示 */
  text-align: center;
}

.main-logo img {
  max-width: 80%;
  height: auto;
  max-height: 120px; 
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .main-logo img {
    max-width: 60%;
    max-height: 80px;
  }
}

@media screen and (max-width: 768px) {
  .main-visual {
    height: 60vh; /* 高さを抑えるなど */
  }
  .main-video {
    width: 100vw; /* ビューポート幅にフィット */
    height: 100%;
object-fit: cover;
}
}
/** -----------------------------------
    キャッチコピー
-------------------------------------**/


.wave-section {
  padding-top: 120px;
      padding-bottom: 185px;
  position: relative;
  background: linear-gradient(135deg,
  rgba(253, 255, 213, 0.3) 0%,
  rgba(191, 219, 158, 0.3) 50%,
  rgba(253, 255, 213, 0.3) 100%);
  overflow: hidden;
}



.wave-inner {
    display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}


.copy-block-left {
  width: 40%;
  z-index: 2;
}
.copy-block-left p{
  font-size: 32px;
}
.copy-block-left span{
    padding: 0.8em 1em;
    line-height: 3;
  background-color: #ffffff;

}





.copy-block-right {
  width: 55%;
  z-index: 2;
}
.desc-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.bg-deco {
  position: absolute;
  right: 100px;
  top: 0;
  width: 600px;
  opacity: .7;
  z-index: 1;
  pointer-events: none;
}

.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;       /* ★画面幅にフィットさせる */
  height: 200px;     /* 必要に応じて調整可能 */
  z-index: 0;
}


@media screen and (max-width: 1200px) {
  .copy-block-left p{
  font-size: 24px;
}
.desc-text p{
  font-size: 14px;
}
}




@media screen and (max-width: 800px) {
  .wave-section {
    padding-top: 60px;
    padding-bottom: 185px;
}
.wave-inner {
  flex-direction: column;
}

.copy-block-left {
    width: 100%;
}

.copy-block-left p {
    font-size: 21px;
}

.copy-block-right {
    width: 100%;
}

.bg-deco {
  top: inherit;
    bottom: 0;
            right: 12px;
}

}


/** -----------------------------------
    サポートについて（TOP）
-------------------------------------**/
#delegate{
  padding-bottom: 70px;
}

.service_inner{
 display: flex;
 justify-content: space-around;
    align-items: center;
}


.service_inner .inner_img{
  width: 32%;
}

.p_green p{
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.5;
  color: var(--green);

}
.green_button {
  background-color: var(--green);
  padding: 10px 15px;
  transition: 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.green_button a {
  color: #fff;
  letter-spacing: 0.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.green_button:hover {
  background-color: #76b2d0;
  transition: 0.8s;
}

@media screen and (max-width: 768px) {
  .service_inner{
    flex-direction: column-reverse;
    width: 90%;
            margin: 0 auto;
}
.service_inner .inner_img{
  width:100%;
  margin-top: 50px;
}
.p_green p {
    font-size: 1.2rem;

}
}

/** -----------------------------------
    ３つのメニュー欄
-------------------------------------**/

#points{
  padding: 72px 0 100px;
  background: #fbfff8;
  background-image: linear-gradient(to right, #ebf2e6 1px, transparent 1px),
                    linear-gradient(to bottom, #ebf2e6 1px, transparent 1px);
  background-size: 20px 20px;
}
.circle-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 1rem;
  list-style: none;

}

.circle-menu li {
  width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.circle-menu a {
  display: block;
  text-decoration: none;
  color: #fff;
  height: 100%;
}

.circle-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay {
  background-color: rgba(73, 73, 73, 0.603); /* 半透明の黒 */
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ← 上に詰める */
  padding-top: 5.3rem; /* 上に余白 */
  text-align: center;
  transition: background-color 0.3s ease;
}

.overlay p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.overlay h3 {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: left;
  margin-top: 0;
}

.circle-menu li:hover .overlay {
  background-color: rgba(154, 197, 123, 0.7); /* 緑のオーバーレイ */
}

.menu01 {
  background-image:url("../images/menu1.webp");
}

.menu02 {
  background-image: url("../images/menu2.webp");
}

.menu03 {
  background-image: url("../images/menu3.webp");
}

@media screen and (max-width: 768px) {
  .circle-menu {
    flex-direction: column;
    align-items: center;
  }
}

/** -----------------------------------
    コラム一覧３つ
-------------------------------------**/

.title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--green);
  text-align: center;
}
/* --- 共通ラッパー --- */
.column-archive {
  max-width: 1000px;
  margin: 40px auto;
  padding: 2rem 1rem;
}

/* --- グリッドレイアウト --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch; 
}

/* --- カードボックス --- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  height: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}


.card a {
  color: #444;
  text-decoration: none;
}

.card a:hover {
  color: #000; /* hover時に少し濃くしてもOK（任意） */
}
/* --- ホバーアニメーション --- */
.card:hover {
  transform: translateY(-5px);
}

/* --- サムネイル画像（16:9比率固定） --- */
.card-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- カード内コンテンツ --- */
.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-title{
  font-size: 1.1rem!important;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  
}

.card-date {
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 0.5rem;
      text-align: right;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #333;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

    .card{
      width: 90%;
      margin: 0 auto;
     }
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.top-column-section .green_button{
    margin: 64px auto;
  width: 284px;
}



/** -----------------------------------
    お知らせ一覧（TOP）
-------------------------------------**/

.news-archive {
  padding: 60px 20px;
  text-align: center;
}

.news-title {
  font-size: 24px;
  font-weight: bold;
  color: #7DBE55;
  margin-bottom: 40px;
}


.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.news-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
    padding: 15px 10px;
  border-bottom: 1px solid #C4E0AE;
    color: #7DBE55;
}


.news-date {
  font-size: 14px;
  color: #666;
  width: 100px;
  text-align: left;
  letter-spacing: 1.6px;
}

.news-text {
  text-align: left;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.news-text:hover {
  color: #7DBE55;
}

.top-news .green_button{
    margin: 64px auto;
  width: 284px;
}


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

  .top-news{
    width: 90%;
    margin: 0 auto;
  }
.news-item {
    align-items: flex-start;

    flex-direction: column;
}

}

/** -----------------------------------
    事務所概要
-------------------------------------**/

/* === 全体セクション背景 === */
.officeinfo {
  background-image:url("../images/bg_footer.webp");
  background-size: cover;
  background-position: center;
  padding: 4rem 1.5rem;
}
.officeinfo {
  padding: 100px 0 200px;
  background-color: #f6faf7;
}

.officeinfo .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;

}
.officeinfo .text-area {
position: absolute;
    color: #fff;
    min-width: 350px;
    width: 30%;
    padding: 6.8% 9.5%;
    background-color: #9AC57B;
    color: #fff;
    z-index: 2;
    top: 30%;
    left: 0%;
}
.officeinfo .head {
  text-align: center;
  padding-bottom: 32px;
}

.officeinfo .head h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
      text-align: center;
}

.officeinfo .head span {
  font-size: .8rem;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: 'Century Gothic';
      text-align: center;
}

.officeinfo ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.officeinfo ul li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.officeinfo ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.officeinfo ul li a:hover {
  color: #c5d8b7;
}

.officeinfo .img-wrapper {
        width: 85%;
        z-index: 0;
        position: relative;
        margin-left: auto;
    }

.officeinfo .img {
  width: 100%;
    padding-top:64%;
    background-size: contain;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.officeinfo .img span {
          display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
        background: url("../images/7R401880.webp") center center no-repeat;
        background-size: cover;
}


@media screen and (max-width: 768px) {
.officeinfo {
    padding: 100px 0 ;
}
  .officeinfo .inner {

    flex-direction: column-reverse;
}

.officeinfo .text-area {
    position: inherit;
    min-width: 270px;
    z-index: 3

}
.officeinfo .img-wrapper {
    display: none;
}


.officeinfo .img {
    overflow: initial;
}
}