﻿@charset "utf-8";

/* リセットCSS */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: 15.5px; /* フォントサイズを調整 */
	font-family: 'Meiryo', 'Yu Gothic', sans-serif;
	color: #333; /* テキストカラー */
	background-color: #fcfcfc;
}

/* タイトル要素のスタイル調整 */
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, table {
	margin-top: 0;
}

/* 段落の行間調整 */
p {
	line-height: 1.6;
}

/* 画像の最大幅を制限 */
img {
	max-width: 100%;
	vertical-align: bottom;
}

/* リンクのカラー設定 */
a {
	color: #8DC4D5; /* リンクカラー */
	text-decoration: none;
}


a:hover {
	color: #333; /* ホバー時のリンクカラー */
}

/* wrapper */
.wrapper {
	width: 100%; /* 幅を100%に変更 */
	margin: 0 auto;
}

/* header */
header {
	margin-bottom: 30px; /* マージンを調整 */
	background-color: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* ヘッダーに影を追加 */
}

.header-logo {
	background-color: #8DC4D5;
	margin-bottom: 0;
	text-align: center;
	padding: 20px 0; /* 上下のパディングを追加 */
}

.header-logo a {
	text-decoration: none;
	color: #000; /* ロゴのテキストカラーを変更 */
}

.header-logo a:hover {
	opacity: 0.8; /* ホバー時の透明度を調整 */
}

/* nav */
nav {
	margin-bottom: 30px;
}

.global-nav {
	display: flex;
	justify-content: center;
	margin-bottom: 0;
}

.global-nav__item {
	flex: 1; /* 幅を均等に分割 */
	box-sizing: border-box;
	border-bottom: dotted 1px ;
}

.global-nav__item a {
	display: block;
	padding: 15px 0; /* パディングを調整 */
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	color: #a3a3a3; /* メニューテキストのカラー */
	transition: color 0.2s; /* カラーチェンジのトランジションを追加 */
}

.global-nav__item a:hover {
	color: #8DC4D5; /* ホバー時のカラーを変更 */
}

/* container */
.container {
	padding: 20px 0 50px; /* 上下のパディングを調整 */
}

.welcome {
	font-family: 'Acme', sans-serif;
	font-size: 3rem;
	text-align: center;
	margin-top: 48px;
	color: #8DC4D5; /* ウェルカムテキストのカラーを変更 */
}

#works__title {
	margin-top: 12px;
}

.menu-title {
	font-family: 'Teko', sans-serif;
	font-size: 2.3rem;
	margin-bottom: 0;
	margin-top: 48px;
	color: #333; /* メニュータイトルのカラー */
}

.menu-list__item2 a:hover {
	opacity: 0.7; /* ホバー時の透明度を調整 */

	
}
.menu-list__item2 {
	
	font-size: 1.25rem;
	text-align: center;
	color: #000000 ;
}

/*WorksとPortfolioの調整*/
.works-list {
	display: grid;
}

/* メニューリストのスタイルを調整 */
.menu-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px; /* グリッド間の間隔を調整 */
}

.menu-list__item {
	border: solid 3px #603813;
	border-radius: 0.75rem;
	font-size: 1.25rem;
	text-align: center;
	background-color: #8DC4D5;
	transition: background-color 0.2s;
}


.menu-list__item p {
	display: block;
	padding: 1.5rem 2rem;
	color: #fff;
	text-decoration: none;
}

.menu-list__term,
.menu-list__description {
	display: block;
}

.menu-list__term {
	margin-bottom: 10px;
	font-weight: bold;
}

.menu-list__description {
	font-size: 0.95rem;
	text-align: center;
	line-height: 1.7;
}

.menu-list img {
	width: 80%;
	margin: 20px auto; /* 画像のマージンを追加 */
}

.menu-list__item2{
	padding-left: 1rem;
}

/* about */
.about {
	background-color: #8DC4D5;
	color: #fff;
	padding: 20px;
	border: 3px solid #000;
	border-radius: 0.75rem;
	margin-top: 30px; /* 上部のマージンを調整 */
}

.yokonarabi {
	display: flex;
	justify-content: center;
}

/* about横並び */
.flex {
	display: flex;
	align-items: center; /* 横方向に中央揃え */
	text-align: center; /* テキストを中央揃え */
  }
  
  .flex .image {
	width: 90%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
  }
  
  .flex .right {
	width: 90%;
	margin: 0 20px 0; /* 上部のマージンを追加 */
	padding: 0;
	text-align: left; /* テキストを左寄せ */
  }

  .flex .title{
	font-size: 30px;
	color: #603813;
	border-bottom: dashed 1px  #603813 ;
	margin-bottom: 10px;
	
	font-family: 'M PLUS 1p', sans-serif;
	
  }

  .flex .text{
 line-height: 1.3;
  }
  

/* footer */
.footer-nav {
	display: flex;
	justify-content: center;
	margin-bottom: 30px; /* 下部のマージンを調整 */
	font-size: 14px;
}

.footer-nav__item {
	padding: 0 1rem;
}

.footer-nav__item a:hover {
	color: #333; /* ホバー時のカラーを変更 */
}

.copy {
	padding: 10px 0;
	margin-bottom: 0;
	color: #fff;
	text-align: center;
	background-color: #8DC4D5;
}

/* utility */
.nav {
	padding-left: 0;
	list-style-type: none;
}

.nav a {
	text-decoration: none;
}

.ps-title-color {
	color: #6d6db6;
}

.main-color {
	color: #8DC4D5;
}

.logo-color {
	color: #000;
	text-align: center;
}

/* レスポンシブデザイン用のメディアクエリ */
@media screen and (max-width: 980px) {
	.wrapper {
		width: 100%;
		padding: 0 20px; /* 左右のパディングを追加 */
	}

	.global-nav__item {
		width: 33.33%; /* 幅を変更 */
	}

	.container {
		padding: 20px 0; /* 上下のパディングを変更 */
	}

	.menu-list {
		grid-template-columns: repeat(2, 1fr); /* グリッドの列数を変更 */
		gap: 15px; /* グリッド間の間隔を変更 */
	}

	.menu-list__item p {
		padding: 1rem; /* パディングを変更 */
	}

	.menu-title {
		font-size: 2rem; /* フォントサイズを変更 */
	}
	.menu-list__item2{
	padding-left: 0; /* フォントサイズを変更 */
}

	.about {
		margin-top: 20px; /* 上部のマージンを変更 */
	}
	.flex .title{
		font-size: 25px;
		color: #603813;
		border-bottom: dashed 1px  #603813 ;
		margin-bottom: 10px;
		
		font-family: 'M PLUS 1p', sans-serif;
		
	  }
	

}

@media screen and (max-width: 870px){
	.flex {
		display: flex;
		flex-direction: column; /* 要素を縦に配置 */
		align-items: center; /* 横方向に中央揃え */
		text-align: center; /* テキストを中央揃え */
	  }
	  
	  .flex .image {
		width: 90%;
		margin: 0;
		padding: 0;
		overflow: hidden;
		position: relative;
	  }
	  
	  .flex .right {
		width: 90%;
		margin: 20px 0 0; /* 上部のマージンを追加 */
		padding: 0;
		text-align: left; /* テキストを左寄せ */
	  }
	  
}

@media screen and (max-width: 600px) {
	.menu-list {
		grid-template-columns: repeat(1, 1fr); /* グリッドの列数を変更 */
	}
	.flex {
		display: flex;
		flex-direction: column; /* 要素を縦に配置 */
		align-items: center; /* 横方向に中央揃え */
		text-align: center; /* テキストを中央揃え */
	  }
	  
	  .flex .image {
		width: 90%;
		margin: 0;
		padding: 0;
		overflow: hidden;
		position: relative;
	  }
	  
	  .flex .right {
		width: 90%;
		margin: 20px 0 0; /* 上部のマージンを追加 */
		padding: 0;
		text-align: left; /* テキストを左寄せ */
	  }
	  .flex .text{
		font-size: 14px;
	  }
}
