@charset "utf-8";

/*-------------------------------------
タグの基本設定
--------------------------------------*/
html {
  font-size: 100%;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #414141;
  background: #c9c1b1;
  margin: 0;
}

:lang(en) {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

img {
  max-width: 1000px;
}

a {
  text-decoration: none;
  outline: none;
  color: #333333;
}

a:hover {
  text-decoration: underline;
  color: #666666;
}

a:hover img {
  opacity: 0.80;
}


/*--------------------------------------------------------------------
header
--------------------------------------------------------------------*/
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 40px;
  z-index: 1000;
  box-sizing: border-box;
  background-color: transparent;
}

.site-title img {
  height: 80px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: #333;
  font-size: 24px;
  padding: 8px 12px;
  transition: 0.2s;
}

.nav-list li a:hover {
  color: #ec6538;
  text-decoration: underline;
}


/* ----- ハンバーガー（共通） ----- */
.hamburger {
  display: none;
  width: 40px;
  height: 29px;
  position: relative;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* ----- クリックで × に変化 ----- */
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* マスク */
.mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1040;
}

.mask.show {
  opacity: 1;
  visibility: visible;
}

/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
main .Main {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.TopImg {
  position: relative;
  margin-top: 154px;
  text-align: center;
}

.TopImg img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 80px;
}

.top-img {
  opacity: 0;
  animation: floatUp 2s ease-out forwards;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

div#Main {
  margin: 10px auto 0 auto;
  text-align: center;
}

.c03 {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: #ecddc9;
  font-size: clamp(20px, 4vw, 43px);
  text-align: center;
  z-index: 10;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  font-family: 'Dancing Script', cursive;
  font-weight: 400;
  line-height: 0.8;
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -70%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.c03 {
  animation: floatIn 1.2s ease-out forwards;
}


/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
.pagetop {
  text-align: right;
  margin: 80px 0 50px 0;
}

/*--------------------------------------------------------------------
footer
--------------------------------------------------------------------*/
footer {
  clear: both;
  text-align: center;
  color: #504946;
  margin-top: 0;
}

/*-------------------------------------
Works
--------------------------------------*/

.category-menu {
  width: 250px;
  margin: 180px auto 0 auto;
}

.category-toggle {
  width: 100%;
  background: #fff;
  color: #333333;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  padding: 15px;
  border: none;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 15px;
  background: #333333;
  display: none;
}

.category-list li {
  margin: 10px 0;
}

.category-list a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.category-list a:hover {
  color: #ec6538;
}

.arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 40px;
  justify-content: center;
  margin: 80px 40px;
}

.work-card {
  display: block;
  width: 500px;
  justify-self: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.work-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.work-type {
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.work-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.work-tags {
  font-size: 12px;
  color: #666;
}


/*--------------------------------------------------------------------
ポートフォリオ
--------------------------------------------------------------------*/
.portfolio-page {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 80px;
  display: block;
  padding: 50px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
}

.section_title {
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-page img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
}

.site_link {
  display: inline-block;
  padding: 12px 110px 12px 12px;
  background-color: #4b403c;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  transition: 0.3s;
  margin: 0 auto;
  text-decoration: none;
}

.site_link:hover {
  background-color: #e28761;
  color: #fff;
  text-decoration: none;
}

.button-wrapper a {
  position: relative;
  padding-right: 35px;
}

.button-wrapper a::after {
  content: "";
  display: inline-block;
  background-image: url(../img/another.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 23px;
  height: 23px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.button-wrapper {
  text-align: center;
  margin-bottom: 80px;
}

.portfolio-text {
  text-align: left;
}

.portfolio-text dl {
  font-size: 18px;
  font-weight: bold;
}

.portfolio-text div {
  display: flex;
  gap: 50px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px dotted #808080;
}

.portfolio-text h3 {
  flex: 0 0 150px;
  margin: 0;
}

.portfolio-text p {
  flex: 1;
  margin: 0;
}

.client-needs {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.client-needs li {
  position: relative;
  padding-left: 1em;
  line-height: 1.6;
}

.client-needs li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.client-needs li.heading1::before,
.client-needs li.heading2::before {
  content: none;
}

.client-needs li.heading1,
.client-needs li.heading2 {
  padding-left: 0;
}

.client-needs li.heading2 {
  margin-top: 20px;
}

/* 兼光 */
.design-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.kanemitu_design {
  width: 48%;
  height: auto;
  display: block;
}

/* カフェ */
.design-box3 {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.design-box3 img {
  margin: 0;
}

/* PDFセクション全体 */
.pdf-section {
  display: flex;
  justify-content: center;
  margin: 60px 0;
  flex-wrap: wrap;
}

/* 各PDFボックス */
.pdf-box {
  max-width: 300px;
  text-align: center;
  flex: none;
  margin: 0 auto;
}

.pdf-box h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
}

/* iframe内のPDF表示 */
.pdf-box iframe {
  width: 100%;
  height: 500px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.pdf-link {
  display: inline-block;
  padding: 12px 40px 12px 24px;
  ;
  background-color: #4b403c;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

.pdf-link:hover {
  background-color: #e28761;
  color: #fff;
  text-decoration: none;
}

.pdf-link::after {
  content: "";
  display: inline-block;
  background-image: url(../img/another.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 23px;
  height: 23px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.title7 {
  font-weight: bold;
  margin-bottom: 0;
  font-size: 1.125em;
}

.description7 {
  margin-top: 0;
}

/* 一覧へ戻るボタン */
.return-btn {
  background-color: #fff;
  display: block;
  width: fit-content;
  margin: 80px auto;
  padding: 10px 50px;
  position: relative;
  color: #333333;
  border: 2px solid #fff;
}

.return-btn::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #4b403c;
  position: absolute;
  top: 20px;
  right: -20px;
}

.return-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border: 2px solid #fff;
}

/*--------------------------------------------------------------------
PROFILE
--------------------------------------------------------------------*/
.aboutme-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  width: 100%;
  margin: 154px auto;
  margin-bottom: 50px;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.aboutme-img img {
  display: block;
  margin: 0 auto;
}

.aboutme-text {
  text-align: center;
  flex: 1;
  margin-top: 50px;
  width: 900px;
  max-width: 100%;
}

.aboutme-text p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
}

.aboutme-text .name {
  margin-bottom: 5px;
}

.aboutme-text .from {
  margin-top: 0;
}

.aboutme-text .description {
  margin-bottom: 60px;
}

.client-needs li>strong {
  list-style: none;
}

.client-needs li>strong::before {
  content: none;
}

.client-needs li>strong+li {
  margin-top: 10px;
}

/* ここからお問い合わせページ */
.contact_decoration {
  background-color: #414141;
  color: #c9c1b1;
  width: 100%;
  /* border-radius: 10px; */
}

.main_form {
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 900px;
  width: 100%;
  /* margin: 0 auto; */
  padding: 62px 0;
}

.contact_hd {
  text-align: center;
}

.contact_hd h1 {
  font-size: 24px;
  font-weight: bold;
}

.cnt_text {
  padding-bottom: 24px;
}

.contact_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 762px;
  margin: 0 auto;
}


.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  align-items: flex-start;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input {
  width: 762px;
  height: 52px;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: #F6F6F6;
  margin-bottom: 10px;
  padding: 20px 25px;
}

.contact-type-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}

.radio-label {
  display: flex;
  font-size: 16px;
  gap: 10px;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #2E4D62;
}

.label-title {
  font-weight: bold;
  margin-bottom: 20px;
}

.form-group textarea {
  width: 762px;
  height: 200px;
  background-color: #F6F6F6;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 30px 25px;
}

.form-notice {
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.8;
}

.required {
  display: inline-block;
  background-color: #9D5248;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.form-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 60px;
  margin: 40px auto 0;
}

.form-btn button {
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: bold;
  background-color: #ec6538;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}


.form-btn button:hover {
  background-color: #d04d1f;
}

.sp-br {
  display: none;
}

/*--------------------------------------------------------------------
追従ボタン
---------------------------------------------------
-----------------*/
#fixed-btn {
  width: 120px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 60px;
  z-index: 10;
}

#fixed-btn img {
  width: 140px;
  height: auto;
}

.sp-br {
  display: none;
}

/*--------------------------------------------------------------------
レスポンシブ
--------------------------------------------------------------------*/
@media screen and (min-width: 1920px) {
  .work-cards {
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 1024px) {
  img{
    width: 100%;
    max-width: 900px;
  }

  .work-card {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-title {
    max-width: 100%;
  }

  .site-title img {
    max-width: 150px;
    height: auto;
  }

  .TopImg {
    margin-top: 120px;
  }

  .TopImg img {
    width: 90%;
  }

  /* ヘッダー */
  .hamburger {
    display: block;
    top: -8px;
  }

  .site-header .nav-list {
    display: none;
  }

  .site-header {
    padding: 0px 20px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: #333;
    transition: right 0.4s ease;
    z-index: 1050;
    padding-top: 100px;
  }

  .nav.open {
    right: 0;
  }

  .nav.open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    padding: 0 20px;
  }

  .nav.open .nav-list li a {
    font-size: 20px;
    color: #c9c1b1;
    display: block;
    border-bottom: 1px solid #c9c1b1;
  }

  .hamburger.active span {
    background: #c9c1b1;
  }

  .mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1040;
  }

  .mask.show {
    opacity: 1;
    visibility: visible;
  }


  /* Work */
  .category-menu {
    margin-top: 120px;
  }

  .work-cards {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 20px;
  }

  .work-card {
    max-width: 400px;
    padding: 15px;
  }

  /* 作品 */
  .portfolio-page {
    padding: 18px;
    margin: 40px 20px 0 20px;
  }

  .portfolio-page img {
    margin-bottom: 35px;
  }

  .design-box3 img {
    margin: 0;
  }

  .button-wrapper {
    margin-bottom: 35px;
  }

  .portfolio-text div {
    flex-direction: column;
    display: block;
  }

  .section_title h2 {
    font-size: 21px;
  }

  .portfolio-text h3 {
    margin-bottom: 8px;
  }

  .pdf-section {
    margin: 0 0 35px 0;
  }

  .kanemitu_design {
    width: 100%;
  }

  .design-box {
    gap: 0;
  }


  /* プロフィール */
  .aboutme-box {
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 0;
    gap: 0;
  }

  .aboutme-img img {
    max-width: 100%;
    height: auto;
  }

  .aboutme-text {
    margin-top: 0;
    width: 100%;
  }

  .aboutme-text .description {
    margin-bottom: 30px;
    text-align: left;
  }

  footer {
    font-size: 12px;
  }

  /* コンタクト */
  .contact_decoration {
    background-position: center bottom;
    background-size: 200px auto;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    max-width: 762px;
    margin: 0 auto;
  }

  .service-title {
    padding: 40px 20px;
    font-size: 16px;
    text-align: center;
  }

  .main_form {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 40px 20px;
    margin-bottom: 0;
  }

  .contact_hd h1 {
    font-size: 24px;
  }

  .cnt_text {
    padding-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 14px;
    padding: 15px;
  }

  .contact-type-group {
    padding-top: 10px;
  }

  .radio-label {
    font-size: 14px;
  }

  .radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  .form-notice {
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.6;
  }

  .form-btn {
    width: 80%;
    max-width: 300px;
    height: 55px;
    margin: 30px auto 0;
  }

  .form-btn button {
    font-size: 16px;
  }

  .sp-br {
    display: inline;
  }

  /* 追従ボタン */
  #fixed-btn {
    width: 90px;
    bottom: 20px;
    right: 20px;
  }

  #fixed-btn img {
    width: 100px;
    height: auto;
  }

  /* リターンボタン */
  .return-btn {
    margin: 40px auto;
  }

  /* 改行 */
  .sp-br {
    display: inline;
  }

}