@charset "UTF-8";
/*
Theme Name: My Portfolio
*/

/* 共通部分------------------------------------- */
html {
    font-size: 100%;
    scroll-padding-top: 70px;
}
body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.7;
    color: #432;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* レイアウト */
.site-title {
    text-align: center;
}

/* 見出し */
.font-english {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}
.page-title {
    font-size: 3rem;
    text-align: left;
    margin-top: 2rem;
    line-height: 1.4;
}

/* ヘッダー-------------------------------------- */
#header {
    position: fixed;
    width: 100%;
    /* padding-top: 0.5rem; */
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 縦方向の中央寄せ */
    z-index: 10;
    background-color: #fff;
    top: auto;
}

.logo__link {
    display: inline-block;
    font-size: 0.9rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 900;
    /*width: 100px;*/
}
.logo-line1,
.logo-line2 {
    display: block;
    color: #AB532D;
}
/*.logo {
    width: 100px;
}*/

/* ナビメニュー（PC用）　*/
.nav-menu {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}
.nav-menu li {
    list-style: none;
}
.nav-menu a {
    text-decoration: none;
    color: #432;
}
.nav-menu a:hover {
    color: #0bd;
}

/* ハンバーガーボタン */
.toggle__btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    margin-right: 20px;
}
.toggle__btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* ハンバーガーから ×への変形 */
#toggleBtn.active span:nth-child(1) {
 transform: rotate(45deg) translate(8px, 8px);
}

#toggleBtn.active span:nth-child(2) {
    opacity: 0;
}

#toggleBtn.active span:nth-child(3) {
transform: rotate(-45deg) translate(10px, -10px);
}

/* モバイルメニュー（オーバーレイ） */
.mobile__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    padding-top: 100px;
    text-align: center;
    background-image: url("images/wallpaper/Frame63.png");
    background-size: cover;
    overflow-x: hidden;
}
.mobile__menu ul {
    list-style: none;
    padding: 0;
}
.mobile__menu li {
    margin: 20px 0;
}
.mobile__menu a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #333;
}
.mobile__menu.active {
    display: block;
}
.mobile__home-link {
    margin-top: 40px; /* ← この数値でスペースを調整可能 */
    text-align: center;
}
.mobile__home-link a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #fff;
}

/* メイン-------------------------------------- */
.firstView {
    position: relative;
    background-size: cover;
    background-position: left top;
    height: 800px;
    background-image: url(images/B61D7A3B-913A-4DFF-B7C1-9DE9533D5114.jpg);
}
.firstView__title .firstView__subtitle--bold {
    display: block;
    font-weight: 500;
}
.firstView__title {
    width: auto;
    position: absolute;
    top: 13%;
    left: 3%;
    transform: translate(0%, 0%);
    font-size: 35px;
    text-align: left;
    color: #fff;
    padding: 8px 32px;
}
.firstView__subtitle {
    width: auto;
    position: absolute;
    top: 32%;
    left: 3%;
    transform: translate(0%, 0%);
    font-size: 30px;
    text-align: left;
    color: #fff;
    padding: 8px 32px;
}

.firstView__wrapper {
    display: block;
    text-align: center;
    background-color: #FFFFCD;
    padding: 8px 32px;
}
.firstView__wrapper__normal {
    font-size: 16px;
    font-weight: normal;
    color: #432;
}
.firstView__wrapper__bold {
    font-size: 20px;
    font-weight: bold;
    color: #432;
}
.box1 {
    width: 320px;
    position: absolute;
    top: 34%;
    right: 7%;
    transform: translate(0%, 0%);
}
.box2 {
    width: 320px;
    position: absolute;
    top: 48%;
    right: 7%;
    transform: translate(0%, 0%);
}
.box3 {
    width: 320px;
    position: absolute;
    top: 62%;
    right: 7%;
    transform: translate(0%, 0%);
}

/* 各セクション------------------- */
.custom__section {
    padding: 60px 40px;
}
/* 共有の見出し */
.section__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}
.title__english {
    font-size: 30px;
    color: #432;
}
.title__japanese {
    font-size: 16px;
    color: #432;   
}

/* 個別セクション */
#features {
    background-image: url("images/wallpaper/Frame63.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
.card__container {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    margin: 30px;
}
.card {
    background-color: #FFFFCD;
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.card__text {
    padding: 16px 16px 32px 55px;
}
.card__text h3 {
    margin: 0 0 8px 0;
    font-weight: bold;
    font-size: 1.2rem;
}
.card__text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

#service {
    background-image: url("images/wallpaper/Frame118.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 130px;
    justify-content: end;
}
.itemSet {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.imgText__wrapper {
    position: relative;
    width: 240px;
    height: 240px;
}
.squareImg {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
    object-fit: cover;
    z-index: 1;
}
.squareTextbox {
    position: absolute;
    left: 120px;
    top: 50px;
    width: 220px;
    height: 220px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 10px;
}
.squareTextbox h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #ab532d;
    font-weight: bold;
    text-align: center;
    font-size: 100%;
}
.squareTextbox p {
    margin: 0;
    font-size: 0.8rem;
    text-align: center;
    width: 100%
}
.squareTextbox .left-align {
    display: inline-block;
    text-align: left;   /* テキストは左揃え */
}

#works {
    background-image: url("images/wallpaper/Frame63.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}
.slideshow__container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 0 auto 60px auto; /* 上にスペース */
    height: 400px;
}
/* 各スライド */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
    pointer-events: none;
    text-align: left;
}
.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}
.slide.prev {
    opacity: 0;
    transform: translateX(-30%);
    z-index: 1;
    pointer-events: none;
}
.slide.next {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
    pointer-events: none;
}
.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.slideTitle {
    position: static;
    margin-top: 8px;
    margin-left: 0;
    color: #432;
    background: none;
    font-size: 1rem;
}
/* View Moreボタン */
.viewMore__wrapper {
    text-align: center;
    margin-top: 120px; /* デスクトップ用余白 */
}
.viewMore__button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ab532d;
    color: #fff;
    font-weight: bold;
    border-radius: 999px; /* 楕円 */
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3); /* 右下影 */
    text-decoration: none;
    transition: background 0.3s ease;
}
.viewMore__button:hover {
    background-color: #A0522D;
}

/* 制作実績一覧グリッド */
#worksList {
    background-image: url("images/wallpaper/Frame63.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}
.worksList__wrapper {
    padding: 120px 40px;
}
.worksGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}
.workItem {
    text-align: left;
}
.workItem img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}
.workItem h3 {
    margin-top: 12px;
    font-size: 1.1rem;
    color: #432;
}
.workItem p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #333;
}
/* ページネーション */
.pagination {
    text-align: center;
    /*display: flex;
    justify-content: center;*/
    margin-top: 40px;
    /*gap: 16px;*/
}
.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #f0f0f0;
    color: #432;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    /*font-size: 1rem;*/
   
}
/*.pageNumber.active {
    font-weight: bold;
    text-decoration: underline;
}*/
.pagination .page-numbers.current {
    background: #432;
    color: #fff;
    font-weight: bold;
}
.pagination .page-numbers:hover {
    background: #999;
    color: #fff;
    /*text-decoration: underline;
    opacity: 0.7;
    cursor: pointer;*/
}

/* 空のworkItem用 */
.workItem.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
}

/* トップに戻るボタンを右下に */
.backArea {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #b4532a;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 8px;
}
.back-button:hover {
    opacity: 0.8;
}

/* 指差しイラスト */
.finger__illust {
    width: 50px;
    height: auto;
}

/* 葉っぱのイラスト */
.leaf__illust {
    width: 250px;
    height: auto;
    opacity: 0.6;
    position: relative;
    display: block;
    margin: 40px auto 0 auto;
    transform: translateX(100px);
}

/* ２ページ目のページネーションを中央下部へ */
.pagination__wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* 各セクションに戻り */
#about {
    background-image: url("images/wallpaper/Frame118.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}
.about__container {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}
.about__images {
    position: relative;
    width: 50%;
    min-width: 300px;
    padding-bottom: 60px;
}
.img-bottom {
    position: absolute;
    width: 80%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    top: 60%; 
    left: 20%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}
.img-top {
    width: 60%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.aboutBlock__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: right;
}
.about__block {
    width: 45%;
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}
.about__block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    white-space: nowrap;
}
.about__block p {
    font-size: 0.95rem;
    line-height: 1.6;
}

#process {
    background-image: url("images/wallpaper/Frame63.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 20px;
    overflow-x: hidden;
}
.process__container {
    position:relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.process__pair {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}
/* 縦線（全体） */
.process__container::before {
    content: "";
    position: absolute;
    left: 60px; /* アイコン中央に合わせる */
    top: 60px;
    bottom: 60px;
    width: 5px;
    background-color: #AB532D;
    z-index: 0;
}
.process__icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.process__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.step {
    flex: 1;
}
.step h3 {
    font-weight: bold;
    color: #AB532D;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.step__desc {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-size: 0.95rem;
    line-height: 1.6;
}

#price {
    background-image: url("images/wallpaper/Frame118.png");
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 20px;
    overflow-x: hidden;
}
.priceInfo__container {
    position: relative;
    display: flex;
    align-items: center;
    width: 85%;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}
.left__wrapper {
    width: 45%;
}
.image__frame {
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    width: 100%;
    min-height: 400px;
    padding: 32px 24px 24px 60px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.image__frame h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 16px 0 20px 0;
    color: #333;
}
.image__frame p {
    font-size: 1.2rem;
    color: #333;
    margin: 20px 0 0 0;
    line-height: 1.5;
}
.right__wrapper {
    left: 75%;
    width: 30%;
    margin: 0 auto;
}
 .option__title {
    color: #333;
    margin: 0 0 32px auto;
}
.option__list {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}
.option__item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px; 
}
.option__name {
    text-align: left;
    flex-basis: 60%;
}
.option__price {
    text-align: right;
    flex-basis: 40%;
    white-space: nowrap;
}
.contact__container {
    display: flex;
    padding: 20px 0;
}
.contact__btn {
    margin: 0 auto;
    padding: 18px 48px;
    font-size: 1.2rem;
    color: #fff;
    background: #AB532D;
    border: none;
    border-radius: 32px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.08rem;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(122,92,54,0.07);
}
.contact__btn:hover {
    background: #5d482b;
}

/* フッター */
#footer {
    background-color: #f4f4f4;
    color: #432;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    border: 1px solid #ddd;
}

/*  お申し込みフォーム  */
.contact__content {
    min-height: 100vh;
    background-image: url("images/wallpaper/Frame118.png");
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    width: 100vw;
}
/*.contact__content .section__title {
    margin-top: 100px;
}*/
.contact__form {
    width: 96%;
    max-width: 420px;
    margin: 0 auto 32px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 28px 28px 48px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.contact__form label {
    font-size: 1.03rem;
    color: #AB532D;
    margin-bottom: 2px;
    font-weight: 600;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 1.01rem;
    border: 1px solid #d1c7b7;
    border-radius: 6px;
    background: #fff;
    color: #333;
    margin-bottom: 6px;
    font-family: inherit;
    box-sizing: border-box;
}
.contact__form textarea {
    resize: vertical;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.contact__btn.submit__btn {
    display: block;
    margin: 10px auto;
    text-align: center;
    background: #AB532D;
    color: #fff;
    font-size: 1.1rem;
    padding: 13px 0;
    width: 200px;
    border-radius: 25px;
}



/* ----- レスポンシブ対応 ----------------------------------------------------- */
@media screen and (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  .title__english {
    font-size: 24px;
  }

  .title__japanese {
    font-size: 14px;
  }

  .nav-menu {
    display: none;
  }

  .toggle__btn {
    display: flex;
  }

  .mobile__menu.active {
    display: block;
  }

/* ファーストビュー */
  .firstView {
    height: 100vh;
    background-position: center top;
    background-size: cover;
    padding: 80px 16px 80px;
    text-align: center;
  }

  .firstView__title {
    position: static;
    font-size: clamp(20px, 5vw, 26px);
    padding: 2vw 4vw;
    transform: none;
    line-height: 1.4;
  }

  .firstView__subtitle {
    position: static;
    font-size: clamp(16px, 4.2vw, 22px);
    padding: 1vw 4vw;
    margin-bottom: 32px;
    transform: none;
    line-height: 1.6;
  }

  .firstView__wrapper {
    position: static;
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 16px;
  }

  .firstView__wrapper__normal {
    font-size: 13px;
  }

  .firstView__wrapper__bold {
    font-size: 15px;
  }

  .box1, .box2, .box3 {
    width: 46%;
    margin-left: auto;
    margin-right: 0;
    padding: 8px 16px;
    font-size: 90%;
  }

/* 各セクション */
  .custom__section {
    padding: 100px 20px;
  }
  .card__container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .card {
    width: 90%;
    max-width: 300px;
  }
  .card__text {
    padding: 16px 16px 32px 55px; 
  }
  
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 50px;
    padding: 0 16px;
    justify-content: center;
  }
  .imgText__wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  .squareImg {
    width: 160px;
    height: 160px;
  }
  .squareTextbox {
    left: 120px;
    top: 40px;
    width: 180px;
    height: 180px;
    font-size: 1rem;
    padding: 10px;
  }
  .squareTextbox h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  .squareTextbox p {
    font-size: 0.75rem;
    text-align: center;
    width: 100%;
  }
  .squareTextbox .left-align {
    display: inline-block;
    text-align: left;
  }

  .slideshow__container {
    margin-bottom: 20px; /* 余白も明示しておく */
  }
  .viewMore__wrapper {
    margin-top: 60px;  /* 0より少しあると自然に */
  }
}

 @media screen and (max-width: 768px) {
  .about__container {
    flex-direction: column;
    gap: 60px;
    padding: 0 16px;
  }

  .about__images {
    width: 100%;
    margin-left: 0;
    padding-bottom: 10px;
  }

  .img-top {
    width: 100%;
    max-width: 600px;
  }

  .img-bottom {
    position: static;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0 auto;
    display: block;
  }

  .aboutBlock__wrapper {
    width: 100%;
    margin-left: 0;
    padding-left: 5px;
    padding-right: 5px;
  }

  .about__block {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
  }

  .about__block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    white-space: nowrap;
  }

  .about__block p {
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: keep-all;
  }

  .process__pair {
    gap: 30px;
  }

  .priceInfo__container {
    flex-direction: column;
    align-items: flex-start;
    width: 95%;
  }
  .left__wrapper,
  .right__wrapper {
    width: 100%;
    margin: 0;
  }
  .image__frame {
    padding: 24px 20px;
    min-height: auto;
  }
  .option__title {
    margin: 32px 0 16px 0;
    font-size: 1.3rem;
    text-align: left;
  }
  .option-item {
    flex-direction: row;
    justify-content: space-between;
  }
  .option__name,
  .option__price {
    flex-basis: auto;
    font-size: 1.1rem;
  }
  .contact__container {
    justify-content: center;
    padding: 30px 0;
  }
  .contact__btn {
    width: 100%;
    max-width: 300px;
    padding: 16px 0;
    font-size: 1rem;
  }
}

@media screen and (max-width: 1024px) {
    .worksGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 16px;
    }
    
    .leaf__illust {
        width: 180px;
        transform: translateX(40px);
    }

    .backArea {
        bottom: 20px;
        right: 20px;
    }
    .img-bottom {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 20px auto 0 auto;
        display: block;
  }
}

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

    .leaf__illust {
        width: 150px;
        transform: translateX(0);
        margin: 32px auto 0 auto;
    }

    .backArea {
        position: static;
        margin: 40px auto 0 auto;
        align-items: center;
    }
    .finger__illust {
        width: 40px;
    }
    .back-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .pagination,
    .pagination__wrapper {
        justify-content: center;
        margin-top: 32px;
    }  
    .slideshow__container {
        height: 250px; /* 高さを調整 */
        margin-bottom: 20px; /* 余白も明示しておく */
    }
}

@media screen and (max-width: 768px) {  /* ダメなら消して位置を変えること */
    .firstView {
        padding: 130px 16px 80px;
  }
}

@media screen and (min-width: 770px) and (max-width: 980px) {
    .grid {
        padding: 0 0 0 0;
    }
}

@media screen and (min-width: 700px) and (max-width: 768px) {
    .firstView__title {
        font-size: 4vw; /* 約28px以下に抑える */
    }
}

@media screen and (min-width: 560px) and (max-width: 760px) {
    .aboutBlock__wrapper {
        margin-left: 80px;
    }
}

@media screen and (max-width: 400px) {
    .box1, .box2, .box3 {
        position: static;
        width: 50%;
    }
    .imgText__wrapper {
        margin: 0 auto 0 30px;  
    }
    .squareTextbox {
        left: 110px;
    }
    .card__text {
        padding: 16px 16px 32px 45px; 
    }
  /*  .aboutBlock__wrapper {
        margin-left: 15px;
        padding: 0 10px;
    } */
    .viewMore__wrapper {
        margin-top: 20px;  /* 0より少しあると自然に */
    }
}


