/*
Theme Name: Original Theme
Description: はじめて作るオリジナルテーマです。
Version: 1.0
*/

* {
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
　overflow-x: hidden;
}

body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.8;
  color: #222;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  height: 65px;
  display: flex;
  align-items: center;
  background: #fff;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  flex-shrink: 0;
}

.header-logo a {
  display: block;
  flex-shrink: 0;
}

.header-logo img {
  width: 272px;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.2;
  color: #333;
  white-space: nowrap;
}

.header-nav-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px;
}

.global-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.main-menu,
.sub-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu {
  gap: 17px;
  line-height: 1;
}

.sub-menu {
  gap: 12px;
  line-height: 1;
  margin-top: 6px;
}

.main-menu a {
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}

.sub-menu a {
  font-size: 10px;
  font-weight: normal;
  line-height: 1;
  color: #333;
}

.sub-menu li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-menu li::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid #ccc;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.main-menu a:hover,
.sub-menu a:hover {
  opacity: 0.7;
}

.header-button {
  width: 116px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D97757;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.07em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* 軽く影を落とす */
  border-radius: 8px;
}

.header-button:hover {
  opacity: 0.85;
}

.first-view {
  width: 100%;
  background: #fdfbee;
}

.first-view-inner {
  max-width: 1080px;
  width: calc(100% - 40px);
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.first-view-inner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.site-footer {
  padding: 24px;
  background: #3D95C9FF;
  color: #F0F8FF;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  font-size: 12px;
}

.opening-section{
  padding: 40px 0;
  background: #fff;
  text-align: center;
}

.section-inner{
  max-width: 1080px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.section-label{
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: bold;
  color: #777;
  letter-spacing: 0.12em;
}

.opening-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.section-lead{
  max-width: 720px;
  margin: 0 auto 38px;
  font-size: 16px;
  line-height: 2;
}

.opening-section ul{
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.opening-section li{
  flex:1;
  padding: 32px;
  background: #FDFBF7;
  border-radius: 20px;
}

.opening-section li img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0 0 20px;
  border-radius: 14px;
}

.opening-section li h3{
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.5;
}

.opening-section li p{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.body-section{
  padding:80px 0;
  background: #FDFBF7;
}

.body-section .section-label{
  margin: 0 0 14px;
}

.body-section h2{
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.5;
}


/* ====== Profile Section Layout (PC) ====== */

#profile .profile-container {
  max-width: 1080px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

/* 2. 上段：2カラム（画像 ＋ テキスト） */
#profile .profile-top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px; /* 下段との距離 */
}

.body-section .profile-container > div > p{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 2;
}

.body-section .profile-container > div > p:last-child{
  margin-bottom: 0;
}


#profile .profile-top > img {
  flex: 0 0 35%;
  width: 35%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  position: sticky;
  top: 100px;
}

#profile .profile-intro {
  flex: 1;
}

#profile .profile-bottom {
  width: 100%;
}

/* 引用ボックスのデザイン（柔らかく、想いを伝えるスタイル） */
#profile .profile-intro h3 {
  background-color: #fffdf5; /* 温かみのあるクリーム色 */
  border: 2px dashed #ffd54f; /* 手描き風の点線ボーダー */
  border-radius: 20px; /* 角を丸くして優しく */
  padding: 24px;
  margin: 32px 0 24px;
  color: #5d4037; /* こげ茶色で落ち着いた印象に */
  position: relative;
  text-align: center; /* 中央寄せでメッセージ感を強調 */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.03);
}

/* 引用の上下に少し飾りをつける（オプション） */
#profile .profile-intro h3::before {
  content: "❝";
  display: block;
  font-size: 24px;
  color: #ffd54f;
  margin-bottom: 5px;
}

.profile-bottom h3 {
  background-color: transparent;
  border-left: none;
  padding: 0 0 10px 0;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #333;
  position: relative; /* 必須 */
  display: inline-block; /* 必須 */
  z-index: 1; /* 文字をラインより前に出す */
}

/* 文字の下にラインを引く */
.profile-bottom h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: #ffd54f;
  border-radius: 3px;
  z-index: -1; /* 文字の後ろに配置 */
}

/* プロフィール内の活動目標エリア */
.goals-wrapper {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

/* 既存のh3スタイルを上書きしないよう、セレクタを調整 */
.goals-wrapper h3 {
  background-color: transparent;
  border-left: none;
  padding: 0;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #333;
}

.goals-wrapper h3::after {
  content: none !important;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.goal-item {
  background: #ffffff;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s;
}

.goal-item:hover {
  transform: translateY(-5px);
}

.goal-item .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

.goal-item h4 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.service-section{
  padding: 80px 0;
  background: fff;
  text-align: center;
}

.service-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.service-section .section-lead{
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.service-section dl{
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #EED8C6;
}

.service-section dt,
.service-section dd{
  margin: 0;
  padding: 24px 28px;
  border-right: 1px solid #EED8C6;
  border-bottom: 1px solid #EED8C6; */
}

.service-section dt{
  font-weight: bold;
  background: #FFF9F2;
  color: #6D4C41;
}

.service-section dd{
  background: #fff;
  line-height: 2;
  border-right: none;
}

.service-section dt:nth-last-child(2),
.service-section dd:last-child {
  border-bottom: none;
}

.works-section{
  padding: 80px 0;
  background: #FDFBF7;
  text-align: center;
}

.works-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.works-section .section-lead{
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.works-section ul{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.works-section li{
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.works-section li img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.works-section li h3{
  margin: 24px 24px 12px;
  font-size: 20px;
  line-height: 1.5;
}

.works-section li p{
  margin: 0 24px 28px;
  font-size: 15px;
  line-height: 1.9s;
}

.flow-section{
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.flow-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.flow-section .section-lead{
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.flow-section ol{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.flow-section li{
  position: relative;
  padding: 32px 24px 28px;
  background: #FDFBF7;
  border-radius: 20px;
  counter-increment: flow-number;
}

.flow-section li::before{
  content: counter(flow-number,decimal-leading-zero);
  display: block;
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  color: #47B3EC;
}

.flow-section li h3{
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
}

.flow-section li p{
  margin: 0
  font-size: 14px;
  line-height: 1.9;
}

.price-section{
  padding: 80px 0;
  background: #FDFBF7;
  text-align: center;
}

.price-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.price-section .section-lead{
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.price-section ul{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.price-section li{
  padding: 36px 28px;
  background: #fff;
  border-radius: 20px;
}

.price-section li h3{
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.price-section .price{
  margin: 0 0 10px;
  text-align: center;
  line-height: 1.2;
}

.price-section .price strong{
  font-size: 30px;
  line-height:1;
}

.price-section .price span{
  font-size: 14px;
  font-weight: bold;
}

.price-section li small{
  display: block;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: #666;
}

.price-section li p{
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.9;
}

.price-section li p:last-child{
  margin-bottom: 0;
}

.price-section .section-inner > p:last-child small{
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  }

.cta-section{
  padding: 80px 0;
  background: #fff;
  color: #000;
  text-align: center;
}

.cta-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.cta-section .section-lead{
  max-width: 780px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 2;
}

.cta-section a{
  display: inline-block;
  min-width: 260px;
  padding: 18px 36px;
  color: #fff; 
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  background: #D97757;
  border-radius: 999px;
}

.cta-section a:hover{
  opacity: 0.8;
}

.cta-section small{
  display: block;
  margin: 20px 0 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: #666;
}

/* ======トップページ全体の仕上げ====== */
.opening-section,
.body-section,
.service-section,
.works-section,
.flow-section,
.price-section,
.cta-section{
  padding-top: 60px;
  padding-bottom: 60px;
}

.opening-section h2,
.body-section h2,
.service-section h2,
.works-section h2,
.flow-section h2,
.price-section h2,
.cta-section h2{
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5
}

.opening-section li,
.works-section li,
.flow-section li,
.price-section li{
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ======レスポンシブ対応768px切り替え====== */
@media(max-width: 768px){
  
.section-inner{
  width: calc(100% - 32px);
  max-width: none;
  margin: 0 auto;
}

.opening-section,
.service-section,
.works-section,
.flow-section,
.price-section,
.cta-section,
.body-section{
  padding-top: 48px;
  padding-bottom: 48px;
}

.opening-section h2,
.service-section h2,
.works-section h2,
.flow-section h2,
.price-section h2,
.cta-section h2,
.body-section h2{
  font-size: 28px;
  line-height: 1.5;
}

.section-lead{
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.9;
}

/*FV:スマホではスマホ用画像を比率のまま表示*/
.first-view{
  width: 100%;
  margin: 0;
  padding:0;
}

	.first-view-inner{
		width:100%;
		max-width:none;
		height:auto;
		margin:0;
		padding:0;
	}

.first-view-inner picture{
  display: block;
  width: 100%;
}

.first-view-inner img{
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/*Header*/
	.site-header {
		height:auto;
	}
.site-header .section-inner{
  display: block;
}

.site-title{
  margin: 0 0 10px;
  text-align:center;
}

.site-title img{
  max-height: 36px;
}

.site-nac ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
}

.site-nav a{
  font-size: 11px;
}

/*Openingスマホでは必ず1列*/
.opening-section ul{
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none
}

.opening-section li{
  width: 100%;
  margin: 0 0 20px;
  padding: 24px;
}

.opening-section li:last-child{
  margin-bottom: 0;
}

.opening-section li img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin:0 0 20px;
}

.opening-section li h3{
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
}

.opening-section li p{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

/*Body*/
.body-section .profile-top {
    display: block !important; /* 縦積みへ強制変更 */
  }
  
.body-section .profile-top > img {
    width: 100% !important;
    height: auto !important; /* 高さを自動にして画像比率を保つ */
    margin-bottom: 30px;
    position: static !important; /* stickyを解除 */
  }

  /* 引用ボックスのスマホ調整 */
.body-section .profile-intro h3 {
    padding: 16px;
    font-size: 1.1rem;
  }

  .body-section .profile-bottom {
    margin-top: 30px;
  }
/* Profile Goals Grid: スマホでは1列に */
.goals-grid {
  grid-template-columns: 1fr;
}

/*Service*/
.service-section .section-inner{
  padding-left: 0;
  padding-right: 0;
}

.service-section dl{
  display: block;
  width: 100%;
}

.service-section dt,
.service-section dd{
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  border-right: 1px solid #ddd;
}

/*Works*/
.works-section ul{
  display: block;
  grid-template-columns: 1 fr;
  gap: 20px;
  width:100%;
  margin:0;
  padding:0;
}

	.works-section li{
		margin-bottom: 20px;
	}
	
.works-section li img{
  height: 220px;
}

/*Flow*/
.flow-section ol{
  display:block;
  grid-template-columns: 1 fr;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flow-section li{
  padding: 28px 24px;
}

/*Price*/
.price-section ul{
  display: block;
  grid-template-columns: 1 fr;
  gap: 20px;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
}

.price-section li{
  padding: 32px 24px;
}

/*CTA*/
.cta-section a{
  width: 100%;
  min-width:0;
  padding: 18px 24px;
}
}



/* ======スマホ用ハンバーガーメニュー====== */

/*PCではハンバーガーボタンを非表示*/
.menu-toggle{
  display: none;
}

/*PC用:header-nav-areaの中でナビとボタンを横並びにする*/
.header-nav-area{
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 0;
}

.header-nav-area .global-nav{
  margin-right: 30px;
}

.header-nav-area .header-button{
  display: flex;
  justify-content: center;
  align-items: center;
}

/*スマホ表示*/
@media(max-width: 768px){
  .site-header{
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 16px 0 0;
    box-sizing: border-box;
  }

  .header-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .header-logo a{
    display: block;
    line-height: 1;
  }

  .header-logo img{
    width: 100px;
    height: auto;
    display: block;
  }

  .site-title{
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }

  .menu-toggle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span{
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #333;
  }

  .header-nav-area{
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 0 16px 20px;
    box-sizing: border-box;
    background: #f7f7f7;
    z-index: 1001;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .header-nac-area.js-open{
    display: block;
  }

  .header-nac-area .global-nav{
    margin-right: 0;
  }

  .main-menu,
  .sub-menu{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .main-menu li,
  .sub-menu li{
    display: block;
    border-bottom: 1px solid #e3e3e3;
  }

  .main-menu a,
  .sub-menu a{
    display: block;
    padding: 22px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
  }

  .sub-menu{
    margin-top: 0;
  }

  .sub-menu li{
    gap:0;
  }

  .sub-menu li::before{
    display: none;
  }

  .header-nac-area .header-button{
    width:100%;
    max-width: none;
    height: 56px;
    margin-top: 20px;
    font-size: 14px;
  }
  }


  /* 固定ページ */
  .page-main{
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .page-content{
    max-width: 880px;
    margin: 0 auto;
  }

  .page-title{
    margin-bottom: 32px;
    font-size: 32px;
    line-height: 1.5;
    text-align:center;
  }

  .page-body{
    font-size: 16px;
    line-height: 1.9;
  }

  .page-body h2{
    margin-top: 48px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    font-size: 24px;
    line-height: 1.5;
    border-bottom: 1px solid #ddd;
  }

  .page-body h3{
    margin-top: 36px;
    margin-bottom:16px;
    font-size: 20px;
    line-height: 1.5; 
  }

  .page-body p{
    margin-bottom: 20px;
  }

  .page-body ul,
  .page-body ol{
    margin-bottom:24px;
    padding-left: 1.5em;
  }

  .page-body li{
    margin-bottom: 8px;
  }

  .page-body table{
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
    border-collapse: collapse;
  }

  .page-body th,
  .page-body td{
    padding: 14px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
  }

  .page-body th{
    width: 30%;
    background: #f7f7f7;
    font-weight: 700;
  }

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

    .page-main{
      padding-top: 40px;
      padding-bottom: 40px;
  }

  .page-content{
    max-width: 100%;
  }

  .page-title{
    margin-bottom: 24px;
    font-size: 26px;
  }

  .page-body{
    font-size: 15px;
  }

  .page-body h2{
    margin-top: 40px;
    font-size: 22px;
  }

  .page-body h3{
    margin-top: 32px;
    font-size: 18px;
  }

  .page-body table{
    font-size: 14px;
  }

  .page-body th,
  .page-body td{
    display: block;
    width: 100%;
  }

  }


  /* ブログ一覧 */
.blog-main,
.archive-main {
    padding-top: 60px;
    padding-bottom: 60px;
}

.blog-heading,
.archive-heading {
    margin-bottom: 40px;
    text-align: center;
}

.blog-title,
.archive-title {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.5;
}

.blog-lead {
    font-size: 16px;
    line-height: 1.8;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
}

.blog-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-card-image {
    aspect-ratio: 3 / 2;
    background: #F7F7F7;
}

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

.blog-card-body {
    padding: 24px;
}

.blog-date {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    color: #777;
}

.blog-card-title {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.5;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.8;
}

.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.blog-pagination .current {
    background: #333;
    color: #fff;
}

/* 記事詳細 */
.single-main {
    padding-top: 60px;
    padding-bottom: 60px;
}

.single-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-header {
    margin-bottom: 40px;
    text-align: center;
}

.single-date {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #777;
}

.single-title {
    font-size: 32px;
    line-height: 1.5;
}

.single-eyecatch {
    margin-bottom: 40px;
}

.single-eyecatch img {
    display: block;
    width: 100%;
    height: auto;
}

.single-body {
    font-size: 16px;
    line-height: 1.9;
}

.single-body h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 24px;
    line-height: 1.5;
    border-bottom: 1px solid #ddd;
}

.single-body h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.5;
}

.single-body p {
    margin-bottom: 20px;
}

.single-body ul,
.single-body ol {
    margin-bottom: 24px;
    padding-left: 1.5em;
}

.single-body li {
    margin-bottom: 8px;
}

.single-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
}

.single-nav a,
.back-to-blog a {
    text-decoration: underline;
}

.back-to-blog {
    margin-top: 32px;
    text-align: center;
}

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

    .blog-main,
    .archive-main,
    .single-main {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .blog-heading,
    .archive-heading {
        margin-bottom: 32px;
    }

    .blog-title,
    .archive-title,
    .single-title {
        font-size: 26px;
    }

    .blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .single-header {
        margin-bottom: 32px;
    }

    .single-eyecatch {
        margin-bottom: 32px;
    }

    .single-body {
        font-size: 15px;
    }

    .single-body h2 {
        margin-top: 40px;
        font-size: 22px;
    }

    .single-body h3 {
        margin-top: 32px;
        font-size: 18px;
    }

    .single-nav {
        display: block;
    }

    .single-nav-prev,
    .single-nav-next {
        margin-bottom: 16px;
    }

}

/* お問い合わせフォーム */
.page-body .wpcf7-form {
    max-width: 640px;
    margin: 0 auto;
}

.page-body .wpcf7-form p {
    margin-bottom: 20px;
}

.page-body .wpcf7-form label {
    display: block;
    font-weight: 700;
}

.page-body .wpcf7-form input[type="text"],
.page-body .wpcf7-form input[type="email"],
.page-body .wpcf7-form input[type="tel"],
.page-body .wpcf7-form select,
.page-body .wpcf7-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.page-body .wpcf7-form textarea {
    min-height: 180px;
}

.page-body .wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.page-body .wpcf7-form input[type="submit"]:hover {
    opacity: 0.8;
}

.page-body .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 14px;
    color: #c00;
}

.page-body .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 16px;
}

.support-banner-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCでは2つ横並び */
  gap: 20px; /* バナー同士の隙間 */
  max-width: 980px; /* サイト全体の幅に合わせて調整してください */
  margin: 60px auto 0; /* セクションの上部に余白を確保 */
  padding: 0 20px;
  box-sizing: border-box;
}

.support-banner-item {
  display: block;
  text-decoration: none;
}

.support-banner-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* ほんのり角を丸くしてサイトに馴染ませる */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* マウスを乗せた時の動き（PCのみ） */
.support-banner-item:hover img {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* 浮き上がる演出 */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .support-banner-container {
    grid-template-columns: 1fr; /* スマホでは縦並びに自動切り替え */
    gap: 16px;
    margin-top: 40px;
  }
}