@charset "utf-8";
/* CSS Document */

/* 全体リセット */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Mamelon', sans-serif;
  color: #292929;
  background-color: #ffffff;
  line-height: 1.6;
}

@font-face {
  font-family: 'Mamelon';
  src: url('Mamelon-3-Hi-Regular.woff2') format('woff2'),
       url('Mamelon-3-Hi-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ナビゲーション */
.navbar {
  background-color: rgba(255, 247, 178, 0.4); /* #fff7b2 with 40% opacity */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5% 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 4%;
}

.nav-menu a {
  text-decoration: none;
  color: #292929;
  font-weight: bold;
  font-size: 2.3vw;
  border: none;
}

.nav-item {
	background-color: #ffffff;
	border-radius: 50px;
	aspect-ratio: 4 / 1; /* ボタンの比率を維持 */
	width: 20%;
	align-items: center;
    justify-content: center;
	cursor: pointer;
	text-align: center;
	padding-top: 1%;
}

/* トップ画像 */
.hero {
  margin-top: 8%; /* fixed nav height compensation */
  text-align: center;
}

.hero-img {
  width: 75vw;
  height: auto;
}

.hero-img-sp {
	display: none;
}

/* 制作物セクション */

.donut-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at center, #4b2e1e 40%, #3b1e0e 100%);
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.donut-btn:hover {
  transform: scale(1.1);
}

/* スプリンクルっぽい装飾 */
.donut-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-image: 
    radial-gradient(circle, #ff4d4d 2px, transparent 2px),
    radial-gradient(circle, #ffe066 2px, transparent 2px),
    radial-gradient(circle, #5cd65c 2px, transparent 2px),
    radial-gradient(circle, #66b3ff 2px, transparent 2px);
  background-size: 20px 20px;
  background-position: 5px 5px,15px 25px,25px 10px,10px 30px;
  pointer-events: none;
	z-index: 1;
}


.section-heading {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 2.5vw;
  margin-bottom: 2em;
}

.section-heading h2 {
  font-size: 2.5vw;
  font-weight: 600;
  color: #292929;
  margin: 0;
}

.left-line {
   width: 8vw;
  height: 2px;
  background-color: #292929;
	margin-top: 1.4%;
}


.works {
  padding: 2em 1em;
  text-align: center;
}


.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* この警告は無視して大丈夫そう。*/
  gap: 2em;
  width: 100%;
  margin: 0 auto;
}

.work-item {
  background: #fdfdfd;
  padding: 1em;
  border: 1px solid #eee;
  border-radius: 8px;
}

.work-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 0.5em;
}

.work-item2 {
	background: #fff7b2;
  padding: 1em;
  border: 1px solid #eee;
  border-radius: 8px;
}

.work-item2 img {
	 width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 0.5em;
}


.button {
  display: inline-block;
  margin-top: 0.5em;
  padding: 1em 1em;
  aspect-ratio: 4 / 1; 
  background-color: #ffffff;
  color: #292929;
  border: 2px solid #292929;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #fffbb0;
}

/* 私についてセクション */

.section-heading1 {
	display: none;
}

.about-me-img {
	width: 75vw;
    height: auto;
	display: block;
   margin: 0 auto;
}

.about-me-img-sp {
	display: none;
}

.about-me-contents {
	position: relative;
	text-align: center; /* ボタン中央寄せ */
}

.button1 {
  display: inline-block;
  margin-top: 0.5em;
  padding: 1em 1em;
  aspect-ratio: 4 / 1; 
  background-color: #ffffff;
  color: #292929;
  border: 2px solid #292929;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  position: absolute;
  bottom: 10%;     
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
	font-size: 2.5vw;
}

.button1:hover {
  background-color: #fffbb0;
}

/* 学習の記録セクション */

.section-heading2 {
	display: none;
}

.record {
	position: relative;
	text-align: center; /* ボタン中央寄せ */
    max-width: 100vw;
}

.record-of-learning-img {
	width: 75vw;
    height: auto;
	display: block;
	margin: 0 auto;
}

.record-of-learning-img-sp {
	display: none;
}


.button2 {
  display: inline-block;
  margin-top: 0.5em;
  padding: 1em 1em;
  aspect-ratio: 4 / 1; 
  background-color: #ffffff;
  color: #292929;
  border: 2px solid #FFf7b2;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  position: absolute;
  bottom: 0.9%;     
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 2vw;
  
}

.button2:hover {
  background-color: #fffbb0;
}

/* お問い合わせセクション */

.contact-section {
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  text-align: center;
  width: 75vw;
	margin: 0 auto;
}

.contact-bg {
  width: 75vw;
  height: auto;
  display: block;
	margin: 0 auto;
}


.mail-button {
  display: inline-block;
  padding: 1em 1em;
  aspect-ratio: 9 / 1; 
  background-color: #bdebff;
  color: #292929;
  border: 2px solid #696969;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  position: absolute;
  bottom: 45%;     
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 2vw;
}

.mail-button:hover {
  background-color: #ffffff;
}

@media screen and (max-width: 480px) {
	
	/* ナビゲーション */
.navbar {
  background-color: rgba(255, 247, 178, 0.4); /* #fff7b2 with 40% opacity */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5% 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 4%;
}

.nav-menu a {
  text-decoration: none;
  color: #292929;
  font-weight: bold;
  font-size: 2.3vw;
  border: none;
  text-align: center;
}

.nav-item {
	background-color: #ffffff;
	border-radius: 50px;
	aspect-ratio: 4 / 1; /* ボタンの比率を維持 */
	width: 20%;
	align-items: center;
    justify-content: center;
	cursor: pointer;
	text-align: center;
	padding-top: 1%;
}

	
	/* トップ画像 */
	
	.hero-img {
		display: none;
	}
	
	.hero-img-sp {
		display: block;
		width: 100vw;
		height: auto;
	}
	
	/* 制作物紹介セクション */
	
.donut-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at center, #4b2e1e 40%, #3b1e0e 100%);
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.donut-btn:hover {
  transform: scale(1.1);
}

/* スプリンクルっぽい装飾 */
.donut-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-image: 
    radial-gradient(circle, #ff4d4d 2px, transparent 2px),
    radial-gradient(circle, #ffe066 2px, transparent 2px),
    radial-gradient(circle, #5cd65c 2px, transparent 2px),
    radial-gradient(circle, #66b3ff 2px, transparent 2px);
  background-size: 20px 20px;
  background-position: 5px 5px,15px 25px,25px 10px,10px 30px;
  pointer-events: none;
	z-index: 1;
}
	
	.section-heading {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 2.5vw;
  margin-bottom: 2em;
}

.section-heading h2 {
  font-size: 5vw;
  font-weight: 600;
  color: #292929;
  margin: 0;
}

.left-line {
   width: 8vw;
  height: 2px;
  background-color: #292929;
	margin-top: 2.5%;
}
	
	/* 私についてセクション */
	
	.section-heading1 {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 2.5vw;
  margin-bottom: 2em;
}

.section-heading1 h2 {
  font-size: 5vw;
  font-weight: 600;
  color: #292929;
  margin: 0;
}

.left-line1 {
   width: 8vw;
  height: 2px;
  background-color: #292929;
	margin-top: 2%;
}
	
	.about-me-img {
		display: none;
	}
	
	.about-me-img-sp {
		width: 100vw;
        height: auto;
	    display: block;
	}
	
	.button1 {
  display: inline-block;
  margin-top: 0.5em;
  padding: 1em 1em;
  aspect-ratio: 4 / 1; 
  background-color: #ffffff;
  color: #292929;
  border: 2px solid #292929;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  position: absolute;
  bottom: 2.5%;     
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 4vw;
	}
	
  /* 学習の記録セクション */
	
	
.section-heading2 {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 2.5vw;
  margin-bottom: 1em;
  margin-top: 1em;
}

.section-heading2 h2 {
  font-size: 5vw;
  font-weight: 600;
  color: #292929;
  margin: 0;
}

.left-line2 {
   width: 8vw;
  height: 2px;
  background-color: #292929;
	margin-top: 2%;
}
	
	.record-of-learning-img {
		display: none;
	}
	
	.record-of-learning-img-sp {
		display: block;
		width: 100vw;
        height: auto;
	    margin: 0 auto;
	}
	
	.button2 {
  display: inline-block;
  margin-top: 0.5em;
  padding: 1em 1em;
  aspect-ratio: 4 / 1; 
  background-color: #ffffff;
  color: #292929;
  border: 2px solid #292929;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  position: absolute;
  bottom: 2%;     
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 3vw;
	}
	
	/* お問い合わせセクション */

.contact-section {
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  text-align: center;
  width: 100vw;
	margin: 0 auto;
}

.contact-bg {
  width: 100vw;
  height: auto;
  display: block;
	margin: 0 auto;
}
	
}