/*
 Theme Name:   2025_Child
 Template:     twentytwentyfive
 Version:      1.0.0
*/

html { 
  scroll-padding-top: 50px;
}

a:focus,button {
  outline: none;
}

a:focus-visible,button:focus-visible {
  outline: 2px solid #9B826E;
  outline-offset: 4px;
}

.wrapper_header {
  max-width: 1340px;
  height: 68px;
  padding-right: clamp(30px, 5vw, 50px);
  padding-left: clamp(30px, 5vw, 50px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-header {
  position: relative;
  height: 68px;
  z-index: 10000;
}

.logo {
  font-weight: 700;
  font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.196), 1.125rem);
  font-weight: 600;
}

.nav-links a:hover {
  color: white;
}

.hamburger {
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 10000;
}

.hamburger::before,.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
  top: 6px;
}

.hamburger::after {
  top: 15px;
}

.hamburger.active::before {
  transform: rotate(45deg);
  top: 10.5px;
}

.hamburger.active::after {
  transform: rotate(-45deg);
  top: 10.5px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #A99D80;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 9999; 
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu a {
  text-decoration: none;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.left, .right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease-out;
}

.left.show {
  opacity: 1;
  transform: translateX(0);
}

.right {
  transform: translateX(-50px);
}

.right.show {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInMove {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.wrapper {
max-width: 1592px;
margin-right: auto; 
margin-left:  auto;
--wp--style--global--content-size: none;
}

.center { 
display: flex;
justify-content: center;
align-items: center;}

.about {
width: 100%;
position: relative;
margin: 0 auto;
padding: 1.25em 2.375em 2.5em 2.375em;
}

.about::before {
content: "";
background-color: #A99D80;
position: absolute;
width: 100%;
height: 100%;
top: -20px;
left: -20px;
z-index: -1;
}

.topic {
  position: relative;
  transform: translateY(30px);
  opacity: 0;
}

.topic::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7%;
  height: 3px;
  width: 0%;
  background-color: #9B826E;
  transition: width 2s ease 0.5s;
}

.topic.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.topic.animate::after {
  width: 100%;
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.fadein.animate {
  opacity: 1;
  transform: translateY(0px);
}

.fadein_2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.fadein_2.animate {
  opacity: 1;
  transform: translateY(0px);
}

.fadein_3 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.fadein_3.animate {
  opacity: 1;
  transform: translateY(0px);
}

.fadein_4 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.fadein_4.animate {
  opacity: 1;
  transform: translateY(0px);
}

.contact {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.contact.animate {
  opacity: 1;
  transform: translateY(0px);
}

.cat {
position: relative;
display: block;
margin-top: 0 !important;

transform: scale(0.7);
opacity: 0;
transition: transform 1s ease, opacity 1s ease;

}

.cat.animate {
  transform: scale(1);
  opacity: 1;
}

.cat::before {
content: "";
display: block;
position: absolute;
height: 80%;
aspect-ratio: 1/1;
background-color: #706C64;
border-radius: 50%;
top: 50%;
left: 52%;
transform: translateX(-50%) translateY(-50%);
z-index: 0 !important;
}

.cat img {
position: relative;
z-index: 1;
width: 800px !important;
}

.header {
height: 68px;
}

.header a {
text-decoration: none;
}

.titlescreen {
height: calc(100vh - 68px - 1.2rem);
}

.flexgroup_title{
display: flex;
justify-content: center !important;
flex: 1;
}

.gapfortitle {
/*gap: 32px clamp(0px, 26vw, 400px) !important;*/
flex: 1;}

.nowrap {
min-width: unset !important;
white-space: nowrap
!important;
width: fit-content;}

.paddingfortitle {
/*padding-left: clamp(0px, 13vw, 200px) !important;*/
max-width: none !important;
width: content-fit !important}

.widthfortitleimg {
width: clamp(200px, 18.6vw, 572px) !important;}

.fontsizefortitle {
font-size: clamp(0px, 3.125vw, 48px);}

.moveupfortitle {
transform: translateY(calc(-1 * ((1.2rem + 68px) / 2))) !important;
}

.widthforaboutsentence {
width: 80%;}

.positionforaboutsentence {
margin: 15px auto 0 auto !important;}

.widthforskills {
width: 90%;
}

.widthforskillstitle {
max-width: none !important;
margin-bottom: 100px !important;
}

.positionforskills {
margin: 0 auto;
}

.widthforskillsicons {
max-width: none !important;
}

.positionforskillsicons {
margin: 0 auto !important;
gap: 80px clamp(30px, 5vw, 50px) !important;
}

.paddingforskillstexts {
  padding-right: 10px;
  padding-left: 10px;
  position: relative;
}

.paddingforskillstexts::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #8a8278;
}

.item_skills {
   transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
   transition: all 0.3s ease;
   filter: grayscale(100%) brightness(0.7);
   transform: translateY(60px);
   opacity: 0;
}

.item_skills.active {
    transform: scale(1.1) translateY(60px);
    filter: none;
}

.item_skills.animate {
  opacity: 1;
  transform: translateY(0px);
}

.item_skills.animate.active {
    transform: scale(1.1) translateY(0px);
    filter: none;
}

.widthforworks {
width: 90%;
}

.widthforworkstitle {
max-width: none !important
}

.positionforworks {
margin: 0 auto;
}

.widthforworksicons {
max-width: none !important;
}

.positionforworksicons {
margin-block-start: clamp(30px, 5vw, 50px);
}

.widthforworkscolumn {
width: 80%;
}

.positionforworkscolumn {
display: flex;
flex-direction: column;
align-items: center;
}

.link_works {
text-decoration: none;
}

.groupforlink {
position: relative;
overflow: hidden;
}

.mask {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: -100%;
background: rgb(200 158 73);;
color: #ece5e5;
margin-top: 0 !important;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 18px;
}

.link_works:hover .mask {
left: 0;
}

.works_description {
  padding-right: 1em;
  padding-left: 1em;
  position: relative;
}

.works_description::before {
  content: "";
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #8a8278;
}

.groupforcoming {
justify-content: center;
}

.coming-soon {
width: 70%;
aspect-ratio: 10/7;
background-color: #D4D5CA;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.coming-soon p {
font-size: clamp(0px, 1.43vw, 22px);
color: #4b4646;
font-weight: bold;
}

.coming-soon::before {
content: "";
width: 100%;
height: 100%;
position: absolute;
top: -20px;
right: -20px;
background-color: #8D8E7E;
z-index: -1;
}


.spacerforcontact {
  height: clamp(40px, 5.2vw, 80px);
}

.widthforcontact {
width: 50%;
}

.positionforcontact {
margin: 0 auto;
}

.contactform {
color: white;
font-weight: bold;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #A88D76;
}

.contactform p {
width: fit-content;
}

.contactform input {
background: transparent;
border: none;
border-bottom: 2px solid #4B4646;
outline: none;
padding: 6px;
width: 300px !important;
box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
width: auto !important;
border: none !important;
border-radius: 5px;
background-color: #e0e0e0;
color: #4B4646
}

.contactform input::placeholder {
color: #4B4646;
}

.contactform textarea {
background: transparent;
border: none;
border-bottom: 2px solid #4B4646;
outline: none;
padding: 6px;
width: 300px !important;
box-sizing: border-box;
}

.contactform textarea::placeholder {
color: #4B4646;
}

.contactform > p > label > br {
display: none;
}

.wpcf7-spinner {
display: none !important;
}

.wpcf7-not-valid-tip {
color: white !important;
font-size: 14px !important;
}

.wpcf7-response-output {
color: white !important;
font-size: 14px !important;
border: none !important;
}

.back-to-top {
  position: fixed;
  bottom: 0px;
  right: 0px;
  width: 64px;
  height: 64px;
  background-color: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: #555;
}

@media (max-width: 1024px) and (min-width: 600px) {

.nav-links {
  display: none;
}

.hamburger {
  display: block;
}

.flexdirectionfortitle {
flex-direction: column;}

.positionforworksicons {
/*flex-direction: column;*/
gap: 80px 0px !important;
}

.paddingfortitle {
padding-left: 0 !important;
margin-right: 0 !important;
}

.fontsizefortitle {
font-size: 36px;
}

.sentence_title {
margin-top: 20px !important;
}

.about {
flex-direction: column;
}

.cat.animate {
transform: translateX(-3%);
}

.item_skills {
display: flex;
flex-direction: column;
align-items: center;
transition: none;
filter: none;
}

.item_skills.active {
  transform: none;
  filter: none;
}

.paddingforskillstexts {
width: 70%;
}

.title_works {
font-size: 18px !important;
}

.coming-soon p {
font-size: clamp(0px, 2.14vw, 22px);
}


/*
.positionforskillsicons {
flex-direction: column;
}
*/

/*
.paddingforskillstexts {
padding-right: 60px !important;
padding-left: 60px !important;
}
*/

.widthforcontact {
width: 75%;
}

}

@media (max-width: 599px) {

.nav-links {
  display: none;
}

.hamburger {
  display: block;
}

.flexdirectionfortitle  {
flex-direction: column;}

.positionforworksicons {
/*flex-direction: column;*/
gap: 50px 0px !important;
}

.marginbetweencolumns {
margin-top: 50px;
}

.paddingfortitle  {
padding-left: 0 !important;
margin-right: 0 !important;
}

.fontsizefortitle {
font-size: 30px;
}

.sentence_title {
margin-top: 20px !important;
}

.about {
padding-bottom: 50px;
padding-top: 20px;
padding-right: 20px;
padding-left: 20px;
overflow: hidden;
width: 100%;
gap: 60px !important;
}

.about::before {
display: none;}

.cat.animate {
transform: translateX(-3%);
}

.cat img {
transform: scale(1.4);
}

.cat::before {
height: 110%;
left: 53%;
}

.widthforskillsicons img {
transform: scale(0.9);
}

.item_skills {
display: flex;
flex-direction: column;
align-items: center;
transition: none;
filter: none;
}

.item_skills.active {
  transform: none;
  filter: none;
}

.widthforworkscolumn {
width: 100%;
}

.coming-soon {
width: 95%;
}

.coming-soon p {
font-size: 16px;
}

.groupforcoming {
margin-top: 40px !important;
}

.contactform p {
width: 80%;
}

.contactform p:nth-of-type(5) {
width: fit-content;
}

.contactform input {
width: 100% !important;
}

.contactform textarea {
width: 100% !important;
}

.widthforcontact {
width: 90%;
}

}


/* カラムブロックのブレイクポイントを1024pxに設定 */
@media (max-width: 1024px) {
    /* 1024px以下でカラムが縦に積み重なるように設定 */
    .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
}

@media (min-width: 1025px) {
    /* 1025px以上でカラムが横並びになるように設定 */
    .wp-block-columns {
        flex-wrap: nowrap !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 0 !important;
        flex-grow: 1 !important;
    }
}