@charset "UTF-8";


/*-------------------------------------------
共通
-------------------------------------------*/
body {
  font-size: 15px;
  line-height: 1.7;
}

/* Pを丸ゴシックに */
p {
  font-family: "Yu Gothic", "Meiryo", "Hiragino Maru Gothic Pro", sans-serif;
}

.section {
  padding: 80px 0;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: content-box;
}

.ttl-01 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 30px;
}

/*-------------------------------------------
PCのみ適用
-------------------------------------------*/
@media screen and (min-width: 768px) {
  a:hover {
    text-decoration: none;
    opacity: .7
  }

  a[href^=tel]:hover {
    opacity: 1
  }

  .pc-none {
    display: none
  }
}


/*-------------------------------------------
header　共通スタイル
-------------------------------------------*/

.header {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
  height: 100px;
  margin: 0 auto;
  padding: 5px 5%; /* 内側の余白（上下px, 左右%）*/
  position: sticky;/* PC用　*/
  position: relative;/* スマホメニュー用　*//* 必須 */
  z-index: 100;
}

/* ロゴエリア　*/
.header-logo-area {
  display: flex;
  align-items: center;
}

.header-ttl {
  font-weight: bold;
  font-family: "Damion", cursive;
  color: #9966fa;
  font-size: 60px;
}

/* gallery.html 用 */
.gallery-title {
  margin-top: -10px;
  font-size: 48px;
  color: #9966fa;
  font-family: "Damion", cursive;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

/* ハンバーガーアイコン　*/
.hamburger {
  display: none; /* PCでは非表示 */
  position: absolute; /* SP表示時に位置を固定 */
  top: 30px;
  right: 4%;
  z-index: 1000;
  flex-direction: column;
  width: 25px; /* spanの幅と合わせる */
  height: 18px; /* spanの高さ3px * 3本 + 余白3px * 2 で計算 */
  background: transparent; /* buttonの背景を消す */
  border: none; /* buttonの枠線を消す */
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #9966fa;
  border-radius: 2px;
  position: absolute; /* positionで3本線を管理 */
  left: 0;
  transition: transform 0.3 ease, opacity 0.3s ease; /*アニメーションを滑らかに　*/
}

/* 3本線の初期位置を調整 */
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 8px; /* 中央の線 */
}
.hamburger span:nth-child(3) {
  top: 16px; /* 下の線 */
}

/*---------------------------------------------
 header-list 共通（PCでもSPでも横並びを基準に）
 --------------------------------------------- */
.header-list {
  display:flex; /* 横並びにする */
  flex-direction: row; /* 明示的に行方向 */
  gap: 20px; /* 要素間のスペース */
  list-style: none; /* デフォルトのリストマーカーを消す */
  padding: 5px 0; /* 上下余白　必要なら */
  margin: 0; /* ULの余白リセット */
  font-weight: bold;
}

.header-list a {
  color: #9966fa;
}

/* ---------------------------------------------
　　スマホサイズでの切り替え
------------------------------------------------- */
@media screen and (max-width: 768px) {
  .header-list {
    flex-direction: column; /* ドロワーメニューは縦並び */
    position: absolute;
    top: 90px; /* ヘッダーの高さに合わせる */
    right: 4%;
    background-color: white;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: bold;
    opacity: 0; /* 透明にする */
    visibility: hidden; /* 見えなくする */
    transform: translateY(-10px); /* 少し上にずらす */
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  }

  .hamburger {
    display: flex; /* スマホで表示される */
  }

  .header-list.active {
    display: flex;  /* ハンバーガー押し下で縦並び表示 */
  }

}


.damion-regular {
  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;
}

/* ロゴとタイトルをまとめたエリアもFlexboxに */
.header-logo-area {
  display: flex;
  align-items: center; /* ロゴとタイトルを上下中央揃えに */
}

/* ロゴ画像のスタイル */
.header-logo-area img {
  height: 20px; /* ロゴの高さを指定（お好みで調整） */
  margin-right: -10px; /* ロゴとタイトルの間の余白 */
}



/*-------------------------------------------
MV　メインビジュアル　共通スタイル
-------------------------------------------*/
.mv {
  position: relative; /* テキストを重ねるための基準 */
  width: 100%;
  height: auto;
  text-align: center;
}

.mv img {
  width: 100%;
  height: auto;
  display: block;
}

.mv-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%); /* 横だけ真ん中設定*/
  color: #24292e;
  text-align: center;
}


.mv-text h2 {
  font-size: 25px;
  margin-bottom: 6px;
  font-family: "Damion", cursive;
}

.mv-text p {
  font-size: 12px;
}

.mv-catch {
  font-size: 1em;      /* お好みで調整 */
  letter-spacing: -0.1em; /* 字間を広げる */
  font-weight: bold;      /* 太字（必要なら） */
  display: inline-block;  /* レイアウト調整用 */
}


/* タブレット以上 */
@media (min-width: 600px) {
  .mv-text h2 {
    font-size: 32px;
  }

  .mv-text p {
    font-size: 16px;
  }
}

/* デスクトップ以上 */
@media (min-width: 1024px) {
  .mv-text h2 {
    font-size: 55px;
  }

  .mv-text p {
    font-size: 25px;
  }
}

/* スマホ用 */
@media screen and (max-width: 767px) {
  .mv-text {
    top: 20%;
    font-size: 14px;
  }
}

/*-------------------------------------------
about
-------------------------------------------*/
.about-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.about-img {
  width: 33%;
}

.about-unit {
  width: 60%;
}

.about-name {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 500;
}

.about-txt {
  margin-bottom: 20px;
}

.about-skill {
  border: solid 1px #ddd;
  padding: 26px;
  margin-top: 40px;
}

.about-skill-ttl {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.about-skill-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9966fa;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}


/*-------------------------------------------
works
-------------------------------------------*/
.works {
  padding: 40px 0 140px;
}

.works-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.works-row::after {
  content: "";
  width: 31.5%;
}

.works-item {
  display: block;
  width: 31.5%;
  margin-bottom: 30px;
}

.works-img {
  margin-bottom: 10px;
}

.works-ttl {
  font-weight: 500;
  text-align: center;
}

.about .ttl-01,
.works .ttl-01,
.contact .ttl-01 {
  text-align: center;
  color:#9966fa;
  font-family: "Damion", cursive;

}


.button-container {
  text-align: center; /* 子要素（ボタン）を中央揃えにする */
}

.contact-button {
  display: inline-block; /* ボタンらしい外観をキープ */
  padding: 10px 20px;
  background-color: #9966fa;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
}

.contact-button:hover {
  background-color: #005ea6;
}

/*-------------------------------------------
contact
-------------------------------------------*/
.contact {
  background: #e9e9e9;
  text-align: center;
}

.contact-txt {
  margin-bottom: 30px;
}

.contact-button {
  border-radius: 100px;
  width: 200px;
  background-color: #9966fa;
  color: #fff;
  padding: 16px 16px;
  margin: 35px 0 0 0; 
  text-align: center;
}

/*-------------------------------------------
footer
-------------------------------------------*/
.footer {
  text-align: center;
  padding: 20px 0;
}

.footer-copy {
  font-size: 1.2rem;
}


/*-------------------------------------------
SPのみ適用
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .sp-none {
    display: none;
  }
  body {
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
  }

  .section {
    padding: 40px 0;
  }
  
  .ttl-01 {
    font-size: 28px;
  }
/*-------------------------------------------
header
-------------------------------------------*/
  .header {
    height: 90px;
    display: flex;
    padding: 10px 4% 0;
  }

  .header-list {
    justify-content: center;
  }

  .header-ttl {
  font-size: 34px;
  text-align: center;
  margin-top: -10px;
  }  

/*-------------------------------------------
about
-------------------------------------------*/
  .about-row {
    display: block;
  }

  .about-img {
    width: 100%;
    max-width: 210px;
    margin: 0 auto 20px;
  }
  
  .about-unit {
    width: 100%;
  }
/*-------------------------------------------
works
-------------------------------------------*/
  .works-item {
    width: 100%;
    margin-bottom: 30px;
  }
}


/* ハンバーガーが開いた状態（X印）のスタイル */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* メニューリストが開いた状態のスタイル */
.header-list.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*-------------------------------------------
 gallery.html の基本スタイル 
 -------------------------------------------*/

.gallery-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.work-item {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: calc(50% - 20px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.work-item img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
}

.work-title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #cfcfcf;
}

.work-description {
  padding: 0 10px 10px;
  font-size: 1em;
  color: #696969;
}

/* gallery.html 背景 */
body.gallery-bg {
  background-color: #fefefe;
  margin: 0;
  padding: 20px;
}

.site-header p {
  text-align: center;
  margin: 0 0 15px 0;
  color: #696969;
}

p {
  font-family: "Yu Gothic", "Meiryo", "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ ProN", "ヒラギノUD丸ゴ", sans-serif !important;
   /* 少し太めにすると丸ゴシック風に見えます */
}