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

@font-face {
  font-family: 'HonokaShinMincho';
  src: url('fonts/Honoka_Shin_Mincho_L.woff2') format('woff2');
}

@font-face {
  font-family: 'ZenKakuGothicNew-Light';
  src: url('fonts/ZenKakuGothicNew-Light.woff2') format('woff2');
}

/* 共通パーツ */
body {
  font-size: clamp(14px, 1.5vw, 16px);
  font-family: 'ZenKakuGothicNew';
  font-weight: 400;
  color: #4B0408;
}

section {
  padding: 40px 0;
}

.content {
  width: 90%;
  margin: 0 auto;
}

h2 {
  font-family: "Aboreto", system-ui;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 9999px);
  margin-bottom: 0px;
}

.ja-title {
  font-family: 'HonokaShinMincho';
  font-size: clamp(14px, 1vw, 9999px);
  display: inline-block;
  position: relative;
  padding: 0 20px;
  margin-top: 0px ;
  color: #4B0408;
}

.ja-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 7vw;
  height: .5px;
  background-color: #888;
  transform: translateY(-50%);
}

.ja-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 7vw;
  height: .5px;
  background-color: #888;
  transform: translateY(-50%);
}

.more-button {
	display: block;
	text-align: center;
  margin-bottom: 20px;
}

.button-content {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-weight: 500;
  color: #4B0408;
  border: 1px solid #4B0408;
  text-decoration: none;
  position: relative;
  background: transparent;
  transition: all 0.4s ease-in-out;
  background-clip: border-box;
}

.button-content .text,
.button-content .arrow::after {
  transition: all 0.4s ease-in-out;
}

/* グラデーション用マスク：文字＆枠線 */
.button-content:hover {
  background: linear-gradient(to right, #4B0408, #96383D, #4B0408);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-image: linear-gradient(to right, #4B0408, #96383D, #4B0408);
  border-image-slice: 1;
}

/* arrow部分：hover時もグラデに */
.button-content .arrow::after {
  content: "→";
  color: #4B0408;
  display: inline-block; /* ← transform が効くように */
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.button-content:hover .arrow::after {
  transform: translateX(3px) scale(1.2); /* ← スライド＋拡大 */
  background: linear-gradient(to right, #4B0408, #96383D, #4B0408);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.button-content .arrow {
  margin-left: 8px; /* ← お好みで調整。10px でもOK */
}

.section-explanation {
	margin-bottom: 20%;
}

/* ヘッダーエリア */
header {
  position: relative;
  padding: 20px 0;
  background-color: #4B0408; /* ベースの背景色だけ */
  overflow: hidden;
  z-index: 1;
}

/* 線1（#510B0F） */
header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 25%;
  width: 10%;
  height: 0;
  background-color: #510B0F;
  animation: slideDown 1s forwards;
  animation-delay: 0.2s;
  z-index: -1;
}

/* 線2（#430508） */
header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 15%;
  width: 10%;
  height: 0;
  background-color: #430508;
  animation: slideDown 1s forwards;
  animation-delay: 0.2s;
  z-index: -1;
}

/* アニメーション定義 */
@keyframes slideDown {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}

.header-logo {
  width: 30%;
}

.language-flex {
  display: inline-flex;
  border: .5px solid #fff;
  padding: 10px 15px;
  font-size: 12px;
}

#lang_choice_1 {
  background-color: #4B0408;
  color: #fff;
  border: none;
}

.earth-icon {
  margin-right: 10px;
  width: 15px;
  height: 15px;
}

header .content {
  display: flex;
  justify-content: flex-end;
}

/* ハンバーガー */
.menu-trigger {
  position: relative;
  width: 30px;
  height: 42px;
  cursor: pointer;
  margin-left: 35px;
}

.menu-trigger span {
  display: block;
  position: absolute;
  width: 30px;
  border-bottom: solid 1px #fff;
  border-radius: 3px;
  transition: .35s ease-in-out;
}

.menu-trigger span:nth-child(1) {
  top: 6px;
}

.menu-trigger span:nth-child(2) {
  top: 18px;
}

.menu-trigger span:nth-child(3) {
  top: 30px;
}

.menu-trigger.active span:nth-child(1) {
  top: 18px;
  transform: rotate(-45deg);
  border-bottom: solid 1px #4B0408;
}

.menu-trigger.active span:nth-child(2),
.menu-trigger.active span:nth-child(3) {
  top: 18px;
  transform: rotate(45deg);
  border-bottom: solid 1px #4B0408;
}

.menu-trigger.active {
  z-index: 10000;
  position: fixed;
}

/* ==== ドロワーメニュー内リスト ==== */
.drawer-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background-color: #CFCFCF;
  color: #4B0408;
  padding: 70px 0;
  z-index: 9999;

  /* 初期状態で右にオフスクリーン */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.drawer-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.inline-content {
  padding: 0 30px;
}

#drawerMenu img {
  width: 100%;
}

.drawerMenu-list,
.drawerMenu-list-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-item a {
  display: block;
  padding: 14px 20px;
  color: #4B0408;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
}

.main-item a:hover {
  background-color: #fff;
  color: #4B0408;
}

.sub-title {
  position: relative;
  display: block;
  padding: 14px 20px;
}

.sub-item a {
  display: block;
  padding: 12px 30px;
  color: #4B0408;
  text-decoration: none;
  border-bottom: 1px dashed #ccc;
}

.sub-item a:hover {
  background-color: #eee;
}

.drawerMenu-list-sub li a {
  display: block;
  padding: 12px 20px;
  color: #666;
  text-decoration: none;
}

.drawerMenu-list-sub li a:hover {
  text-decoration: underline;
}

.sub-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s ease, opacity 0.7s ease;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.sub-menu.show {
  max-height: 500px;
  opacity: 1;
}

.toggle-btn {
  cursor: pointer;
  position: relative;
}

.toggle-btn::after {
  content: "＋";
  position: absolute;
  right: 20px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.toggle-btn.open::after {
  content: "−";
}

#drawerMenu .sns-wrap {
  color: #4B0408;
  display: flex;
  margin: 30px 20px 0 20px;
}

.sns-img-wrap {
  display: flex;
}

.sns-wrap p {
  margin-right: 30px;
}

#drawerMenu .sns-img-wrap img {
  width: 30px;
  height: auto;
  margin-right: 20px;
}

/* キービジュアルエリア */
#key-visual {
  position: relative;
  color: #fff;
  width: 100%;
  background-color: #4B0408; /* ベースの背景色だけ残す */
  padding: 0;
  overflow: hidden;
  z-index: 0;
  padding: 30px 0 50px 0;
}

#key-visual::before,
#key-visual::after {
  z-index: -1;
}

/* 線1（#510B0F） */
#key-visual::before {
  content: '';
  position: absolute;
  top: 0;
  right: 25%;
  width: 10%;
  height: 0;
  background-color: #510B0F;
  animation: slideDown 1s forwards;
  animation-delay: 0.9s;
}

/* 線2（#430508） */
#key-visual::after {
  content: '';
  position: absolute;
  top: 0;
  right: 15%;
  width: 10%;
  height: 0;
  background-color: #430508;
  animation: slideDown 1s forwards;
  animation-delay: 0.9s;
}

/* アニメーション定義 */
@keyframes slideDown {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}

#key-visual .content {
  display: flex;
}

.key-visual-left,
.key-visual-right {
  width: 100%;
}

.key-visual-left {
  display: none;
}

.key-visual-right {
  padding-left: 0px;
}

.key-visual-left img{
  margin-left: -17%;
  max-width: none;
  width: 117%;
  margin-bottom: 80px;
}

.key-visual-img {
  position: relative;
}

.key-description {
  text-align: center;
}

.caption {
  font-family: 'HonokaShinMincho';
  position: absolute;
  z-index: 100;
  bottom: 7%;
  left: -10%;
  font-size: clamp(14px, 1.5vw, 9999px);
}

.key-title {
  font-size: clamp(36px, 4vw, 9999px);
  font-family: 'HonokaShinMincho';
  margin-bottom: 15%;
  border-right: .5px solid #fff;
  line-height: 70px;
  text-align: center;
}

.key-visual-right {
  margin-top: 8%;
  padding-bottom: 10%;
}


 /* WORKSセクション */
 #works {
  background-color: #CFCFCF;
}

.post-item.custom-insert h2 {
  display: none;
}

.post-list {
  margin-bottom: 0px;
}

.sp-br {
  display: block;
}

.works-sp-title-ja {
  display: block;
}

.works-sp-title-ja .ja-title {
  margin-top: 10px;
}

.works-sp-title {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.works-sp-title h1 {
  margin-bottom: 0px;
}

.works-sp-title h2 {
  margin-bottom: 30px;
}

.works-sp-title .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

#works .content {
  width: 97%;
}

.post-sizer {
  width: calc((100% - 100px) / 2);
}

.post-item {
  width: calc((100% - 15px) / 2);
}

.post-item.custom-insert {
  display: none;
}

#works .more-button {
  margin-top: 20px;
}


/* PROFIE セクション */

#profile h2 {
  background: linear-gradient(to right, #4B0408 0%, #96383D 72%, #4B0408 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

section#profile{
  padding-bottom: 0;
}


.profile-title {
  text-align: center;
  margin-bottom: 30px;
}

#profile .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

#profile h3 {
  margin-bottom: 30px;
}

.profile-flex-wrap {
  display: block;
}

.profile-left {
  width: 100%;
}

.profile-right {
  width: 100%;
  padding-left: 0;
  margin-top: 20px;
}

.profile-btn-wrap {
  display: block;
  gap: 20px;
}

.profile-btn-wrap .more-button {
  flex: 1;
}

.profile-btn-wrap .button-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.profile {
  display: grid;
  grid-template-columns: 20% 1fr;
  row-gap: 10px;
  margin-bottom: 30px;
}

.profile dt {
  margin: 0;
}

.profile dd {
  margin: 0;
}

/* serviceセクション */

#service h2{
  background: linear-gradient(to right, #4B0408 0%, #96383D 72%, #4B0408 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.service-title {
  text-align: center;
  margin-bottom: 30px;
}

#service .ja-title{
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

.service-btn-wrap {
  display: block;
  gap: 20px;
  margin-bottom: 30px;
}

.service-btn-wrap .more-button {
  flex: 1;
}

.service-btn-wrap .button-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.service-text-area {
  line-height: 40px;
  margin-bottom: 30px;
}

/* CONTACTセクション */

#contact::before {
  right: 25%;
  width: 10%;
  background-color: #510B0F;
}

#contact::after {
  right: 15%;
  width: 10%;
  background-color: #430508;
}

#contact.is-visible::before {
  animation: slideDown 3s forwards;
  animation-delay: 0.9s;
}

#contact.is-visible::after {
  animation: slideDown 3s forwards;
  animation-delay: 0.9s;
}

#contact h2{
  color: #fff;
  text-align: center;
  line-height: 0;
  margin-top: 15px;
  margin-bottom: 30px;
}

#contact .ja-title {
  color: #fff;
  margin-bottom: 20px;
  margin-top: 50px;
}

.contact-flex-wrap {
  display: block;
  gap: 40px;
  align-items: flex-start;
}

.cotact-right,
.contact-left {
  width: 100%;
  flex-shrink: 0;
}

.contact-right form {
  width: 100%;
  height: auto;
}

.contact-left img {
  width: 90%;
  height: auto;
  margin-bottom: 50px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.contact-right {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.contact-right .fluentform {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
}


.sns-wrap {
  color: #fff;
  display: flex;
}

#contact .sns-wrap {
  margin-bottom: 30px;
}

.sns-img-wrap {
  display: flex;
}

.sns-wrap p {
  margin-right: 30px;
}

.sns-img-wrap img {
  width: 30px;
  margin-right: 20px;
  margin-bottom: 0;
}

.ff-default .ff-el-input--label label {
  color: #fff;
}

.ff-default .ff-el-form-control {
  border-radius: 0px !important;
  background-color: #D9D9D9;
}

.ff-default .ff_btn_style {
  border-radius: 0px !important;
  border: 1px solid #fff !important;
  padding: 8px 80px 8px 60px !important;
}

form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style) {
  background-color: #4B0408 !important;
}

.fluentform .ff-text-left {
  text-align: center !important;
}

.ff-btn-submit {
  position: relative;
  padding-right: 2em; /* 右側にスペース */
}

.ff-btn-submit::after {
  content: "→";
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 1em;
  color: white; /* 必要に応じて変更 */
}

.ff-btn-submit:hover::after {
  transform: translateY(-50%) translateX(4px);
  transition: transform 0.3s ease;
}

.fluentform .ff-el-group {
  margin-bottom: 30px !important;
}


/* footerエリア */

footer {
  background-color: #CFCFCF;
   padding: 50px 0;
}

.footer-flex-wrap {
  display: block;
  font-size: 12px !important;
}

.footer-left {
  width: 100%;
}

.footer-right {
  width: 100%;
  display: flex;
  margin-top: 40px;
}

.footer-list-left {
  width: 100%;
}

.footer-list-right {
  width: 100%;
}

.footer-logo {
  margin: 0 auto;
  margin-bottom: 30px;
}

footer .sns-wrap {
  color: #4B0408;
  justify-content: center;
}

.footer-list-right li a {
  display: block;
  padding: 12px 20px;
  color: #666;
  text-decoration: none;
}

.footer-list-right li a:hover {
  text-decoration: underline;
}

/* experience section */

#experience h1 {
  margin-bottom: 0px;
}

#experience h2 {
  margin-bottom: 30px;
}

.experience-title {
  text-align: center;
  margin-bottom: 30px;
}

#experience .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

.experience-flex-wrap {
  display: block;
}

.experience-left {
  width: 100%;
}

.experience-right {
  width: 100%;
  padding-left: 0;
  margin-top: 20px;
}

.experience {
  display: grid;
  grid-template-columns: 20% 1fr;
  row-gap: 10px;
  margin-bottom: 50px;
}

.experience dt {
  margin: 0;
}

.experience dd {
  margin: 0;
}

.sp-experience-btn-wrap {
  display: block;
}

.experience-btn-wrap {
  display: none;
}

.sp-experience-btn-wrap {
  display: block;
  gap: 20px;
}

.sp-experience-btn-wrap .more-button {
  flex: 1;
}

.sp-experience-btn-wrap .button-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* skill set section */
#skill-set h1 {
  margin-bottom: 0px;
}

#skill-set h2 {
  margin-bottom: 30px;
}

.skill-set-title {
  text-align: center;
  margin-bottom: 30px;
}

#skill-set .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

.skill-set-flex-wrap {
  display: block;
}

.skill-set-left {
  width: 100%;
}

.skill-set-right {
  width: 100%;
  padding-left: 0;
  margin-top: 20px;
}

.skill-set-btn-wrap {
  display: none;
}

.sp-skill-btn-wrap {
  display: block;
  gap: 20px;
}

.sp-skill-btn-wrap .more-button {
  flex: 1;
}

.sp-skill-btn-wrap .button-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.skill-set {
  margin-bottom: 50px;
}


/* flow section */

#flow h1 {
  margin-bottom: 0px;
}

#flow h2 {
  margin-bottom: 30px;
}

#flow .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

.flow-item {
  display: block;
  margin-bottom: 40px;
}

.flow-image {
  width: 25%;
  margin: 0 auto;
}

.flow-description {
  margin-bottom: 30px;
}

/* price section */
#price h1 {
  margin-bottom: 0px;
}

#price h2 {
  margin-bottom: 30px;
}

#price .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

/* faq section */
#faq h1 {
  margin-bottom: 0px;
}

#faq h2 {
  margin-bottom: 30px;
}

#faq .ja-title {
  margin-left: 0;
  bottom: 7px;
  margin-top: 20px;
}

/* privacy-policy section */
#privacy-policy {
  padding: 60px 15px;
}

#privacy-policy .policy-title {
  font-size: 1.5rem;
}

#privacy-policy .policy-section h3 {
  font-size: 1rem;
}

.button-content {
  padding: 10px 20px;
  font-size: 0.9rem;
}


}
