/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

#footer-poweredby {
  display: none;
} 

/* フェード */
.anim-chara.fadein.is-animated {
  animation: fadeInUp 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
 
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スライド */
.anim-chara.slidein.is-animated {
  animation: slideIn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
/* ズーム */
.anim-chara.zoomin.is-animated {
  animation: zoomIn 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* ボタン */
.my-hover-btn {
  background: transparent;
  border: 2px solid #333;
  color: #333;
  display: block;
  font-weight: bold;
  max-width: 300px;
  padding: 15px 40px;
  text-align: center;
  transition: all 0.3s ease;
  margin: 0 auto;
}
/* ホバー */
.my-hover-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.my-hover-btn-l {
  background: #ff701e;
  border: 2px solid #ff701e;
  border-radius: 30px;
  color: #fff;
  display: block;
  font-weight: bold;
  width: 300px;
  padding: 15px 40px;
  text-align: center;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.my-hover-btn-l:hover {
  background: #fff;
  color: #ff701e;
  border-color: #ff701e;
}

/* nvmenu */
 .global-nav a {
  color: #000; 
  text-decoration: none;
  transition: all 0.3s ease;
}

.global-nav a:hover {
  color: #ff701e;  
} 

/* 説明menu */
.global-nav li:hover a {
  color: #ff701e;
}

.global-nav li:hover small.global-nav__dscr {
  color: #ff701e;
}

/* 線menu */
.global-nav li a {
position: relative;
color: #000;
text-decoration: none;
}

.global-nav li a::after {
content: "";
position: absolute;
left: 0;
bottom: -4px;
width: 0;
height: 2px;
background: #000;
transition: width 0.3s, background 0.3s;
}

.global-nav li:hover a {
color: #ff701e;
}

.global-nav li:hover a::after {
width: 0; 
background: #ff701e;
}

.global-nav .current-menu-item a::after,
.global-nav .current-page_item a::after {
display: block;
width: 0;
background: transparent;
}

#global-nav__menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#global-nav__menu .menu-item {
  position: relative; 
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

/* 線入れる */
#global-nav__menu .menu-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #656565;
}

#global-nav__menu .menu-item:first-child::before {
	display: none;
}

.global-nav__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.global-nav__link .menu-icon {
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
}

.global-nav__link .ys-icon {
  font-size: 18px;
  line-height: 1;
} 

.black-bt {
  background: #000;
  border: 2px solid #000;
  border-radius: 0;
  color: #fff;
  display: flex;
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  font-weight: bold;
  width: 250px;
  padding: 15px 40px;
  text-align: center;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.black-bt:hover {
  background: #fff;
  color: #000;
  border-color: #000;
}


.plus-m {
  padding-bottom: .9em; 
  border-bottom: solid 3px #f5a500; 
}
.plus-o{
  padding-bottom: .5em; 
  border-bottom: solid 3px #ff701e;
}



/* ■ */
.custom-list {
  list-style-type: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 1.5em;
}

.custom-list li::before {
  content: "■";
  color: #ff701e;
  font-size: 1em;
  position: absolute;
  left: 0;
  top: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}
h1, h2 {
  font-family: 'M PLUS 1p', sans-serif;
}
.english-heading {
  font-family: 'Orbitron', sans-serif;
}

/* .contact-section.white-text {
  background-image: url('https://sumsup-plus.com/wp-content/uploads/2025/05/Image3-e1747123069707.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.contact-section h2 {
  font-size: 100px;
  margin-bottom: 50px;
}

.contact-section p {
  font-size: 24px;
}
.contact-section {
  background-position: center 30%;
}

@media screen and (max-width: 768px) {
  .contact-section.white-text {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }

  .contact-section h2 {
    font-size: 48px;
  }

  .contact-section p {
    font-size: 18px;
  }
} */

body {
  margin: 0;
  padding: 0;
}


/* 会社概要 */
.page-header {
  text-align: center;
  margin: 80px 0 60px;
}

.page-header h1 {
  font-size: 80px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.page-header .page-subtitle {
  font-size: 16px;
  color: #FF8000;
  letter-spacing: 2px;
  font-weight: bold;
}

.content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-heading {
  font-size: 24px;
  font-weight: bold;
  border-left: 6px solid #FF8000;
  padding-left: 16px;
  margin: 60px 0 20px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.company-table th,
.company-table td {
  border: 1px solid #ddd;
  padding: 12px;
}

.company-table th {
  background: #f5f5f5;
  text-align: center;
  font-weight: bold;
}

.company-table td {
  text-align: left;
  line-height: 1.8;
}

.first-time-section {
  position: relative; 
  z-index: 1;
  background: url(https://sumsup-plus.com/wp-content/uploads/2025/05/vZJdYl5JVXY.png) no-repeat center center/cover;
  padding: 60px 30px;
  position: relative;
  color: #fff;
  text-align: center;
}

.first-time-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(255,255,255,0.4);
  z-index: 0;
}

.first-time-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; 
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #555 100%);
  z-index: -1;
}

.first-time-content {
  position: relative;
  z-index: 1;
}

.first-time-content h2 {
  font-size: 84px;
	margin-top: 30px;
  margin-bottom: 20px;
}

.more-button { 
  border: 1px solid #999;
  color: #333;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 200px;
  text-decoration: none;
  text-align: center;
  padding: 10px 25px;
  color: #333;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.more-button:before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: -2em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}
.more-button:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2em;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}
.more-button:hover:before,.more-button:hover:after {
  right: -2.5em;
}
.more-button:hover {
  background: #333;
  color: #fff;
}

.main-visual {
  background: url() no-repeat center center/cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.catch-copy h1 {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  margin: 0;
}
.catch-copy h1.catch-sp {
	display: none;
}

.button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  text-align: center;
}


.service-section {
  position: relative;
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

/* BG */
.service-title {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  z-index: 1;
}

.service-title::before {
  content: "Service";
  position: absolute;
  top: 0px;
  left: -20px;
  font-size: 160px; 
  color: #aaa;
  opacity: 0.15;
  writing-mode: vertical-rl;
  text-decoration: upright;
  letter-spacing: 10px;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}
/* ←BG */

.service-title h2 {
font-size: 64px;
display: inline-block;
margin-bottom: 100px;
}

.service-title h2 span{
font-size: 24px;
margin-left: 20px;
}

.service-title h2 span::before {
content: "/";
color: #333;
font-size: 16px;
margin: 0 10px;
}

.service-cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
max-width: 1000px;
margin: 0 auto;
}

.service-card {
background: #fff;
border-radius: 8px;
padding: 30px 20px;
width: 300px;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: 0.3s;
}

.service-card:hover {
transform: translateY(-5px);
}

.service-card img {
width: 260px;
height: 200px;
}

.service-card h3 {
font-size: 24px;
margin: 10px 0 20px;
}

.service-card p {
font-size: 14px;
color: #555;
}

/* アバウト */
.about-catch-section {
text-align: center;
padding: 60px 20px;
}

.about-title h2 {
font-size: 64px;
display: inline-block;
margin-bottom: 80px;
}

.about-title h2 span{
font-size: 24px;
margin-left: 20px;
}

.about-title h2 span::before {
content: "/";
color: #333;
margin: 0 10px;
}

/* アバウト 本文*/
.about-section {
position: relative;
width: 100%;
}

.about-block {
position: relative;
width: 100%;
height: 500px;
margin-bottom: 60px;
}

.about-img {
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
overflow: hidden;
}

.about-img img {
width: 100%;
height: 100%;
object-fit: cover;
}

.about-text {
position: absolute;
top: 50%;
left: 55%;
transform: translateY(-50%);
width: 40%;
color: #333;
}

.about-text h2 {
color: #00aaff;
font-size: 32px;
margin-bottom: 20px;
}

.about-text h2 span{
color: #333;
font-size: 18px;
margin-left: 20px;
}

.about-text h2 span::before {
content: "/ ";
color: #333;
margin-right: 8px;
}

.about-text p {
font-size: 16px;
line-height: 1.8;
}

.about-block.reverse .about-img {
left: 50%;
}

.about-block.reverse .about-text {
left: 5%;
}

.about-text .more-button {
display: inline-block;
margin-top: 20px;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
.scroll_down {
position: absolute;
top: 50%;
left: 20px;
transform: translateY(-50%);
z-index: 10;
}

.scroll_down a {
display: inline-block;
position: relative;
padding: 10px 10px 110px;
color: #000;
font-size: 12px;
letter-spacing: .2em;
text-transform: uppercase;
text-decoration: none;
writing-mode: vertical-lr;
transition: .2s;
overflow: hidden;
margin: auto;
}

.scroll_down a:before,
.scroll_down a:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 2px;
height: 100px;
}

.scroll_down a:before {
background: #ddd;
}

.scroll_down a:after {
background: #000;
}

.scroll_down a:hover {
opacity: .5;
}

#type01 a:after {
animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
0% {
transform: scale(1, 0);
transform-origin: 0 0;
}
50% {
transform: scale(1, 1);
transform-origin: 0 0;
}
50.1% {
transform: scale(1, 1);
transform-origin: 0 100%;
}
100% {
transform: scale(1, 0);
transform-origin: 0 100%;
}
}

.home .container {
  max-width: 100%;
  padding: 0;
}

.works-section {
  position: relative;
  background-color: #fff; 
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.works-section .workssection-title {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  z-index: 1;
}

.works-section .workssection-title::before {
  content: "Works";
  position: absolute;
  top: -50px;  
  left: 0;
  font-size: 160px;
  color: #aaa;
  opacity: 0.15; 
  z-index: 0;
  pointer-events: none;
}

.workssection-title h2 {
  font-size: 36px;
  display: inline-block;
  margin-bottom: 10px;
}

.workssection-title h2 span {
  font-size: 16px;
  color:#333;
  margin-left: 20px;
}

.page-title-2 {
  position: relative;
  text-align: center;
  padding: 120px 20px 60px;
  background-image: url(''); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-title-2::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
/*   background: rgba(255, 242, 230, 0.6);  */
  z-index: 0;
}

/* 背景文字 */
.page-title-2 .bg-text {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  color: #ffe6cc;
  z-index: 1; 
  pointer-events: none;
  font-weight: 700;
  white-space: nowrap;
}

/* タイトル */
.page-title-2 h1 {
  position: relative;
  z-index: 2;
  font-size: 50px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* サブタイトル */
.page-title-2 p.subtitle {
  position: relative;
  z-index: 2;
  font-size: 16px;
  color: #ff8000;
  font-weight: bold;
  margin-top: 20px;
}

/* front P */
.ab-section {
padding: 80px;
}

.ab-cards {
display: flex;
gap: 30px;
justify-content: center;
flex-wrap: wrap;
}

.ab-card {
position: relative;
width: 350px;
height: 220px;
background: #000;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.4s ease, box-shadow 0.4s ease;
display: flex;
align-items: center;
padding: 20px;
}

.ab-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.ab-text {
z-index: 2;
flex: 1;
text-decoration: none;
}

.ab-text h3 {
color: #fff;
font-size: 22px;
font-weight: 700;
margin-top: 5px;
}

.ab-text p {
color: #fff;
font-size: 14px;
font-weight: 600;
}

.ab-text .arrow {
display: inline-block;
margin-top: 20px;
color: #fff;
font-size: 18px;
transition: transform 0.3s ease;
}

.ab-card:hover .arrow {
transform: translateX(5px);
}

.ab-image {
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 100%;
background-size: cover;
background-position: center;
clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
z-index: 1;
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s ease, transform 0.8s ease;
}

.ab-image.visible {
opacity: 1;
transform: translateY(0);
}

.slide-right {
transform: translateX(50px);
}
.slide-right.visible {
opacity: 1;
transform: translateX(0);
}

.slide-left {
transform: translateX(-50px);
}
.slide-left.visible {
opacity: 1;
transform: translateX(0);
}

.dw-section {
position: relative;
padding: 100px 20px;
display: grid;
width: 100%;
background: url('https://sumsup-plus.com/wp-content/uploads/2025/10/camera2-scaled.jpg') center/cover no-repeat;
}

.dw-section::before {
content: "";
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
z-index: 0;
}

.dw-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}

.dw-card {
position: relative;
background: #fff;
padding: 40px;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
width: 100%;
min-height: 300px;
z-index: 1;
text-decoration: none;
}

.dw-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.dw-card h3 {
font-size: 1.8rem;
font-weight: 700;
margin: 10px 0;
}

.dw-card p {
margin-bottom: 15px;
color: #333;
}

/* .dw-card .arrow {
position: absolute;
right: 20px;
bottom: 20px;
font-size: 1.2rem;
transition: transform 0.3s ease;
}

.dw-card:hover .arrow {
transform: translateX(5px);
}  */

.circle-arrow {
	width: 40px;
	height: 40px;
	background: #fff;
	color: #333;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	text-decoration: none;
	position: absolute;
	bottom: 20px;
	right: 20px;
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	font-size: 1.2rem;
	font-weight: bold;
	cursor: pointer;
}

.dw-card:hover  circle-arrow,
.circle-arrow:hover {
	transform: scale(1.1) translateX(5px);
	background: #333;
	color: #fff;
}

.s-section {
  position: relative;
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.s-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.s-title {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  z-index: 1;
}

.s-title::before {
  content: "Service";
  position: absolute;
  top: -50px;
  left: 0;
  font-size: 160px; 
  color: #aaa;
  opacity: 0.15; 
  z-index: 0;
  pointer-events: none;
}

.s-cards {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.s-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.s-card:hover {
transform: scale(1.1);
box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.s-card-image {
position: relative;
overflow: hidden;
clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.s-card-image img {
width: 100%;
display: block;
transition: transform 0.4s ease;
}

.s-card:hover .s-card-image img {
transform: scale(1.05);
}

.s-card-title {
font-size: 20px;
font-weight: 600;
text-align: center;
padding: 20px;
}

.ds-section {
  background: url('https://sumsup-plus.com/wp-content/uploads/2025/12/camera4-scaled.jpg') no-repeat center center/cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.ds-title h1 {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  margin: 0;
}

/* works sec */
/* 全体 */
.works {
  position: relative;
  padding: 140px 0;
  background: #fff;
  overflow: hidden;
}
.works-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 背景テキスト */
.works-text {
  position: absolute;
  top: 10%;
  left: 50%;
　transform: translateX(-50%);
  font-size: 120px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: 0.1em;
  z-index: 0;
  pointer-events: none;
}

/* セクションヘッダー */
.workssec-header {
  text-align: center;
  margin-bottom: 100px;
}
.workssec-title-en {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.workssec-title-jp {
  font-size: 16px;
  color: #888;
  margin-top: 8px;
}
.workssec-desc {
  margin-top: 24px;
  color: #666;
  font-size: 15px;
}

/* カテゴリ */
.works-category {
  margin-bottom: 100px;
}
.works-category-title {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 40px;
  padding-bottom: 10px;
  letter-spacing: 0.05em;
}
.works-category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #000, transparent);
}

/* カード一覧 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  width: 90%;
  margin: 0 auto;
}
.work-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.work-item:hover {
  transform: translateY(-6px);
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}
.work-item:hover img {
  transform: scale(1.05);
}


.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.work-item:hover .overlay {
  opacity: 1;
}
.work-title {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.work-item:hover .work-title {
	opacity: 1;
	transform: translateY(0);
}


.work-info {
  background: #fff;
  padding: 12px 16px;
  text-align: left;
}

.work-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.work-desc {
  font-size: 0.9rem;
  color: #555;
}

/* モーダル */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  animation: fadeIn 0.4s ease;
}

.video-container video {
  width: 100%;
  border-radius: 12px;
  outline: none;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* CTA */
.works-cta {
    text-align: center;
    margin-top: 120px;
}
.works-cta p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
.btn {
    display: inline-block;
    padding: 14px 40px;
    background: #000;
    color: #fff;
	border: 2px solid #000;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn:hover {
      background: #fff;
      color: #000;
	  border-color: #000;
}

/* SERVICE */
.details-section {
position: relative;
overflow: hidden;
padding: 100px 0;
}

.details-block {
position: relative;
text-align: center;
margin-bottom: 250px;
}

.bg-service-text {
position: absolute;
top: -50px;
left: 50%;
transform: translateX(-50%);
font-size: 200px;
font-weight: 800;
color: rgba(0, 0, 0, 0.03);
pointer-events: none;
user-select: none;
letter-spacing: 0.1em;
z-index: 0;
}

.details-header {
margin-bottom: 60px;
position: relative;
z-index: 2;
}

.details-title {
font-size: 56px;
font-weight: 700;
letter-spacing: 0.08em;
margin-bottom: 20px;
position: relative;
}

.details-title::after {
content: "";
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 2px;
background: #000;
}

.details-subtitle-en {
font-size: 18px;
color: #666;
margin-top: 20px;
}

.details-subtitle-jp {
font-size: 16px;
margin-top: 6px;
color: #888;
}

.details-image {
position: relative;
width: 100%;
height: 60vh;
background-size: cover;
background-position: center center ;
border-radius: 12px;
background-attachment: fixed;
}

.details-text {
max-width: 700px;
margin: 0 auto;
font-size: 18px;
line-height: 1.8;
color: #444;
position: relative;
z-index: 2;
}

.details-block:nth-child(odd) .details-text {
margin-top: 50px;
margin-left: auto;
margin-right: 0;
text-align: left;
}

.details-block:nth-child(even) .details-text {
margin-top: 50px;
margin-left: 0;
margin-right: auto;
text-align: left;
}

.section-header {
	text-align: center;
	margin-bottom: 100px;
	position: relative;
	z-index: 2;
}

.section-title {
	font-size: 56px;
	font-weight: 700;
	letter-spacing: 0.08em;
	position: relative;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background: #000;
}

.section-subtitle-en {
	font-size: 18px;
	color: #666;
	margin-top: 20px;
}

.section-subtitle-jp {
	font-size: 16px;
	margin-top: 6px;
	color: #888;
}

@media (max-width: 768px) {
#global-nav__menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }
#global-nav__menu .menu-item {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #eee;
}

#global-nav__menu .menu-item a {
    display: block;
    width: 100%;
    padding: 16px 20px;
    text-align: left; 
}

#global-nav__menu .menu-item::before {
    display: none;
}

#global-nav__menu .menu-item a::after {
    bottom: 8px;
}
#global-nav__menu .current-menu-item a::after,
#global-nav__menu .current_page_item a::after {
    content: "" ;
    background: transparent ;
}
  .catch-copy h1 {
    font-size: 36px;
  }

  .service-cards {
    flex-direction: column;
	justify-content: center;
	padding: 0 15px;
    gap: 30px;
  }

  .service-card {
    width: 100%;
	max-width 300px;
  }

  .service-title h2 {
    font-size: 28px;
    text-align: center;
  }

  .service-title h2 span {
    display: block;
	font-size: 16px;
    margin-left: 0;
    margin-top: 5px;
  }

 .about-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-bottom: 40px;
    position: relative;
  }

  .about-img, .about-block.reverse .about-img {
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }

  .about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .about-text, .about-block.reverse .about-text {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .about-title h2 {
    font-size: 28px;
    text-align: center;
  }

  .about-title h2 span {
    display: inline-block;
	font-size: 16px;
    margin-left: 0;
	margin-top: 5px;
  }

  .more-button {
    display: inline-flex;
    margin: 20px auto 0;
    width: 80%;
    max-width: 300px;
    justify-content: center;
  }

  .about-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .about-text h2 span {
    font-size: 14px;
    margin-left: 8px;
  }
	
  .page-header h1 {
    font-size: 40px;
    margin-bottom: 8px;
  }

  .first-time-content h2 {
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
	 .scroll_down {
    position: absolute;
    top: 0px;
    left: 10%;
    transform: translateX(-50%);
  }
	.service-title::before {
    font-size: 64px;
    top: -30px;
    left: 10px;
  }
.ab-text {
    text-decoration: none;
}
.dw-card {
    text-decoration: none;
}
.dw-cards {
    grid-template-columns: 1fr;
}
.s-cards{
   flex-direction: column;
   justify-content: center;
   padding: 0 15px;
   gap: 30px;
}
.n2-style-20e4fddcb71cde82b7a8963e509e7501-heading {
	display: none !important;
	}
.bg-service-text {
	display: none;
	}
.ds-title h1 {
	font-size: 48px;
	}
.scroll_down {
	display: none;
	}
.details-image {
    background-attachment: scroll;
	height: 40vh;
	}
.catch-copy h1.catch-pc {
	display: none;
	}
.catch-copy h1.catch-sp {
	display: inline;
	}
}