@charset "utf-8";

/* 共通設定 */

:root {
  --main-color: #F4EDE4;
  --accent-color: #c77a84;
  --accent-color-2: #75B1A9;
  --sub-color: #B7A99A;
  --sub-color-02: #ACD0C0;
  --text-color: #4A403A;

  --header-h: 80px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;

  --font-section-top:"Poppins", sans-serif;
  --font-text:'Noto Sans JP', sans-serif;
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--main-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
 list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.6;
}

/* コンテナ設定共通 */

.w-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}


/* セクション設定共通 */

section {
  padding: var(--space-5) var(--space-2);
  text-align: center;
  scroll-margin-top: var(--header-h);
}
.section-title {
  font-size: clamp(32px, 6vw, 80px);
  color: var(--accent-color);
  text-shadow: 3px 3px 5px rgba(0,0,0,0.2);
  margin-bottom: var(--space-4);
}

/* セクションタイトルTOP設定共通 */
.about-top,
.works-top,
.contact-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
/* Toplineの装飾 */
.section-top-line {
  flex: 1;
}
.section-top-line span {
  display: block;
  height: 4px;
  margin-bottom: 10px;
  transform: skewX(-40deg);
}
.section-top-line span:nth-child(1),
.section-top-line span:nth-child(3) {
  background: var(--sub-color);
}
.section-top-line span:nth-child(2) {
  background: var(--accent-color);
}

.section-title {
  font-family: var(--font-section-top);
  font-weight: 100;
}

/* 共通設定終了 */

/* ヘッダー開始 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 15px -5px #777;
  border-bottom: 1px solid var(--text-color);
  z-index: 9999;
}

/*  background: transparent; background: rgba(255,255,255,0.9); box-shadow: 0 0 15px -5px #777;  border-bottom: 1px solid var(--text-color); */

.header-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-2);
}

.header-logo img {
  height: 50px;
}

/* メニュー（PC） */

.menu-link-text {
  display: flex;
  gap: var(--space-3);
  font-size: 20px;
  color: #777;
}

/*  ハンバーガーボタン */

.menu-button {
  display: none;
}


/* ヘッダー終了 */

/* メインビジュアル開始 */

.main-visual {
  margin-top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
}

.main-visual-text {
  color: #ffffff;
}

.main-visual-text h1 {
  font-size: clamp(32px, 10vw, 80px);
}

.main-visual-text p {
  font-size: clamp(16px, 4vw, 28px);
}

/* メインビジュアル終了 */
/*---------- アバウト開始 ----------*/



.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  max-width: 900px;
  margin: 0 auto;
}

.profile {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.profile-text {
  text-align: left;
  max-width: 600px;
  line-height: 1.8;
}


.about-top img {
  max-width: 80%; 
  max-height: 80%;
  object-fit: cover;
  width: auto;
  height: auto;
}


/*.about-profile {
 width: 200px; 
 height: 200px;
 background-color: #ffffff;
 border-radius: 50%;
 padding: 20px;
 overflow: hidden; /* 中の画像が円からはみ出さないようにする 
 margin: 0 auto;
 display: flex;
 justify-content: center;
 align-items: center;
}

.about-profile img {
  max-width: 80%; 
  max-height: 80%;
  object-fit: contain; /* 切らずに全体を収める命令に変える 
  width: auto;
  height: auto;
}*/



.skill-title{
  display: inline-block;
  margin: 40px;
  padding: 10px 100px;       /* 中の余白（上下・左右） */
  font-size: 18px;         /* 少し小さくするとタグらしくなる */
  border-radius: 20px;     /* ここで角丸にする（大きい数字ほど丸くなる） */
  font-weight: bold;
  background-color: transparent; /* 背景を透明にする（消す） */
  border: 4px solid var(--accent-color);    /* アクセントカラーで2pxの太さの線をつける */
  color: var(--accent-color);               /* 文字の色も線の色と合わせる */
}

.skill-list li {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #777777; /* 下の線 */
}


/* アバウト終了 */
/* ワークス開始 */


.works-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  max-width: 1000px;
  margin: 0 auto;
}

.works-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid #777;
  display: block;
}

.works-text {
  text-align: left;
  margin-top: var(--space-2);
  color: var(--text-color);
}

.works-top img {
  max-width: 80%; 
  max-height: 80%;
  object-fit: cover;
  width: auto;
  height: auto;
}

.works-item {
  width: 100%;
}

.works-item p {
  margin-top: 10px;
  font-weight: bold;
}

.works-title {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #777777; /* 下の線 */
}

.works-category {
  font-size: 14px;
  color: var(--accent-color); /* アクセントカラーに合わせる例 */
  margin-bottom: 5px;
  margin-top: 5px;
  display: flex;       /* 横に並べる */
  gap: 10px;           /* タグ同士の隙間 */
  justify-content: left; 
}

.works-category span {
  display: inline-block;
  padding: 4px 12px;       /* 中の余白（上下・左右） */
  font-size: 12px;         /* 少し小さくするとタグらしくなる */
  color: #ffffff;          /* 文字色：白 */
  background-color: var(--accent-color); /* 背景色：アクセントカラー */
  border-radius: 20px;     /* ここで角丸にする（大きい数字ほど丸くなる） */
  font-weight: bold;
}

.works-description {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-color);
  margin-top: 10px;
  padding: 10px 0;
  border-top: 1px solid #777777;    /* 上の線 */
}

/* ワークス終了 */
/*コンタクト開始 */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: var(--space-4);
  border-radius: 20px;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

.form-item {
  margin-bottom: var(--space-3);
  text-align: left;
}

.form-item input,
.form-item textarea {
  width: 100%;
  padding: var(--space-2);
  border: 2px solid #ccc;
  border-radius: 6px;
}

.form-item textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: var(--space-2);
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.contact-top img {
  max-width: 80%;
  max-height: 80%;
  object-fit: cover;
  width: auto;
  height: auto;
}



/*コンタクト終了 */
/*フッター開始 */

footer {
  background: var(--sub-color);
  color: #fff;
  padding: var(--space-3);
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}


.footer-container ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-weight: 500;
  font-size: 24px;
  color: #ffffff;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

footer p {
  text-align: center;
  font-size: 14px;
  color: #ffffff;
}

/*フッター終了 */

/* ★スマホ用の調整 */

@media (max-width: 768px) {

/* モバイル版共通設定開始 */
:root {
    --header-h: 100px;
  }


body {
  overflow-x: hidden;
}

.w-container {
  width: calc(100% - 32px);
}


section {
  padding: 80px 16px;
}

/* 見出し統一 */
.section-title {
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1;
}

  /* セクション間の統一 */
.about-container,
.works-list,
.contact-form {
  gap: 24px;
}

#about,#works,#contact {
  margin-top: 100px;
}

.about-top,
.works-top,
.contact-top {
    gap: 12px;
}

.about-top img,
.works-top img,
.contact-top img {
    width: 140px;
}



/* モバイル版ヘッダー設定開始 */
.header {
  height: var(--header-h);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color:  rgba(255,255,255,0.9);
  box-shadow: 0 0 15px -5px #777777;
}

.header-container {
  padding-left: 20px;
  padding-right: 20px;
  height: 100%;
  flex-direction: row;            
  justify-content: space-between; 
  align-items: center;        
}

.header-logo img{
  width: 50px;
}


/* 下記にハンバーガーメニューの開閉時の設定と、デザインを設定 */

.menu-button {
  display: block; /*通常はhannbagerボタン表示して*/
  width: 50px;
  height: 50px;
  border: none;
  background-color: transparent;
  background-image: url(../images/bars-solid-full.svg);/*通常はhannbagerボタンにして*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

.menu-button.active {
  background-image: url(../images/xmark-solid-full.svg); /*Activeの時はXボタンにして*/
}

.menu-screen {
  display: none; /*モバイルの通常はスクリーン（メニュー欄）は消す*/
  position: fixed; /*ヘッダー外にメニューを出して、画面に固定する*/
  top: var(--header-h); /*ヘッダーの下に固定する*/
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-h)); /*スクリーンの高さ100vh(画面いっぱいからヘッダーを引いた高さが、スクリーンの高さになる)*/
  background-color: rgba(183, 169, 154, 0.9);
}

.menu-screen.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.menu-link-text {
  flex-direction: column;
  gap: var(--space-3);
  padding-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.about-container {
   flex-direction: column;
}

.works-list {
  grid-template-columns: 1fr;
}

.section-title {
  font-size: 32px;
}

  /* モバイル版　footer の設定開始 */

.footer-container ul {
  font-size: 14px;
  gap: 12px;
}

.footer-logo img {
  height: 36px;
}


/* モバイル版ヘッダー設定終了 */
/* モバイル版　ABOUT の設定開始 */



}



