@charset "utf-8";


html {
    scroll-behavior: smooth;
}

body {
    background-color: #ece9df;
    color: #727272;
    margin: 0;
    padding: 0;
}

a {
    color: #727272;
   }

.wrapper {
    max-width: 100%;
    padding: 0 30 0 0px;
    margin: 0 auto;
}

#header {
    background-color: #ece9dfb7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-right: 60px;
    padding-bottom: 28px;
    position: fixed;
    top: 0;          /* 画面の上端に配置 */
    width: 100%;     
    z-index: 1000;
}

#header .logo a {
    display: block;
    padding-left: 48px;
}

#header .navi {
    display: flex;
    align-items: center;
}

#header .navi li {
    font-family: futura-pt, sans-serif;
    font-size: 28px;
    margin-left: 43px;
}

#header .navi li:nth-child(3) {
    margin-left: 72px;
}

#header .navi li:nth-child(3) a {
    width: 168px;
    height: 49px;
    border: 1px solid #727272;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hamburger,
.navi-sp {
    display: none;
}

/* 初期状態（アニメーション前） */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1),
              transform 1s cubic-bezier(0.33, 1, 0.68, 1);
}

/* アニメーション後（表示された状態） */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-text {
    color: #727272;
}

.hero-text .title {
    font-family: futura-pt, sans-serif;
    font-size: 52px;
    line-height: 1.3em;
    margin-bottom: 40px;
    color: #727272;
    white-space: nowrap;
}

.hero-text .title .portfolio {
    letter-spacing: 0.05em;
}

.hero-text .description {
    font-family: "fot-cezanne-pron", serif;
    font-size: 20px;
    line-height: 2.1em;
    color: #727272;
    white-space: nowrap;
}

.br-desktop {
    display: inline;
}

/* モバイル用の改行（初期状態では非表示） */
.br-mobile {
    display: none;
}

/* アニメーション */
@keyframes fallAndRotate {
  0% {
    top: -100px;
    left: var(--start-left);
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    opacity: 0;
  }
  100% {
    top: var(--end-top);
    left: var(--end-left);
    transform: rotateX(720deg) rotateY(360deg) rotateZ(0deg);
    opacity: 1;
  }
}

.main-visual {
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 30px;
    overflow-x: hidden;
}

.falling-item {
  position: absolute;
  animation: fallAndRotate 2s ease-out forwards;
  transform-style: preserve-3d;
  top: -200px;
  left: var(--start-left); /* これも追加 */
}

.orange1 {
  --start-left: 71.9%;
  --end-top: -5px;
  --end-left: 71.9%;
  animation-delay: 1.2s;  
  width: 50px;
  height: 50px; 
}

.yellow1 {
  --start-left: 80%;
  --end-top: 60px;
  --end-left: 80%;
  animation-delay: 1.1s;  
  width: 40px;
  height: 40px;
}

.blue1 {
  --start-left: 66.6%;
  --end-top: 110px;
  --end-left: 66.6%;
  animation-delay: 1.0s;  
  width: 40px;
  height: 40px;
}

.orange2 {
  --start-left: 85%;
  --end-top: 160px;
  --end-left: 85%;
  animation-delay: 0.9s;  
  width: 75px;
  height: 75px;
}

.yellow2 {
  --start-left: 72%;
  --end-top: 200px;
  --end-left: 72%;
  animation-delay: 0.8s;  
  width: 70px;
  height: 70px;
}

.orange3 {
  --start-left: 55%;
  --end-top: 250px;
  --end-left: 55%;
  animation-delay: 0.8s;  
  width: 125px;
  height: 125px;
}

.kana-su {
 --start-left: 88%;
  --end-top: 290px;
  --end-left: 88%;
  animation-delay: 0.7s;
  width: 50px;
  height: 50px;   
}

.moji-p {
  --start-left: 72%;
  --end-top: 350px;
  --end-left: 72%;
  animation-delay: 0.7s;
  width: 50px;
  height: 50px;
}

.blue2 {
  --start-left: 95%;
  --end-top: 400px;
  --end-left: 95%;
  animation-delay: 0.7s;
  width: 50px;
  height: 50px;
}

.orange4 {
  --start-left: 80%;
  --end-top: 400px;
  --end-left: 80%;
  animation-delay: 0.6s;
  width: 65px;
  height: 65px;
}

.blue3 {
  --start-left: 62%;
  --end-top: 420px;
  --end-left: 62%;
  animation-delay: 0.6s;
  width: 90px;
  height: 90px;
}

.yellow3 {
  --start-left: 50%;
  --end-top: 480px;
  --end-left: 50%;
  animation-delay: 0.5s;  
  width: 60px;
  height: 60px;
}

.moji-i {
  --start-left: 96%;
  --end-top: 480px;
  --end-left: 96%;
  animation-delay: 0.5s;
  width: 40px;
  height: 40px;
}

.yellow4 {
  --start-left: 88%;
  --end-top: 540px;
  --end-left: 88%;
  animation-delay: 0.5s;
  width: 80px;
  height: 80px; 
}

.kana-pa {
  --start-left: 78%;
  --end-top: 520px;
  --end-left: 78%;
  animation-delay: 0.5s;
  width: 50px;
  height: 50px;  
}

.orange5 {
  --start-left: 65%;
  --end-top: 590px;
  --end-left: 65%;
  animation-delay: 0.4s;
  width: 95px;
  height: 95px;  
}

.blue4 {
  --start-left: 52%;
  --end-top: 650px;
  --end-left: 52%;
  animation-delay: 0.3s;
  width: 60px;
  height: 60px;
}

.orange6 {
  --start-left: 93%;
  --end-top: 660px;
  --end-left: 93%;
  animation-delay: 0.4s;
  width: 80px;
  height: 80px;  
}

.blue5 {
  --start-left: 80%;
  --end-top: 680px;
  --end-left: 80%;
  animation-delay: 0.3s;
  width: 50px;
  height: 50px;    
} 

.yellow5 {
  --start-left: 71%;
  --end-top: 790px;
  --end-left: 71%;
  animation-delay: 0.2s;
  width: 60px;
  height: 60px;  
}

.moji-su {
  --start-left: 60.2%;
  --end-top: 740px;
  --end-left: 60.2%;
  width: 40px;
  height: 40px;  
}

.hira-su {
  --start-left: 90%;
  --end-top: 800px;
  --end-left: 90%;
  width: 40px;
  height: 40px;   
}

.works-section {
    
    padding-inline: 20px;
    padding-top: 24px;
    text-align: center;
    width: 100%;
}

.works-title-container {
    position: relative;
    display: inline-block;
}

.works-title {
    font-family: futura-pt, sans-serif;
    font-size: 45px;
    color: #727272;
    margin: 0;
    position: relative;
    z-index: 2; /* テキストを前面に */
    font-weight: 400;
}

.works-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    width: auto;
    height: 50px;
    z-index: 1; /* 背景として配置 */
}

.works-photo-container {
    display: flex; 
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
    gap: 4%;
}

.works-item {
    color: #727272;
    flex: 0 0 auto; /* フレックスアイテムのサイズを固定 */
    width: 48%;
}

.works-item img {
    display: block; /* img要素のデフォルトの余白をなくす */
    margin-top: 64px;
    margin-bottom: 24px; 
    width: 100%;
}     

.works-titles {
    margin-bottom: 16px;
    text-align: left;
    font-family: futura-pt, sans-serif;
    font-size: 28px;
    color: #727272;
    padding: 0 24px;
}

.works-tags {
    display: flex; 
    justify-content: flex-start;
    gap: 10px; 
    padding: 0 24px;
    white-space: nowrap;
    padding-inline: 20px;
}

.works-tags p {
    margin: 0 8px 0 0; /* pタグのデフォルトの上下の余白をなくす */
    font-family: "fot-cezanne-pron", serif;
    font-size: 17px;
    color: #727272;
}
        
.banner-item img {
    width:  76%;
    margin: 64px 0 20px 57px; 
    display: block;
}

.banner-item-rich {
    margin-top: 55px;
}

.banner-item-pop img {
    width:  76%;
    margin: 64px 0 24px 57px; 
    display: block;
}

.ice {
    margin-top: 22px;
}

.rich {
    margin-top: 67px;
}        

.about-section {
    padding-top: 200px;
    text-align: center;
    width: 100%;
}

.about-title-container {
    position: relative;
    display: inline-block;
}

.about-title {
    font-family: futura-pt, sans-serif;
    font-size: 45px;
    color: #727272;
    margin: 0;
    position: relative;
    z-index: 2; 
    font-weight: 400;
}        

.about-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 15%;
    padding-top: 80px;
    padding-left: 30px;
    box-sizing: border-box;
    align-items: center;
}

.about-photo {
    width: 33.6%;
    height: 100%;
    aspect-ratio: 309/400;
}

.about-photo img {
    border-radius: 8px;
}

.about-text-content {
    flex: 1;
    text-align: left;
    width: 51.4%;
    
}

.about-text {
    font-family: "fot-cezanne-pron", serif;
    font-size: 18px;
    line-height: em;
    color: #727272;
    margin-bottom: 40px;
}

.about-button {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #727272;
    border-radius: 10px;
    color: #727272;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: "fot-cezanne-pron", serif;
}

.about-button:hover {
    background-color: #727272;
    color: #ece9df;
}

.about-button::after {
    content: "▶";
    margin-left: 8px;
    font-size: 12px;
}

.contact-section {
    padding-top: 200px;
    text-align: center;
    width: 100%;
    padding-inline: 20px;
}

.contact-title-container {
    position: relative;
    display: inline-block;
}

.contact-title {
    font-family: futura-pt, sans-serif;
    font-size: 45px;
    color: #727272;
    margin: 0;
    position: relative;
    z-index: 2; /* テキストを前面に */
    font-weight: 400;
}

.contact-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #727272;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    font-family: "fot-cezanne-pron", serif;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(139, 135, 126, 0.3);
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 200px;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 16px;
    color: #727272;
    margin-bottom: 8px;
    font-family: "fot-cezanne-pron", serif;
}

.required {
    color: #ff6b6b;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 16px;
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
    font-family: "fot-cezanne-pron", serif;
}

.form-input:focus {
    outline: none;
    border-color: #7eb3ff;
    background-color: #f8fbff;
}

.form-textarea {
    min-height: 128px;
    resize: vertical;
}

.submit-button {
    background-color: #d4a574;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 13px 80px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    font-family: "fot-cezanne-pron", serif;
}

.submit-button:hover {
    background-color: #ff8435;
}

.form-input::placeholder {
    color: #727272;
    opacity: 0.15;
}

.form-input::-webkit-input-placeholder {
    color: #727272;
    opacity: 0.15;
}

.form-input::-moz-placeholder {
    color: #727272;
    opacity: 0.15;
}

.form-input:-ms-input-placeholder {
    color: #727272;
    opacity: 0.15;
}


/* WORKS下層１ */
.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-title {
    font-family: futura-pt, sans-serif;
    font-size: 40px;
    color: #727272;
    text-align: left;
    margin-top: 100px;
    margin-bottom: 60px;
    font-weight: 400;
}

.hero-image {
    width: 100%;
    margin-bottom: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.duration {
    font-family: "fot-cezanne-pron", serif;
    text-align: right;
    font-size: 14px;
    color: #727272;
    margin-bottom: 60px;
}

.content-section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

.mobile-image {
    flex: 0 0 400px;
}

.mobile-image img {
    width: 100%;
    height: auto;
}

.content-text {
    flex: 1;
}

.target-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 100px;
    margin-bottom: 40px;
}

.blue-icon {
    flex: 0 0 40px;
    margin-top: 5px;
}

.blue-icon img {
    width: 40px;
    height: 40px;
}

.target-content h3 {
    font-family: "fot-cezanne-pron", serif;
    font-size: 24px;
    color: #727272;
    margin: 0 0 20px 0;
    font-weight: normal;
}

.target-content p {
    font-family: "fot-cezanne-pron", serif;
    font-size: 18px;
    color: #727272;
    margin: 0;
    line-height: 1.8;
}

.detail-section {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.detail-title {
    width: 180px;
    text-align: center;
    white-space: nowrap;
    min-width: 180px;
    flex-shrink: 0;
    display: inline-block;
    background-color: #788ce380;
    color: #727272;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 6px;
    font-weight: normal;
    border: 1px solid #727272;
    font-family: "fot-cezanne-pron", serif;
    }

.detail-content {
    font-family: "fot-cezanne-pron", serif;
    font-size: 18px;
    color: #727272;
    line-height: 1.8;
    margin: 0;
}

.approach-title {
    background-color: #788ce380;
    margin-top: 6px;
}

.site-image {
    display: flex;
    align-items: flex-start;
    gap: 2%;
    margin-top: 100px;
    margin-bottom: 100px;
    
    text-align: center;
    width: 100%;
}

.site-image img:first-child {
    width: 69.5%;
}

.site-image img:last-child {
    width: 28.5%;
}

/* WORKS下層２ */  
.portfolio-content {
    font-family: "fot-cezanne-pron", serif;
    font-size: 18px;
    color: #727272;
    line-height: 1.8;
    margin-bottom: 60px;
}

.detail-title-p {
    width: 180px;
    text-align: center;
    white-space: nowrap;
    min-width: 180px;
    flex-shrink: 0;
    display: inline-block;
    background-color: #ff843580;
    color: #727272;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 6px;
    font-weight: normal;
    border: 1px solid #727272;
    font-family: "fot-cezanne-pron", serif;
    }

.approach-title-p {
    background-color: #ff843580;
    margin-top: 6px;
}

.site-image-p {
    display: flex;
    align-items: flex-start;
    gap: 2%;
    margin-top: 100px;
    margin-bottom: 100px;
    
    text-align: center;
    width: 100%;
}

.site-image-p img:first-child {
    width: 69.5%;
    border: 1px solid #727272;
}

.site-image-p img:last-child {
    width: 28.5%;
    border: 1px solid #727272;
    
}

/* WORKS下層３*/
.detail-title-bc {
    width: 180px;
    text-align: center;
    white-space: nowrap;
    min-width: 180px;
    flex-shrink: 0;
    display: inline-block;
    background-color: #fff17480;
    color: #727272;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 6px;
    font-weight: normal;
    border: 1px solid #727272;
    font-family: "fot-cezanne-pron", serif;
    }

.approach-title-bc {
    background-color: #fff17480;
    margin-top: 6px;
}

.detail-content-bc {
    font-family: "fot-cezanne-pron", serif;
    font-size: 18px;
    color: #727272;
    line-height: 1.8;
    margin: 0;
    margin-top: 10px;
    }

.sub-image {
    margin: 80px 0;
}

/* WORKS下層4*/
.orange-icon {
    flex: 0 0 40px;
    margin-top: -7px;
}

.orange-icon img {
    width: 40px;
    height: 40px;
}

/* WORKS下層５*/
.detail-title-rich {
    width: 180px;
    text-align: center;
    white-space: nowrap;
    min-width: 180px;
    flex-shrink: 0;
    display: inline-block;
    background-color: #fff17480;
    color: #727272;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 6px;
    font-weight: normal;
    border: 1px solid #727272;
    font-family: "fot-cezanne-pron", serif;
    }

.approach-title-rich {
    background-color: #fff17480;
    margin-top: 6px;
}

/* WORKS下層６*/
.detail-title-pop {
    width: 180px;
    text-align: center;
    white-space: nowrap;
    min-width: 180px;
    flex-shrink: 0;
    display: inline-block;
    background-color: #788ce380;
    color: #727272;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 16px;
    font-weight: normal;
    border: 1px solid #727272;
    font-family: "fot-cezanne-pron", serif;
    }

.detail-section-pop {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.detail-section-burger {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

/* ABOUT下層*/
.aboutme-section {
    padding: 160px 30px 0 30px;
    text-align: center;
    width: 100%;
}

.aboutme-title-container {
    position: relative;
    display: inline-block;
}

.aboutme-title {
    font-family: futura-pt, sans-serif;
    font-size: 70px;
    color: #727272;
    margin: 0;
    position: relative;
    z-index: 2; /* テキストを前面に */
    font-weight: 400;
}

.about-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    width: auto;
    height: 80px;
    z-index: 1; /* 背景として配置 */
}

.aboutme-contents {
    width: 40%;
}

.aboutme-photo {
    height: 100%;
    aspect-ratio: 270/380;
    margin-top: 32px;
}

.aboutme-photo img {
    border-radius: 8px;
}

.aboutme-name {
   font-family: futura-pt, sans-serif;
    font-size: 50px;
    line-height: 1.2em;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #727272;
    text-align: left;
}

.aboutme-degree {
    font-family: "fot-cezanne-pron", serif;
    font-size: 17px;
    color: #727272;
    text-align: left;
}

.aboutme-text-content {
    width: 45%;
   
    border: 1px solid #727272;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 1;
    text-align: left;
}

.aboutme-text {
    font-family: "fot-cezanne-pron", serif;
    font-size: 17px;
    line-height: 1.88em;
    color: #727272;
}

.section-title {
   font-family: futura-pt, sans-serif;
    font-size: 60px;
    color: #727272;
    text-align: center;
    margin-top: 120px;
    margin-bottom: 10px;
    font-weight: 400;
}

.section-subtitle {
    font-family: "fot-cezanne-pron", serif;
    font-size: 17px;
    color: #727272;
    text-align: center;
    margin-bottom: 80px;
}
.important-section {
    padding: 80px 30px 0 30px;
    text-align: center;
    width: 100%;
}

.important-container{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.important-content {
    display: flex;
    gap: 120px;
    margin-top: 60px;
    margin-bottom: 136px;
}

.important-content img {
   width: 100%;
   height: 100%;
}

.important-content p {
    font-family: "fot-cezanne-pron", serif;
    font-size: 17px;
    line-height: 1.88em;
    color: #727272;
    text-align: left;
}

.sunao {
    margin-top: 50px;
}

.souzou {
    margin-top: 42px;
}

.keizoku {
    margin-top: 30px;
}

.tools-section {
    padding: 4px 30px 120px 30px;
    text-align: center;
}

.tools-container {
    display: flex;
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
    justify-content: space-between;
}

.tools-content {
    display: flex;
    margin: 0 auto;
}

.tools-content img {
    width: 100%;
   height: 100%;
}

.tools-content p {
    font-family: "fot-cezanne-pron", serif;
    font-size: 25px;
    color: #727272;
    text-align: left;
    margin: 54px 0 0 32px;
}

.no-break {
  white-space: nowrap;
}

/* サンクスページ */
.thanks-section {
     padding: 240px 30px 0 30px;
    text-align: center;
    width: 100%;
}

.thanks-section img {
    width: 10%;
    height: 10%;
    opacity: 0.5;
    margin: 16px 0;
}

.thanks-title {
    font-family: futura-pt, sans-serif;
    font-size: 60px;
    color: #727272;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 400;
}

.thanks-text {
    font-family: "fot-cezanne-pron", serif;
    font-size: 18px;
    color: #727272;
    text-align: center;
    line-height: 1.6em;
}

.back-section,
.back-button-a,
.contact-title-z,
.contact-intro-z {
    display: none;
}


@media screen and (max-width: 1100px) {
#header .logo a {
    padding-top: 13px;
    padding-left: 10px;
    width: 80%;
    height: 80%;
}

#header .hamburger {
    display: block;
    width: 32px;
    height: 20px;
    position: absolute;
    top: 40px;
    right: 20px;
    cursor: pointer;
    z-index: 9999;
}

#header .navi {
    display: none;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #727272;
    right: 0;
    transition: 0.3s;
    top: 9px;
    border-radius: 3px;
}

.hamburger span::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #727272;
    top: -9px;
    right: 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #727272;
    bottom: -9px;
    right: 0;
    transition: 0.3s;
    border-radius: 3px;
}

.open span {
    background-color: transparent;
}

.open span::before {
    transform: rotate(45deg);
    top: 0;
    background-color: #ece9df
}

.open span::after {
    transform: rotate(-45deg);
    top: 0;
    background-color: #ece9df;
}

#header .navi-sp {
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: #727272;
    top: 0;
    left: 0;
}

#header .navi-sp a {
    color: #ece9df;
    font-family: futura-pt, sans-serif;
    font-size: 30px;
}

#header .navi-sp li:nth-child(3) a {
    width: 168px;
    height: 49px;
    border: 1px solid #ece9df;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#header .navi-sp ul {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
}

@media screen and (max-width: 1000px) {
.orange1 {
  --start-left: 71.9%;
  --end-top: -5px;
  --end-left: 71.9%;
  animation-delay: 1.2s;  
  width: 40px;
  height: 40px; 
}

.yellow1 {
  --start-left: 78%;
  --end-top: 60px;
  --end-left: 78%;
  animation-delay: 1.1s;  
  width: 35px;
  height: 35px;
}

.blue1 {
  --start-left: 66%;
  --end-top: 110px;
  --end-left: 66%;
  animation-delay: 1.0s;  
  width: 35px;
  height: 35px;
}

.orange2 {
  --start-left: 83%;
  --end-top: 180px;
  --end-left: 83%;
  animation-delay: 0.9s;  
  width: 50px;
  height: 50px;
}

.yellow2 {
  --start-left: 71%;
  --end-top: 200px;
  --end-left: 71%;
  animation-delay: 0.8s;  
  width: 50px;
  height: 50px;
}

.orange3 {
  --start-left: 55%;
  --end-top: 250px;
  --end-left: 55%;
  animation-delay: 0.8s;  
  width: 100px;
  height: 100px;
}

.kana-su {
 --start-left: 88%;
  --end-top: 270px;
  --end-left: 88%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;   
}

.moji-p {
  --start-left: 74%;
  --end-top: 310px;
  --end-left: 74%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;
}

.blue2 {
  --start-left: 90%;
  --end-top: 400px;
  --end-left: 90%;
  animation-delay: 0.7s;
  width: 35px;
  height: 35px;
}

.orange4 {
  --start-left: 78%;
  --end-top: 400px;
  --end-left: 78%;
  animation-delay: 0.6s;
  width: 45px;
  height: 45px;
}

.blue3 {
  --start-left: 62%;
  --end-top: 420px;
  --end-left: 62%;
  animation-delay: 0.6s;
  width: 70px;
  height: 70px;
}

.yellow3 {
  --start-left: 50%;
  --end-top: 480px;
  --end-left: 50%;
  animation-delay: 0.5s;  
  width: 40px;
  height: 40px;
}

.moji-i {
  --start-left: 93%;
  --end-top: 480px;
  --end-left: 93%;
  animation-delay: 0.5s;
  width: 35px;
  height: 35px;
}

.yellow4 {
  --start-left: 83%;
  --end-top: 520px;
  --end-left: 83%;
  animation-delay: 0.5s;
  width: 70px;
  height: 70px; 
}

.kana-pa {
  --start-left: 74%;
  --end-top: 520px;
  --end-left: 74%;
  animation-delay: 0.5s;
  width: 40px;
  height: 40px;  
}

.orange5 {
  --start-left: 62%;
  --end-top: 560px;
  --end-left: 62%;
  animation-delay: 0.4s;
  width: 80px;
  height: 80px;  
}

.blue4 {
  --start-left: 52%;
  --end-top: 650px;
  --end-left: 52%;
  animation-delay: 0.3s;
  width: 45px;
  height: 45px;
}

.orange6 {
  --start-left: 87%;
  --end-top: 630px;
  --end-left: 87%;
  animation-delay: 0.4s;
  width: 100px;
  height: 100px;  
}

.blue5 {
  --start-left: 75%;
  --end-top: 680px;
  --end-left: 75%;
  animation-delay: 0.3s;
  width: 35px;
  height: 35px;    
} 

.yellow5 {
  --start-left: 71%;
  --end-top: 790px;
  --end-left: 71%;
  animation-delay: 0.2s;
  width: 40px;
  height: 40px;  
}

.moji-su {
  --start-left: 60.2%;
  --end-top: 740px;
  --end-left: 60.2%;
  width: 35px;
  height: 35px;  
}

.hira-su {
  --start-left: 85%;
  --end-top: 800px;
  --end-left: 85%;
  width: 35px;
  height: 35px;   
} 
}

@media screen and (max-width: 768px) {
.back-section,
.back-button-a,
.contact-title-z,
.contact-intro-z {
    display: block;
}

.br-desktop {
    display: none;    /* デスクトップ改行を隠す */
}
    
.br-mobile {
    display: inline;  /* モバイル改行を表示 */
}

.hero-text {
    position: absolute;
    top: 132px;
    left: 13%;
    color: #727272;
}

.hero-text .title {
    font-size: 32px;
    line-height: 1.5em;
    margin-bottom: 24px;
}

.hero-text .description {
    font-size: 15px;
    line-height: 2.2em;
}

.orange1 {
  --start-left: 63%;
  --end-top: 220px;
  --end-left: 63%;
  animation-delay: 1.2s;  
  width: 40px;
  height: 40px; 
}

.yellow1 {
  --start-left: 69%;
  --end-top: 310px;
  --end-left: 69%;
  animation-delay: 1.1s;  
  width: 40px;
  height: 40px;
}

.blue1 {
  --start-left: 53%;
  --end-top: 340px;
  --end-left: 53%;
  animation-delay: 1.0s;  
  width: 40px;
  height: 40px;
}

.orange2 {
  --start-left: 75%;
  --end-top: 410px;
  --end-left: 75%;
  animation-delay: 0.9s;  
  width: 70px;
  height: 70px;
}

.yellow2 {
  --start-left: 59%;
  --end-top: 470px;
  --end-left: 59%;
  animation-delay: 0.8s;  
  width: 60px;
  height: 60px;
}

.orange3 {
  --start-left: 37%;
  --end-top: 420px;
  --end-left: 37%;
  animation-delay: 0.8s;  
  width: 100px;
  height: 100px;
}

.kana-su {
 --start-left: 72%;
  --end-top: 510px;
  --end-left: 72%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;   
}

.moji-p {
  --start-left: 54%;
  --end-top: 570px;
  --end-left: 54%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;
}

.blue2 {
  --start-left: 90%;
  --end-top: 580px;
  --end-left: 90%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;
}

.orange4 {
  --start-left: 68%;
  --end-top: 630px;
  --end-left: 68%;
  animation-delay: 0.6s;
  width: 50px;
  height: 50px;
}

.blue3 {
  --start-left: 48%;
  --end-top: 670px;
  --end-left: 48%;
  animation-delay: 0.6s;
  width: 60px;
  height: 60px;
}

.yellow3 {
  --start-left: 30%;
  --end-top: 620px;
  --end-left: 30%;
  animation-delay: 0.5s;  
  width: 50px;
  height: 50px;
}

.moji-i {
  --start-left: 87%;
  --end-top: 680px;
  --end-left: 87%;
  animation-delay: 0.5s;
  width: 45px;
  height: 45px;
}

.yellow4 {
  --start-left: 77%;
  --end-top: 730px;
  --end-left: 77%;
  animation-delay: 0.5s;
  width: 60px;
  height: 60px; 
}

.kana-pa {
  --start-left: 65%;
  --end-top: 780px;
  --end-left: 65%;
  animation-delay: 0.5s;
  width: 50px;
  height: 50px;  
}

.orange5 {
  --start-left: 46%;
  --end-top: 810px;
  --end-left: 46%;
  animation-delay: 0.4s;
  width: 80px;
  height: 80px;  
}

.blue4 {
  --start-left: 28%;
  --end-top: 770px;
  --end-left: 28%;
  animation-delay: 0.3s;
  width: 35px;
  height: 35px;
}

.orange6 {
  --start-left: 87%;
  --end-top: 800px;
  --end-left: 87%;
  animation-delay: 0.4s;
  width: 80px;
  height: 80px;  
}

.blue5 {
  --start-left: 74%;
  --end-top: 860px;
  --end-left: 74%;
  animation-delay: 0.3s;
  width: 40px;
  height: 40px;    
} 

.yellow5 {
  --start-left: 56%;
  --end-top: 980px;
  --end-left: 56%;
  animation-delay: 0.2s;
  width: 40px;
  height: 40px;  
}

.moji-su {
  --start-left: 40%;
  --end-top: 920px;
  --end-left: 40%;
  width: 55px;
  height: 55px;  
}

.hira-su {
  --start-left: 80%;
  --end-top: 950px;
  --end-left: 80%;
  width: 40px;
  height: 40px;   
} 

.works-title {
    font-size: 30px;
}

.works-bg-logo {
    height: 43px;
} 

.works-photo-container {
    flex-direction: column;
    display: block; /* flexを無効化してblockに戻す */
    gap: 0;
}

.works-titles {
    font-size: 20px;
}

.works-tags p {
    font-size: 12px;
}

.rich {
    margin-top: 22px;
}

.about-section{
    padding-top: 100px;
}

.about-title {
    font-size: 30px;
}

.about-text-content {
    width: 90%; 
}

.about-text {
    font-size: 16px;
    line-height: 1.9em;
}

.about-content {
    flex-direction: column;
    gap: 16px;
    padding-left: 0px;
    padding-top: 40px;
}

.about-photo {
    width: 60%;
}

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

.about-text br {
    display: none; /* すべての<br>を非表示 */
}

.about-button {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    width: fit-content;
}

.contact-section {
    padding-top: 100px;
}

.contact-title {
    font-size: 30px;
}

.contact-intro {
    font-size: 10px;
}

.contact-form-container {
    padding-inline: 20px;
}

.form-label {
    font-size: 13px;
}

.form-group {
    margin-bottom: 24px;
}

.form-input {
    padding: 5px 16px;
}

.submit-button {
    padding: 10px;
    white-space: nowrap;
    max-width: 220px;
    width: 100%;
}

/* WORKS下層１ */
.blue-icon {
    position: absolute;
    top: 0;
    left: 0;
}

.blue-icon img {
    width: 30px;
    height: 30px;
}

.duration {
    font-size: 10px;
}

.page-title {
    font-size: 26px;
}

.content-section {
    flex-direction: column;
    margin-bottom: 40px;
    gap: 48px;
}
.target-section {
    margin-top: -24px;
    display: block;
    position: relative;
}   

.target-content h3 {
    font-size: 20px;
    padding-left: 45px;
}

.target-section p {
    font-size: 16px;
}

.detail-section {
    flex-direction: column;
}

.detail-title {
    width: 150px;
    min-width: 150px;
}

.detail-content {
    font-size: 16px;
    margin-top: -40px;
}

.back-section {
    text-align: center;
    width: 100%;
}

.back-button-a {
    background-color: #788ce380;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 20px 60px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    font-family: "fot-cezanne-pron", serif;
    display: block;
    margin-top: 24px;
    margin-bottom: 56px;
    width: 120px;
    border: 1px solid #727272;
}

.back-button-b {
    background-color: #ff843580;
    color: #727272;
    border: none;
    border-radius: 50px;
    padding: 20px 60px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    font-family: "fot-cezanne-pron", serif;
    display: block;
    margin-top: 24px;
    margin-bottom: 56px;
    width: 120px;
    border: 1px solid #727272;
}

.back-button-c {
    background-color: #fff17480;
    color: #727272;
    border: none;
    border-radius: 50px;
    padding: 20px 60px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    font-family: "fot-cezanne-pron", serif;
    display: block;
    margin-top: 24px;
    margin-bottom: 56px;
    width: 120px;
    border: 1px solid #727272;
}

.contact-title-container-a {
    position: relative;
    display: inline-block;
}

.contact-title-z {
    font-size: 30px;
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    color: #727272;
    position: relative;
    z-index: 2;
}

.works-bg-logoz{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    width: auto;
    height: 35px;
    z-index: 1; /* 背景として配置 */
}

.contact-intro-z {
    margin-top: 16px;
    font-size: 10px;
    font-family: "fot-cezanne-pron", serif;
    color: #727272;
}

/* WORKS下層２ */
.portfolio-content {
    font-size: 16px;
}

.detail-title-p {
    width: 150px;
    min-width: 150px;
}

/* WORKS下層３ */
.detail-title-bc {
    width: 150px;
    min-width: 150px;
}

.detail-content-bc {
    font-size: 16px;
}

#businesscard {
    gap: 0px;
}

/* WORKS下層４ */
#icecream {
    gap: 0px;
}

#hamburger {
    font-size: 18px;
}

#hamburger-p {
    font-size: 16px;
}
.orange-icon{
    position: absolute;
    top: 3px;
    left: 0;
}

.orange-icon img {
    width: 30px;
    height: 30px;
}

/* WORKS下層５ */
.detail-title-rich {
    width: 150px;
    min-width: 150px;
}

/* WORKS下層６ */
.detail-title-pop {
    width: 150px;
    min-width: 150px;
}

.detail-section-pop {
   flex-direction: column; 
    gap: 0;
}

.detail-section-burger {
    flex-direction: column;
}

/* サンクスページ */
.thanks-section img {
    width: 13%;
    height: 13%;
    opacity: 0.5;
}

.thanks-title {
    font-size: 30px;
}

.thanks-text {
    font-size: 13px;
}

/* ABOUT下層 */
.aboutme-title {
    font-size: 38px;
   }

.about-bg-logo {
    height: 50px;
}
.aboutme-name br {
    display: none;
}

.aboutme-photo {
    margin-top: 0;
}

.aboutme-name {
    font-size: 30px;
}

.aboutme-degree {
    font-size: 16px;
    margin-bottom: 24px;
}

.aboutme-text-content {
    width: 100%;
    padding: 16px;
}

 .aboutme-text {
    font-size: 16px;
 }

.important-section {
    padding-top: 40px;
}

.important-content {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    margin-bottom: 64px;
}

.aboutme-contents {
    width: 80%;
}
.section-title {
    font-size: 30px;
    margin-top: 80px;
}

.section-subtitle {
    font-size: 16px;
    margin-bottom: 48px;
}

.important-content img {
   width: 180px;
   height: 180px;
   margin: 0 auto ;
}

.important-content p {
    font-size: 16px;
}

.tools-container {
    flex-direction: column;
    gap: 56px;
}

.tools-section {
    padding-top: 0;
}

.tools-content {
    flex-direction: column;
}

.tools-content img {
    width: 150px;
    height: 150px;
}

.tools-content p {
    margin-top: 24px;
    margin-left: 0;
    text-align: center;
    font-size: 21px;
}
}

@media screen and (max-width: 393px) {
.orange1 {
  --start-left: 71.9%;
  --end-top: 250px;
  --end-left: 71.9%;
  animation-delay: 1.2s;  
  width: 30px;
  height: 30px; 
}

.yellow1 {
  --start-left: 80%;
  --end-top: 330px;
  --end-left: 80%;
  animation-delay: 1.1s;  
  width: 25px;
  height: 25px;
}

.blue1 {
  --start-left: 62%;
  --end-top: 350px;
  --end-left: 62%;
  animation-delay: 1.0s;  
  width: 25px;
  height: 25px;
}

.orange2 {
  --start-left: 83%;
  --end-top: 410px;
  --end-left: 83%;
  animation-delay: 0.9s;  
  width: 45px;
  height: 45px;
}

.yellow2 {
  --start-left: 35%;
  --end-top: 430px;
  --end-left: 35%;
  animation-delay: 0.8s;  
  width: 45px;
  height: 45px;
}

.orange3 {
  --start-left: 20%;
  --end-top: 520px;
  --end-left: 20%;
  animation-delay: 0.8s;  
  width: 80px;
  height: 80px;
}

.kana-su {
 --start-left: 82%;
  --end-top: 500px;
  --end-left: 82%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;   
}

.moji-p {
  --start-left: 65%;
  --end-top: 400px;
  --end-left: 65%;
  animation-delay: 0.7s;
  width: 40px;
  height: 40px;
}

.blue2 {
  --start-left: 90%;
  --end-top: 670px;
  --end-left: 90%;
  animation-delay: 0.7s;
  width: 25px;
  height: 25px;
}

.orange4 {
  --start-left: 85%;
  --end-top: 580px;
  --end-left: 85%;
  animation-delay: 0.6s;
  width: 35px;
  height: 35px;
}

.blue3 {
  --start-left: 55%;
  --end-top: 490px;
  --end-left: 55%;
  animation-delay: 0.6s;
  width: 60px;
  height: 60px;
}

.yellow3 {
  --start-left: 10%;
  --end-top: 650px;
  --end-left: 10%;
  animation-delay: 0.5s;  
  width: 40px;
  height: 40px;
}

.moji-i {
  --start-left: 33%;
  --end-top: 630px;
  --end-left: 33%;
  animation-delay: 0.5s;
  width: 45px;
  height: 45px;
}

.yellow4 {
  --start-left: 50%;
  --end-top: 660px;
  --end-left: 50%;
  animation-delay: 0.5s;
  width: 60px;
  height: 60px; 
}

.kana-pa {
  --start-left: 65%;
  --end-top: 600px;
  --end-left: 65%;
  animation-delay: 0.5s;
  width: 30px;
  height: 30px;  
}

.orange5 {
  --start-left: 28%;
  --end-top: 730px;
  --end-left: 28%;
  animation-delay: 0.4s;
  width: 70px;
  height: 70px;  
}

.blue4 {
  --start-left: 6%;
  --end-top: 750px;
  --end-left: 6%;
  animation-delay: 0.3s;
  width: 35px;
  height: 35px;
}

.orange6 {
  --start-left: 75%;
  --end-top: 730px;
  --end-left: 75%;
  animation-delay: 0.4s;
  width: 80px;
  height: 80px;  
}

.blue5 {
  --start-left: 60%;
  --end-top: 790px;
  --end-left: 60%;
  animation-delay: 0.3s;
  width: 25px;
  height: 25px;    
} 

.yellow5 {
  --start-left: 10%;
  --end-top: 840px;
  --end-left: 10%;
  animation-delay: 0.2s;
  width: 30px;
  height: 30px;  
}

.moji-su {
  --start-left: 48%;
  --end-top: 830px;
  --end-left: 48%;
  width: 35px;
  height: 35px;  
}

.hira-su {
  --start-left: 85%;
  --end-top: 850px;
  --end-left: 85%;
  width: 25px;
  height: 25px;   
}

.works-bg-logo {
    height: 40px;
}

.banner-item img {
    margin-left: 40px;
}

.banner-item-pop img {
    margin-left: 40px;
}

.about-text {
    font-size: 14px;
}

.aboutme-section {
    padding-inline: 20px;
}

.important-section {
    padding-inline: 20px;
}

.thanks-section img {
    width: 23%;
    height: 23%;
    opacity: 0.5;
}
}