@charset "utf-8";
/*
Theme Name: Shintoa-Tosou-v2
Author: shintoa-tosou.jp
Version: 2.0
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
}

body {
  color: #222;
  font-family: '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', sans-serif;
}
a {
  color: #4c392b;
  transition: all 0.2s;
}
a:hover {
  color: #6f6055;
}
:root {
  --main-color: #4c392b;
  --sub-color: #e4dad3;
  --accent-color: #d7a363;
  --bg-color: #ebe7e2;
  --form-bg-color: #f6eee4;
  --link-color: #4c392b;
  --link-hover-color: #6f6055;
  --heading-font: '游明朝', YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'MS P明朝', 'MS 明朝',
    serif;
  --section-padding: 24px 0 32px;
  --content-padding: 0 16px;
  --float-margin: 0 16px 24px;
  --float-padding: 24px 16px;
}
@media screen and (min-width: 768px) {
  :root {
    --section-padding: 40px 0 40px;
    --content-padding: 0 24px;
    --float-margin: 0 24px 32px;
    --float-padding: 32px 24px;
  }
}
@media screen and (min-width: 1248px) {
  :root {
    --float-margin: 0 auto 32px;
    --float-padding: 32px 32px;
  }
}

#header {
  background-color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#main {
  background: url(./assets/images/main-bg.jpg) repeat #fff;
  background-size: contain;
}
#footer {
  background-color: #897c63;
  color: #fff;
}
@media screen and (min-width: 960px) {
  #header {
    position: relative;
    box-shadow: none;
  }
  #main {
    padding-top: 0;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  position: relative;
}
.header-content .logo {
  flex: 0 0 auto;
  padding: 0 16px;
}
.header-content .logo a {
  display: block;
}
.header-content .logo img {
  width: 140px;
  height: 56px;
  object-fit: contain;
}
@media screen and (min-width: 414px) {
  .header-content .logo img {
    width: 160px;
  }
}

.global-navigation {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
}
.global-navigation-content {
  position: absolute;
  top: 72px;
  right: -100vw;
  visibility: hidden;
  background-color: rgba(255, 255, 255, 0);
  width: 100vw;
  height: calc(100vh - 72px);
  overflow-y: auto;
  transition: all 0.2s;
}
.active .global-navigation-content {
  visibility: visible;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
}
.global-navigation-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 101;
}
.global-navigation-button-icon {
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: all 0.3s;
}
.global-navigation-button-icon::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: -9px;
  left: 0;
  transition: all 0.3s;
}
.global-navigation-button-icon::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: -9px;
  left: 0;
  transition: all 0.3s;
}
.active .global-navigation-button-icon {
  background-color: transparent;
}
.active .global-navigation-button-icon::before {
  top: 0;
  transform: rotate(225deg);
}
.active .global-navigation-button-icon::after {
  bottom: 0;
  transform: rotate(-225deg);
}
.global-navigation-list {
  width: 100%;
  padding: 20px 16px 40px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  transition-delay: 0s;
}
.global-navigation-list li {
  width: 100%;
  border-bottom: solid 1px #ddd;
  position: relative;
}
.global-navigation-list li a {
  display: block;
  font-size: 14px;
  line-height: 48px;
}
.active .global-navigation-list {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.3s;
}

.global-navigation-list-child-toggle {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  background: transparent;
  border: none;
}
.global-navigation-list-child-toggle::before {
  content: '+';
  font-size: 18px;
  color: var(--main-color);
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}
.global-navigation-list-child {
  display: none;
}
.active + .global-navigation-list-child {
  display: block;
}
.global-navigation-list-child li {
  padding-left: 16px;
  border-bottom: none;
  border-top: solid 1px #ddd;
}
.global-navigation-list-child li a {
  font-size: 13px;
}
.global-navigation-list-child-toggle.active::before {
  content: '-';
}


.header-cta {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  transition-delay: 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--heading-font);
  color: var(--link-color);
  padding: 0 16px 64px;
}
.active .header-cta {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.3s;
}
.header-cta-tel .text {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}
.header-cta-tel .number {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 8px;
}
.header-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.header-cta-buttons a {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--link-color);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}
.header-cta-buttons a:hover {
  background-color: var(--link-hover-color);
}

.social-links {
  display: flex;
  gap: 8px;
  padding-right: 72px;
}
.social-link a {
  display: block;
  background: var(--link-color);
}
.social-link a::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
}
.social-link.ig a::before {
  content: url(./assets/icons/ig.svg);
}
.social-link.fb a::before {
  content: url(./assets/icons/fb.svg);
}
.social-link.x a::before {
  content: url(./assets/icons/x.svg);
}
@media screen and (min-width: 390px) {
  .social-links {
    gap: 12px;
  }
  .social-link a {
    padding: 2px;
  }
}

@media screen and (min-width: 768px) {
  .header-content {
    height: 88px;
  }
  .header-content .logo img {
    width: 200px;
    height: 70px;
  }
  .social-links {
    gap: 16px;
    padding-right: 88px;
  }
  .social-link a {
    padding: 4px;
  }

  .global-navigation {
    width: 88px;
    height: 88px;
  }
  .global-navigation-button {
    width: 88px;
    height: 88px;
  }
  .global-navigation-content {
    top: 88px;
    height: calc(100vh - 88px);
  }
}

@media screen and (min-width: 960px) {
  .header-content {
    height: 168px;
    align-items: flex-start;
  }
  .header-content .logo {
    display: flex;
    align-items: center;
    height: 120px;
    padding: 0 24px;
    z-index: 101;
  }
  .header-content .logo img {
    width: 240px;
    height: 80px;
  }
  .global-navigation {
    width: 100%;
  }
  .global-navigation-button {
    display: none;
  }
  .global-navigation-content {
    visibility: visible;
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    overflow-y: visible;
  }
  .global-navigation-list {
    visibility: visible;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 120px 24px 0;
    height: 168px;
  }
  .global-navigation-list > li {
    width: auto;
    border-bottom: none;
  }
  .global-navigation-list > li > a {
    line-height: 32px;
    padding: 0 8px 16px;
  }
  .global-navigation-list-child-toggle {
    display: none;
  }
  .global-navigation-list li.has-child {
    position: relative;
  }
  .global-navigation-list-child {
    display: block;
    position: absolute;
    top: 96%;
    left: 0;
    height: 0px;
    width: 240px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
  }
  .global-navigation-list li.has-child:hover .global-navigation-list-child,
  .global-navigation-list li.has-child:focus-within .global-navigation-list-child {
    height: auto;
    visibility: visible;
    opacity: 1;
    z-index: 100;
  }
  .global-navigation-list-child a {
    padding: 0 16px;
  }
  .global-navigation-list-child li {
    padding-left: 0;
  }
  .global-navigation-list-child li:first-child {
    border-top: none;
  }



  .header-cta {
    visibility: visible;
    opacity: 1;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    height: 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .header-cta-tel {
    display: flex;
    flex-direction: column-reverse;
  }
  .header-cta-tel .number {
    margin-bottom: 0;
  }
  .header-cta-tel .text {
    text-align: right;
    margin-bottom: 0;
  }
  .header-cta-buttons {
    padding: 0 24px 0 16px;
  }
  .header-cta-buttons a {
    padding: 12px 24px;
    font-size: 18px;
  }
  .header-cta-buttons .contact {
    display: none;
  }
  .social-links {
    display: none;
  }
}
@media screen and (min-width: 1080px) {
  .global-navigation-list > li > a {
    padding: 0 12px 16px;
  }
}
@media screen and (min-width: 1280px) {
  .global-navigation-list > li > a {
    font-size: 15px;
    padding: 0 16px 16px;
  }
}

/* Front Page Header Styles */
.front-page-header {
  position: relative !important;
  padding: 0 !important;
  overflow: hidden;
}
.front-page-header-content {
  background: url('./assets/images/front-page/mv-bg.jpg');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
}
.front-page-header-content::before {
  content: '';
  position: absolute;
  top: 96px;
  left: 16px;
  width: 20%;
  height: 272px;
  background: url('./assets/images/front-page/slogan.png') no-repeat;
  background-size: contain;
}
.front-page-header-content .hero-image {
  width: 72%;
  margin-left: auto;
}
.front-page-header-content .catch {
  padding: 16px 16px;
  text-align: right;
  text-shadow: 0 0 5px #feeede, 0 0 5px #feeede, 0 0 5px #feeede, 0 0 5px #feeede, 0 0 5px #feeede, 0 0 5px #feeede,
    0 0 5px #feeede, 0 0 5px #feeede;
}
.front-page-header-content .catch h2 {
  font-family: var(--heading-font);
  font-size: 5.2vw;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
}
.front-page-header-content .catch p {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}
.front-page-header-content .catch span {
  display: block;
}
@media screen and (min-width: 440px) {
  .front-page-header-content::before {
    height: 320px;
    left: 5%;
  }
}
@media screen and (min-width: 768px) {
  .front-page-header-content::before {
    top: 112px;
    left: 7%;
  }
  .front-page-header-content .hero-image {
    margin-bottom: 88px;
  }
  .front-page-header-content .catch {
    width: 72%;
    position: absolute;
    bottom: 128px;
    right: 0;
    text-align: center;
  }
  .front-page-header-content .catch h2 {
    font-size: 3.5vw;
  }
  .front-page-header-content .catch p {
    font-size: 18px;
  }
  .front-page-header-content::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 80%;
    height: 72px;
    background-image: url('./assets/images/front-page/company-name.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
  }
}
@media screen and (min-width: 960px) {
  .front-page-header-content::before {
    height: 400px;
    top: 40px;
  }
  .front-page-header-content .catch p {
    font-size: 20px;
  }
  .front-page-header-content .catch span {
    display: inline-block;
  }
}


/* Article Header Styles */
.article-header {
  position: relative !important;
  padding: 0 !important;
  overflow: hidden;
}
.article-header-content {
  background: url('./assets/images/header-bg.jpg');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
}
.hero-image {
  margin-top: 72px;
  height: 296px;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 296px;
  object-fit: cover;
}
.article-title {
  display: block !important;
  font-size: 24px;
  color: #313131;
  font-weight: 600;
  text-align: left;
  word-break: break-all;
  line-height: 1.2;
  text-transform: none;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  top: 96px;
  left: 32px;
  max-height: 248px;
  z-index: 1;
  letter-spacing: 8px;
  display: inline-block;
  font-family: '游明朝', YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'MS P明朝', 'MS 明朝',
    serif;
}
.article-title span {
  display: block;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px 16px 8px;
  line-height: 1.2;
}
.article-title span span {
  background: transparent;
  padding: 0.5em 0 0;
}
.static-page-title {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color);
  line-height: 1.2;
  margin-top: 72px;
  padding: 24px 16px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-slogan {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.blog-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background: #125096;
  line-height: 1.2;
  padding: 4px 8px;
  display: inline-flex;
  flex-wrap: wrap;
  margin-left: auto;
}
.blog-description {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  margin-top: 8px;
}

@media screen and (min-width: 440px) {
  .hero-image {
    height: 368px;
  }
  .hero-image img {
    height: 368px;
  }
  .article-title {
    font-size: 32px;
    top: 104px;
    left: 32px;
    max-height: 304px;
  }
}
@media screen and (min-width: 768px) {
  .article-header-content::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 80%;
    height: 72px;
    background-image: url('./assets/images/common/company-name.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
  }
  .service-page .article-header-content::after {
    background-image: url('./assets/images/catch.png');
    width: 88%;
    max-width: 960px;
  }
  .hero-image {
    width: 78%;
    margin-top: 88px;
    margin-left: auto;
    margin-bottom: 88px;
  }
  .article-title {
    font-size: 40px;
    top: 120px;
    left: 48px;
    max-height: 336px;
  }
  .article-title span {
    background: transparent;
    padding: 0;
  }
  .article-title > span::before {
    content: '';
    display: block;
    width: 36px;
    height: calc(100% - 8px);
    background: #a6937c;
    position: absolute;
    top: 4px;
    z-index: -1;
  }
  .static-page-title {
    font-size: 32px;
    margin-top: 88px;
    padding: 48px 24px 0;
  }
  .blog-slogan {
    bottom: 112px;
    right: 24px;
  }
  .blog-title {
    font-size: 32px;
  }
  .blog-description {
    font-size: 24px;
  }
}
@media screen and (min-width: 960px) {
  .hero-image {
    height: 480px;
    width: 80%;
    margin-top: 0;
    margin-left: auto;
  }
  .hero-image img {
    height: 480px;
  }
  .article-title {
    font-size: 48px;
    top: 48px;
    left: 5%;
    letter-spacing: 10px;
    max-height: 406px;
  }
  .article-title span::before {
    width: 40px;
  }
  .static-page-title {
    padding: 48px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
  }
  .static-page-title span {
    display: inline-block;
    position: relative;
    z-index: 2;
  }
  .static-page-title span::after {
    content: '';
    display: block;
    width: 100%;
    height: 72%;
    background: var(--sub-color);
    position: absolute;
    bottom: 0;
    left: 8px;
    z-index: -1;
  }
}
@media screen and (min-width: 1280px) {
  .hero-image {
    margin-top: 48px;
  }
}

.section {
  padding: var(--section-padding);
}
.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--content-padding);
}
.section-content .section-content {
	padding: 0;
	margin-bottom: 24px;
}
.section-image {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}
.section-image img {
  width: 100%;
  height: auto;
  max-width: 480px;
}
@media screen and (min-width: 960px) {
  .section-image img {
    max-width: 100%;
  }
}
.section-text {
	width:100%;
}
.section-header {
	width: 100%;
  margin-bottom: 16px;
  font-family: var(--heading-font);
}
.section-header h1,
.section-header h2,
.section-header h3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #000;
}
.section-header h1,
.section-header h2 {
	font-size: 20px;
}
.section-header h3 {
	font-size: 18px;
}
.section-header p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #444;
  margin-bottom: 8px;
}
.section-header .description p {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	font-family: initial;
	font-weight: normal;
}

.section-header.numbered {
  padding-left: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.section-header.numbered.number-1 {
  background-image: url('./assets/images/common/1.png');
  background-position: 8px center;
}
.section-header.numbered.number-2 {
  background-image: url('./assets/images/common/2.png');
}
.section-header.numbered.number-3 {
  background-image: url('./assets/images/common/3.png');
}
.section-header.numbered.number-4 {
  background-image: url('./assets/images/common/4.png');
}
.section-header.numbered.number-5 {
  background-image: url('./assets/images/common/5.png');
}

.section-header.numbered h3,
.section-header.numbered p {
  justify-content: flex-start;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .section-header.numbered {
    padding-left: 80px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .section-header.numbered.number-1 {
    background-position: 12px center;
  }
}
.section-header.counted {
  position: relative;
  max-width: 528px;
  margin: 0 auto 24px;
}
.section-header.counted::before {
  content: '';
  display: block;
  width: 90px;
  height: 45px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  filter: drop-shadow(0 2px 4px #fff);
  position: absolute;
  top: -40px;
  left: -12px;
}
.section-header.counted.count-1::before {
  background-image: url('./assets/images/common/01.png');
}
.section-header.counted.count-2::before {
  background-image: url('./assets/images/common/02.png');
}
.section-header.counted.count-3::before {
  background-image: url('./assets/images/common/03.png');
}
.section-header.counted.count-4::before {
  background-image: url('./assets/images/common/04.png');
}
.section-header.counted.count-5::before {
  background-image: url('./assets/images/common/05.png');
}
.section-header.counted.count-6::before {
  background-image: url('./assets/images/common/06.png');
}
.section-header.counted.count-7::before {
  background-image: url('./assets/images/common/07.png');
}


@media screen and (min-width: 768px) {
  .section-header.counted h3.color-bar {
    justify-content: center;
  }
  .section-header.counted::before {
    width: 100px;
    height: 50px;
    top: -40px;
  }
}
@media screen and (min-width: 960px) {
  .section-header.counted h3.color-bar {
    justify-content: flex-start;
  }
  .section-header.counted::before {
    width: 120px;
    height: 60px;
    margin-bottom: 16px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
  }
}


.section-body {
  width: 100%;
  padding-bottom: 16px;
}
.section-body > p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1em;
}
.section-body .lead {
  font-size: 16px;
  font-weight: bold;
  font-family: var(--heading-font);
}
.section-body .highlight {
  font-weight: bold;
  font-family: var(--heading-font);
  color: #000;
}
.section-footer {
	width: 100%;
  margin-top: 24px;
}

.description {
  padding: 24px 0;
}
.description h2 {
  padding: var(--content-padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 4vw;
  font-family: var(--heading-font);
}

.color-bg {
  background-color: var(--bg-color);
  padding-top: 48px;
}
.sub-color-bg {
  background-color: var(--sub-color);
  padding-top: 48px;
}
.form-color-bg {
  background-color: var(--form-bg-color);
  padding-top: 48px;
}
.white-bg {
  background-color: #fff;
}
.transparent-layer {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 48px 24px 32px;
}
.layout-right {
  margin-left: auto;
}
.section-header h1.color-bar,
.section-header h2.color-bar {
  background-color: #b2917e;
  padding: 12px 24px;
  color: #fff;
}
.section-header h3.color-bar {
  padding: 0 16px;
  line-height: 40px;
  color: var(--main-color);
}
.section-header h2.center {
  justify-content: center!important;
}
.section-header p.center,
.section-body p.center {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.section-body p.strong {
  font-family: var(--heading-font);
  font-weight: bold;
  font-size: 1.5em;
  padding: 16px 0;
}

@media screen and (min-width: 768px) {
  .description h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .transparent-layer {
    padding: 64px 48px 48px;
  }
  .section-header h1.color-bar,
  .section-header h2.color-bar {
    margin-left: -24px;
    width: 90%;
    position: relative;
  }
  .section-header h1.color-bar::after,
  .section-header h2.color-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 70px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    position: absolute;
    top: 0;
    right: -35px;
    background-color: #b2917e;
  }
  .section-header .lead,
  .section-body .lead {
    font-size: 18px;
  }
}

@media screen and (min-width: 960px) {
  .section-header h3.color-bar {
    background-color: #b2917e;
    padding: 0 16px;
    color: #fff;
    line-height: 48px;
  }
  .section-header h3.color-bar::after {
  content: '';
  display: block;
  height: calc(1.2em + 16px);
  width: 50px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  position: absolute;
  bottom: 0;
  right: -25px;
  background-color: #b2917e;
}
}
@media screen and (min-width: 1200px) {
  .section-header h1.color-bar,
  .section-header h2.color-bar {
    margin-left: calc(((100vw - 1152px) / 2) * -1);
    padding-left: calc((100vw - 1152px) / 2);
    width: calc(90% + ((100vw - 1152px) / 2));
  }
}

.learn-more {
  text-align: center;
}
.learn-more a {
  display: inline-block;
  padding: 12px 40px 12px 24px;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border: solid 1px var(--link-color);
  color: var(--link-color);
  font-size: 18px;
  line-height: 1;
}
.learn-more a::after {
  content: '';
  display: block;
  width: 6px;
  height: 4px;
  border: 6px solid transparent;
  border-left: 7px solid #313131;
  position: absolute;
  top: 15px;
  right: 16px;
  transition: all 0.2s;
}
.learn-more a:hover {
  background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.learn-more a:hover::after {
  transform: translateX(4px);
}
@media screen and (min-width: 768px) {
  .section-header {
    text-align: left;
    margin-bottom: 20px;
  }
  .section-header h1,
  .section-header h2,
  .section-header h3 {
    justify-content: flex-start;
  }
	.section-header h1,
  .section-header h2 {
		font-size: 28px;
	}
	.section-header h3 {
		font-size: 24px;
	}
  .section-header p {
    justify-content: flex-start;
  }
  .section-body > p {
    font-size: 16px;
  }
}
@media screen and (min-width: 960px) {
	.section-content {
		gap: 24px;
		align-items: flex-start;
	}
  .section-content.image-left,
  .section-content.image-left-overflow {
    flex-direction: row;
  }
  .section-content.image-right,
  .section-content.image-right-overflow {
    flex-direction: row-reverse;
  }
  .section-image {
    flex: 0 0 auto;
    width: 40%;
    margin-bottom: 0;
  }
  .section-text {
    width: calc(60% - 24px);
  }
  .section-content.image-left-overflow {
    padding-left: 0;
    max-width: 100%;
  }
  .section-content.image-right-overflow {
    padding-right: 0;
    max-width: 100%;
  }
  .section-content.image-left-overflow .section-image,
  .section-content.image-right-overflow .section-image {
    width: 55vw;
  }
  .section-content.image-left-overflow .section-text,
  .section-content.image-right-overflow .section-text {
    width: calc(50% - 24px);
  }
  .section-content.image-left-overflow .section-header,
  .section-content.image-right-overflow .section-header {
    padding-bottom: 48px;
  }

  .section-content.image-left-overflow .section-header h3,
  .section-content.image-right-overflow .section-header h3 {
    white-space: nowrap;
    min-width: 100%;
    position: absolute;
  }
  .section-content.image-left-overflow .section-header h3 {
    transform: translateX(-15%);
  }
  .section-content.image-left-overflow .section-header.counted::before {
    margin-right: auto;
  }
  .section-content.image-right-overflow .section-header h3 {
    transform: translateX(15%);
  }
  .section-content.image-right-overflow .section-header.counted::before {
    margin-left: auto;
  }

  .section-header h1,
  .section-header h2 {
    font-size: 32px;
  }
  .section-header h3 {
    font-size: 28px;
  }
	.section-header p {
		font-size: 18px;
	}
  .image-left .learn-more,
	.image-right .learn-more {
		text-align: left;
	}
}
@media screen and (min-width: 1200px) {
  .section-content.image-left-overflow {
    padding-right: calc((100vw - 1152px) / 2);
  }
  .section-content.image-right-overflow {
    padding-left: calc((100vw - 1152px) / 2);
  }
}

/* Common Example Section Styles */
.common-example {
  padding: 0;
}
.common-example h2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  font-family: var(--heading-font);
}
.common-example h2 .underline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 8px;
  background-image: url('./assets/images/common/underline.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
}
.common-example .example {
  padding: 48px 16px;
}
.common-example .example img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}
.common-example .example p {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  font-family: var(--heading-font);
}
.common-example .separator {
  aspect-ratio: 128/11;
  background-image: url('./assets/images/common/separator.png');
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
}
.common-example .separator p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  font-family: var(--heading-font);
  color: var(--main-color);
  padding: 16px 0;
}
.common-example .solution {
  padding: 48px 16px;
  background-color: var(--sub-color);
  text-align: center;
}

.common-example .solution p {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
}


@media screen and (min-width: 768px) {
  .common-example h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }
	.common-example .example {
		padding: 64px 24px;
		max-width: 1200px;
		margin: 0 auto;
	}
  .common-example .separator p {
    font-size: 24px;
  }
  .common-example .solution p {
    font-size: 24px;
  }
  .common-example .solution .deco {
    padding-right: 56px;
    position: relative;
  }
  .common-example .solution .deco::after {
    content: '';
    display: block;
    background-image: url('./assets/images/common/flash.png');
    width: 62px;
    height: 62px;
    position: absolute;
    top: -40px;
    right: 0;
  }
}

.company-information {
	padding: 48px 16px;
	background-image: url('./assets/images/common/company-bg.jpg');
	background-repeat: repeat;
	margin-bottom: 24px;
}
.company-information table {
	width: 100%;
	border-collapse: collapse;
}
.company-information td {
	padding: 16px;
	border-bottom: solid 1px #444;
	font-size: 14px;
	text-align: left;
}
.company-information th {
	padding: 16px 4px;
	border-bottom: solid 2px #444;
	font-size: 14px;
	font-weight: normal;
	text-align: left;
	width: 20%;
}
.company-description {
	font-size: 14px;
	line-height: 1.6;
	padding: 0 0 32px;
}
@media screen and (min-width: 768px) {
	.company-information {
		padding: 64px 48px;
		margin-bottom: 48px;
	}
	.company-information td,
	.company-information th {
		font-size: 16px;
	}
}

.reviews {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.review-item {
	display: flex;
}
.review-avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 32px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.review-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.review-content {
	flex: 1 1 auto;
	background: #fff;
	padding: 16px 24px;
	border-radius: 8px;
	border: solid 1px #ccc;
	position: relative;
}
.review-content::before {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	transform: rotate(-45deg) skew(15deg, 15deg);
	background: #fff;
	position: absolute;
	top: 24px;
	left: -12px;
	border: solid 1px #ccc;
}
.review-content::after {
	content: '';
	display: block;
	width: 24px;
	height: 48px;
	background: #fff;
	position: absolute;
	top: 12px;
	left: 0;
}
.review-content h3 {
	font-size: 17px;
	font-weight: bold;
	font-family: var(--heading-font);
	margin-bottom: 8px;
}
.review-content .summary {
	font-size: 14px;
	font-weight: bold;
	color: #666;
}
.review-content cite a {
	color: var(--link-color);
	text-decoration: underline;
}
.review-text {
	font-size: 14px;
	line-height: 1.6;
	padding-top: 16px;
	border-top: solid 1px #ddd;
}
@media screen and (min-width: 768px) {
	.review-avatar {
		width: 96px;
		height: 96px;
	}
	.review-content {
		padding: 24px 32px;
	}
	.review-content h3 {
		font-size: 20px;
	}
	.review-content .summary {
		font-size: 16px;
	}
}

.cs {
	background-image: url('./assets/images/common/cs-bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding-top: 48px;
}
.cs .section-header h2 {
	display: block;
	text-align: center;
	color: var(--main-color);
	padding-bottom: 8px;
	border-bottom: solid 1px #d7942d;
}
.cs .section-header h2::after {
	content: '★★★★☆';
	color: #d7942d;
	display: inline-block;
	margin-left: 1em;
}
.cs .section-header p {
	color: var(--main-color);
	font-family: var(--heading-font);
	font-size: 18px;
}
.cs .section-body {
	padding: 16px 20px;
	background: #ffd58f;
	font-size: 13px;
	line-height: 1.6;
	font-family: var(--heading-font);
	color: var(--main-color);
}
@media screen and (min-width: 960px) {
	.cs {
		padding-top: 64px;
	}
	.cs .section-header h2 {
		font-size: 32px;
		text-align: left;
	}
	.cs .section-header h2::after {
		display: block;
		margin-left: 0;
	}
	.cs .section-header p {
		font-size: 20px;
	}
	.cs .section-body {
		font-size: 14px;
	}
}

/* Call to Action Button Styles */
.cta-button {
	text-align: center;
}
.cta-button a {
	display: inline-block;
	padding: 16px 48px 16px 32px;
	border: solid 1px var(--link-color);
	border-radius: 5px;
	color: var(--link-color);
	background: #f9f7f6;
	font-size: 18px;
	line-height: 1.0;
	position: relative;
}
.cta-button a::after {
  content: '';
  display: block;
  width: 6px;
  height: 4px;
  border: 6px solid transparent;
  border-left: 7px solid var(--link-color);
  position: absolute;
  top: 19px;
  right: 20px;
  transition: all 0.2s;
}
.cta-button a:hover {
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
  padding: 48px 0;
}
.footer-content {
  padding: var(--content-padding);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-information {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.footer-information .footer-logo {
  margin-bottom: 24px;
}
.footer-information .social-links {
  padding-right:0;
  margin-bottom: 24px;
}
.footer-information .social-links a {
  background-color: #897c63;
}
.footer-contact {
  text-align: center;
}
.footer-contact .tel {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
  font-family: var(--heading-font);
}
.footer-contact p {
  font-size: 13px;
}
.footer-contact a {
  color: #fff;
}
.footer-navigation {
  width: 100%;
  padding: 48px 0;
}
.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
}
.footer-navigation li {
  width: 50%;
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}
.footer-navigation a {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 12px;
  line-height: 48px;
}
.copyright {
  text-align: center;
  font-size: 12px;
}
@media screen and (min-width: 960px) {
  .footer {
    padding: 72px 0;
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 72px;
  }
  .footer-information .social-links {
    display: flex;
  }
  .footer-navigation {
    padding: 0;
  }
  .footer-navigation ul {
    flex-direction: column;
    max-height: 360px;
  }
  .footer-navigation li {
    width: auto;
    border-bottom: none;
  }
  .footer-navigation a {
    text-align: left;
  }
}

.blog-article {
  padding-top: 72px;
  background-color: #fff;
}
.blog-article-content {
  padding: var(--content-padding);
  margin-bottom: 48px;
}
.blog-article-header {
  padding: 24px 0;
}
.blog-article-header h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: bold;
  font-family: var(--heading-font);
  color: var(--main-color);
  margin-bottom: 16px;
}
.blog-article-header .date {
  font-size: 13px;
  color: #666;
}
.blog-article-hero-image {
  margin-bottom: 24px;
}
.blog-article-hero-image img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
}
.blog-article-body {
  padding-bottom: 72px;
}
.blog-article-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-article-body h2 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: bold;
  color: var(--main-color);
  margin-top: 40px;
  margin-bottom: 24px;
}
.blog-article-body h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--main-color);
  padding-left: 12px;
  border-left: 4px solid var(--sub-color);
  margin-top: 32px;
  margin-bottom: 24px;
}
.blog-article-footer {
  padding-top: 24px;
  border-top: solid 1px #ddd;
}
.blog-article-footer .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-article-footer .categories a {
  font-weight: bold;
}
.blog-article-footer .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-article-footer .tags a::before {
  content: '#';
}




.article-container .sidebar {
  padding: var(--content-padding);
}

@media screen and (min-width: 768px) {
  .blog-article {
    padding-top: 0;
    max-width: 800px;
    margin: 120px 24px 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  }
  .blog-article-header {
    padding: 32px 0;
  }
  .blog-article-header h1 {
    font-size: 32px;
  }
  .blog-article-header .date {
    font-size: 14px;
  }
}
@media screen and (min-width: 848px) {
  .blog-article {
    margin: 120px auto 0;
  }
}
@media screen and (min-width: 960px) {
  .article-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    padding: 48px 24px;
    margin: 0 auto;
  }
  .blog-article {
    flex: 0 0 auto;
    margin: 0 0 64px;
    width: calc(100% - 348px);
  }
  .blog-article-header {
    padding: 32px 0;
  }
  .blog-article-header h1 {
    font-size: 32px;
  }
  .blog-article-header .date {
    font-size: 14px;
  }
  .article-container .sidebar {
    width: 300px;
    padding: 0;
    flex: 0 0 auto;
  }
}

/* Article List */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.article-list li {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.article-list li article {
  height: 100%;
  position: relative;
}
.article-list li article::before {
  content: '';
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.article-list li article.post::before {
  content: 'ブログ';
  background-color: #125096;
}
.article-list li article.works::before {
  content: '施工事例';
  background-color: #b2917e;
}
.article-list li article.news::before {
  content: 'お知らせ';
  background-color: #65a39b;
}

.article-list li article a {
  display: flex;
  height: 100%;
}
.article-list li:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.article-list li article a:hover img {
  transform: scale(1.05);
}
.blog-list li,
.works-list li {
  width: 100%;
}
.blog-list li article a,
.works-list li article a {
  flex-direction: column;
}
.list-item-thumbnail {
  width: 100%;
  overflow: hidden;
}
.list-item-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: all 0.2s;
}
.list-item-thumbnail .no-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 3/2;
  background-color: var(--bg-color);
}
.list-item-thumbnail .no-image img {
  width: 70%;
  height: auto;
  object-fit: contain;
}
.list-item-content {
  flex: 1 1 auto;
  padding: 12px 12px 32px;
  background-color: #fff;
  position: relative;
}
.list-item-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 8px;
}
.list-item-date {
  font-size: 12px;
  color: #666;
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.no-posts {
  padding: 48px 0;
  text-align: center;
}
.pagination {
  margin-top: 24px;
  margin-bottom: 48px;
}
.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.pagination .page-numbers a,
.pagination .page-numbers span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
}
.pagination .page-numbers a {
  background-color: var(--bg-color);
  color: var(--link-color);
}
.pagination .page-numbers a:hover {
  background-color: var(--sub-color);
}
.pagination .page-numbers span {
  background-color: var(--accent-color);
  color: #fff;
}

.archive {
  padding-top: 72px;
}
.archive-header {
  padding-top: 24px;
}
@media screen and (min-width: 768px) {
  .archive {
    padding-top: 88px;
  }
  .archive-header {
    padding-top: 32px;
  }
}
@media screen and (min-width: 960px) {
  .archive {
    padding-top: 0;
  }
}

@media screen and (min-width: 440px) {
  .blog-list li,
  .works-list li {
    width: calc(50% - 8px);
  }
}
@media screen and (min-width: 768px) {
  .blog-list li,
  .works-list li {
    width: calc((100% - 32px) / 3);
  }
}
@media screen and (min-width: 960px) {
  .blog-list li,
  .works-list li {
    width: calc(50% - 8px);
  }
}
@media screen and (min-width: 1148px) {
  .blog-list li,
  .works-list li {
    width: calc((100% - 32px) / 3);
  }
}

@media screen and (min-width: 960px) {
  .section-body.two-column {
    display: flex;
    justify-content: space-between;
  }
  .section-body.two-column .list {
    width: calc(100% - 332px);
  }
  .section-body.two-column .sidebar {
    width: 300px;
    flex: 0 0 auto;
  }
}

/* Sidebar */
.sidebar-section {
  margin-bottom: 24px;
}
.sidebar-section-header {
  border-bottom: solid 1px var(--sub-color);
  padding-bottom: 8px;
}
.sidebar-section-header h4 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--main-color);
  font-family: var(--heading-font);
}
.sidebar-section-header p {
  font-size: 14px;
  color: #666;
  font-family: var(--heading-font);
}

.sidebar-category-list li {
  padding: 12px 0;
  font-size: 16px;
}
.sidebar-article-list li {
  border-bottom: solid 1px var(--sub-color);
}
.sidebar-article-list a {
  display: flex;
  padding: 16px 0;
  gap: 16px;
}
.sidebar-list-item-thumbnail {
  width: 144px;
}
.sidebar-list-item-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sidebar-list-item-thumbnail .no-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--bg-color);
}
.sidebar-list-item-thumbnail .no-image img {
  width: 70%;
  height: auto;
  object-fit: contain;
}
.sidebar-list-item-content {
  width: calc(100% - 144px);
}
.sidebar-list-item-title {
  display: block;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  height: 5.6em;
  overflow: hidden;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 8px;
}
.sidebar-list-item-date {
  font-size: 12px;
  color: #666;
}
.sidebar-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
}
.sidebar-tag-list li a {
  display: block;
  padding: 8px 12px;
  background-color: var(--sub-color);
  font-size: 14px;
  line-height: 1.4;
}
.sidebar-tag-list li a:hover {
  background-color: var(--bg-color);
}

/* Service Pages */
.service-headline {
  background-color: #917666;
  padding: 40px 0;
}
.service-headline-content {
  padding: var(--content-padding);
  display: flex;
  justify-content: center;
}
.service-headline-content h2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  font-family: var(--heading-font);
  align-items: flex-end;
}

.service-headline-content .dots {
  display: inline-block;
  font-size: 1.4em;
  letter-spacing: 0;
  line-height: 0.9;
  background-image: radial-gradient(circle at center, yellow 20%, transparent 20%);
  background-position: top left;
  background-repeat: repeat-x;
  background-size: 1em 0.5em;
  padding-top: 0.6em;
}
@media screen and (min-width: 768px) {
  .service-headline {
    padding: 64px 0 48px;
  }
  .service-headline-content h2 {
    font-size: 40px;
  }
}

.figure {
  padding: var(--section-padding);
  background: #fff;
}
.figure-content {
  padding: var(--content-padding);
  margin: 0 auto;
}
.figure-content img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.key-points {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 0 16px;
  padding: 32px 24px;
}
.key-points img {
  box-shadow: -10px 10px 0 var(--accent-color);
}
.key-point-list {
  padding: 16px 0;
}
.key-point-list li {
  font-size: 16px;
  font-weight: bold;
  line-height: 2.0;
  color: var(--main-color);
  font-family: var(--heading-font);
  margin-bottom: 16px;
  border-bottom: solid 1px var(--sub-color);
}
.key-point-list li::before {
  content: '✔';
  display: inline-block;
  margin-right: 8px;
  color: var(--accent-color);
}
.key-points .banner-call img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: none;
}
@media screen and (min-width: 768px) {
  .key-points {
    margin: 0 24px;
    padding: 48px 32px;
  }
  .key-point-list li {
    font-size: 18px;
  }
}
@media screen and (min-width: 1248px) {
  .key-points {
    margin: 0 auto;
  }
}

.floating {
  background-color: #fff;
  padding: var(--float-padding);
  margin: var(--float-margin);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.floating-box {
  padding: var(--float-padding);
  margin: var(--float-margin);
  box-shadow: 10px 10px 0 #cea06a;
  background-color: #e8d3c9;
  margin-bottom: 48px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 16px;
  margin-top: 16px;
  margin-bottom: 32px;
}
.card-grid-item {
  background-color: #fff;
  width: 100%;
  padding: 32px 16px;
  margin-top: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.card-grid-item::before {
  content: '';
  position: absolute;
  top: -32px;
  left: calc(50% - 36px);
  width: 72px;
  height: 72px;
  background-image: url('./assets/images/common/deco-paint.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.card-grid-item-text h4 {
  font-size: 18px;
  font-weight: bold;
  font-family: var(--heading-font);
  padding: 4px 0;
  background-color: #fff;
  margin: 12px 0;
  text-align: center;
}
.card-grid-item-text p {
  font-size: 14px;
}
.card-grid-item-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .card-grid {
    gap: 24px;
  }
  .card-grid-item {
    width: calc((100% - 48px) / 3);
  }
}
