* {
	box-sizing: border-box;
}

html{
	max-width: 100%;
	background-color: #FCFAF4;
	color: #333333;
	font-size: 16px;

	overflow-x: hidden;
}

body{
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-weight: 700;
	font-style: normal;
	line-height: 1.6;
	overflow-x: hidden;
}

.biz-udmincho{
	font-family: "biz-udmincho", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.fw-light{
	font-weight: 400;
}

.fs-subhead {
	font-size: 1.5rem; /* 24px相当 */
}

.fs-heading {
	font-size: 2.2rem; /* 35px相当 */
}

.fs-title{
	font-size: 3rem;	/* 48px相当 */
}

.fs-display{
	font-size: 4.5rem;/* 72px相当 */
}

body:not(.index) main {
  padding-left: 100px;
  padding-right: 100px;
}

/* index.htmlの場合は余白なし */
body.index main {
  padding-left: 0;
  padding-right: 0;
}

img{
	max-width: 100%;
}

.pc-only{
	display: inline!important;
}

.tab-only{
	display: none!important;
}

.sp-only{
	display: none!important;
}

.pctab-only{
	display: inline!important;
}

/*改行用*/
.break{
	display: inline;
}

.underline{
	text-decoration: underline dashed #BF2121 1px;
    text-underline-offset: 5px;
    text-decoration-skip-ink: none;
}

.spacer {
	display: block;
    margin-bottom: 1rem;
}

/*TOPへ戻るボタン*/
#back-to-top {
  position: fixed;
  bottom: 30px; /* 画面下からの距離 */
  right: 30px;  /* 画面右からの距離 */
  padding: 30px 30px;
  font-size: 18px;
  border: none;
  border-radius: 50%;
  background-color: #F2F0E9; /* お好みで */
  color: #333;
  cursor: pointer;
  border: 2px solid #555; /*外枠の線*/
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: none; /* 初期は非表示 */
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#back-to-top::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-left: 3px solid #333;
	border-bottom: 3px solid #333;
	transform: translate(-50%, -50%) rotate(135deg); /* 上向きVにする */
	position: absolute;
	top: 55%;
	left: 51%;
}

#back-to-top:hover {
  background-color: #F5E6DA;
}

#back-to-top.show{
	opacity: 1;
	visibility: visible;
}

/************************************表示中************************************/

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

#loading-screen .main-visual{
	background-image: url(img/main_pc.jpg);
	background-size: cover;
	background-position: right;
	width: 100%;
	height: 100vh;
	margin: 0;
}

#loading-screen .loading-text {
	position: absolute;
	color: white;
	z-index: 2;
	text-align: center;
	font-size: 3rem;

	top: 70%;                 /* 縦位置を中央より下に */
	left: 50%;
	transform: translate(-50%, -50%); /* 横中央と微調整の縦位置 */
}

/* 初期状態（文字） */
.mv-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 文字フェードイン */
.mv-text.show {
  opacity: 1;
  transform: translateY(0);
}


/***************************************index***************************************/
/*ヘッダー*/
header{
	width: 100%;
	height: 100px;

	display: flex;
	align-items: center;
	padding-right: 2%;

	position: absolute;
	top: 50px;
	left: 0;
	z-index: 100;
}

header .logo{
	width: clamp(50px, 10vw, 70px); /* 50px〜70pxで画面幅に応じて変化 */
	height: auto;
	margin-left: clamp(30px, 5vw, 70px); /* 左余白も一緒に可変 */
}

header > :first-child{
	margin-right: auto;
}

.nav{
	display: flex;
	gap: 70px;
	align-items: center;
	margin-right: 30px;
	white-space: nowrap;
}

/*ココナラ　ロゴ*/
.icon-coconala img{
	width: clamp(70px, 10vw, 90px); /* 70px〜90pxで画面幅に応じて変化 */
	height: auto;
}

/*メインビジュアル*/
.main-visual{
	background-image: url(img/main_pc.jpg);
	position: relative;
    background-size: cover;
	background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    height: 100vh;
}

.main-visual::before {
  content: "";
  position: absolute;
  inset: 0; /* top, right, bottom, left を全部0に */
  background: rgba(255, 255, 255, 0.5); /* 白フィルター */
  z-index: 1;
}

.index h1{
	position: absolute;
	top: 30%;
	left: clamp(10%, 20vw, 20%);
	width: auto;

	color: #3C2910;
	line-height: 1.2;
	letter-spacing: 1.5vw;
	font-size: clamp(40px, 5vw, 72px);

	z-index: 10;
}

.index h1 .line2{
	display: block;
	text-indent: 5rem;
	word-break: keep-all;
}

.main-visual img{
	position: absolute;
	bottom: 10px;
	right: 10px;
}

/*セクションタイトル*/
.section-title{
	padding-bottom: 100px;
	display: inline-block;
	line-height: 1.2;
}

.sub-title{
	display: flex;
	align-items: center;
	text-align: center;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
}

.sub-title::before,
.sub-title::after{
	content: "";
	flex: 1;
	border-bottom: 1px solid;
	margin: 0 20px;
}

.section-title .index h2{
	width: fit-content;
}

.section-title + img{
	display: block;
}

/*デザインしたもの*/
.works{
	padding: 150px 100px 0;
	padding-bottom: clamp(50px, 5vw, 150px);
}

.work-list{
	display: flex;
	align-items: center;
	gap: clamp(20px, 15vw, 100px); /*最小値　理想値　最大値*/

	padding-bottom: 100px;
}

.work-list p {
  margin-bottom: 13px;
}

.work-img{
	height: auto;
	flex: 0 0 60%;
	width: 40%;
	object-fit: cover;
}

.work-list > div{
	display: flex;
	flex-direction: column;
	flex: 1;
	position: relative;
}

.text-muted{
	color: rgba(51, 51, 51, 0.5);
}

.more{
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding-bottom: 3px;
	position: relative;
	margin-left: auto;
}

.more img{
	width: 20px;
	height: 7px;
	flex-shrink: 0;
}

.more::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;                 /* テキストの下に配置 */
  width: 100%;               /* 画像＋文字を含む全体に線を引く */
  height: 2px;               /* 線の太さ */
  background-image: repeating-linear-gradient(
    to right,
    #BF2121 0 8px,           /* 実線の長さ */
    transparent 8px 12px     /* 隙間の長さ */
  )
}

.more-btn{
	display: flex;
	width: fit-content;
	align-items: center;
	margin: 0 auto;
	gap: 3px;
	padding: 40px 80px;
	border: 1px solid #333333;       /* 周りの線 */
	border-radius: 50px;              /* 角丸 */
}

/*about*/
.about{
	padding: 150px 100px 0;
}

.about-content{
	display: flex;
	align-items: center;
	gap: clamp(20px, 15vw, 100px); /*最小値　理想値　最大値*/

	padding-bottom: 150px;
}

.about-content img{
	height: auto;
	flex: 0 0 50%;
	width: 50%;
	object-fit: cover;
}

/*contact*/
.contact{
	margin-top: 200px;
	margin-bottom: 200px;
	padding: 200px 50px 0;
	height: 800px;

	background-image: url(img/contact.jpg);
    background-size: cover;
    background-position: center center;
}

#contact .section-title{
	padding-bottom: 50px;
}

.contact-info p{
	padding-bottom: 30px;
}

.contact p.no-margin{
	padding-bottom: 0;
}

.contact-info{
	padding-bottom: 50px;
}

.coconala-link{
	display: flex;
}

.icon-arrow{
	width: 20px;
	height: auto;
}

.contact-logo-cocolana{
	width: 150px;
	height: auto;
}

.adress div{
	gap: 8px;
	display: flex;
	align-items: center;
	margin-top: 10px;
}

.adress img{
	width: 40px;
	margin-top: 3px;
}


/****************************************work index****************************************/
/*work index*/
.works-index header{
	margin-top: 5%;
	margin-bottom: 100px;
	align-items: center;
	position: static;
}

.works-index .title{
	line-height: 1.2;
	margin-bottom: 50px;
	width: fit-content;
}

.title-menu-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;      /* 縦方向の中央揃え */
	gap: 40px;                /* タイトルとメニューの間隔 */
  	margin-bottom: 100px;
}

.menu{
	display: flex;
	gap: 50px;
}

.works-index .menu-btn{
	top: calc(10px + (-15 - 10) * (100vw - 1028px) / (501 - 1028));
}

.works-index section{
	margin-top: 50px;
	margin-bottom: 100px;
}

/*works-index WEBサイト*/
.works-index article{
	display: flex;
	flex-direction: column;
	flex: 1 1 50%;
}
.works-index .section-title {
  position: relative;
  width: 100%; /* 親の横幅いっぱい */
}

.section-nav-btn{
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 5px;
	padding: 5px 15px;
	border: 1px solid #333333;       /* 周りの線 */
	border-radius: 50px;
}

.section-nav-btn img{
	width: 20px;
}

article img{
	width: 100%;
	margin-bottom: 50px;
}

.more img{
	max-width: 100%;
	margin-bottom: 0px;
}

.website-list{
	display: flex;
	gap: 50px;
}

.website-list p{
	margin-bottom: 13px;
}

/*works-index バナー*/
.banner-list{
	display: flex;
	gap: 50px;
	max-width: calc(50vw - 50px - 100px);
}


.banner-list img{
	width: 100%;
	height: auto;
}

.banner-list p{
	margin-bottom: 13px;
}

.banner-list .more img{
	width: 20px;
}


/**************************************work1**************************************/
/*ヘッダー*/
.work header{
	margin-top: 80px;
	align-items: center;
	position: static;
}

.work .section-title{
	margin-top: 100px;
	padding-bottom: 50px;
}

.work main{
	line-height: 2.0;
}

.work main h2{
	line-height: 27px;
}

.work section{
	padding-bottom: 200px;
}

.scroll-container {
	width: 100%;
	max-width: 1236px;
	aspect-ratio: 1236 / 800;
	margin: 0 auto;
	overflow-y: auto;
	border: 20px solid #F5E6DA;
	border-radius: 20px;
}

.scroll-container img{
	width: 100%;
	height: auto;
	display: block;
}

.work-title{
	margin-top: 100px;
	margin-bottom: 50px;
}

.work-description{
	margin-bottom: 50px;
}

.work-info h3{
	margin-top: 25px;
}

.work-info p{
	margin-bottom: 25px;
}

.work-details{
	padding-top: 80px;
	display: flex;
	flex-direction: column;
}

.work-item{
	display: flex;
	padding-top: 100px;
	padding-bottom: 100px;

	border-top: 1px solid #ccc;
}

.work-item h3{
	flex: 0 0 150px;
}

.work-item:last-of-type{
	border-bottom: 1px solid #ccc;
}

details{
	padding-bottom: 100px;
}

details p{
	margin-bottom: 50px;
}

details summary{
	list-style: none;
	cursor: pointer;
	position: relative;
	text-align: center;

	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	border-radius: 50%;
	border: 2px dashed #BF2121;/* 背景色 */
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;;
}

details summary::before,
details summary::after {
  content: "";
  position: absolute;
  background-color:rgba(60, 41, 16, 0.8); /* 線の色 */
  transition: all 0.2s;

}

details summary::before {
	width: 20px;    /* 横線 */
	height: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

details summary::after {
	width: 2px;     /* 縦線 */
	height: 20px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(0deg);
	transition: transform 0.3s ease;
}

/* 開いたときに縦線を消してマイナスにする */
details[open] summary::after {
	transform: translate(-50%, -50%) rotate(90deg); /* 横に回転させて消す */
}

/* 開いたときの下余白 */
details[open] summary {
	margin-bottom: 100px; /* 下の文章との距離を調整 */
}

.return-btn{
	display: flex;
	width: fit-content;
	align-items: center;
	margin: 0 auto;
	margin-bottom: 100px;

	gap: 3px;
	padding: 20px 40px;
	border: 1px solid #333333;       /* 周りの線 */
	border-radius: 50px;
}

/*********************work3*********************/
.img-banner{
	width: 1236px;
}

/******************************************about******************************************/
#about header{
	margin-top: 5%;
    margin-bottom: 100px;
    align-items: center;
    position: static;
}

#about .menu-btn{
	top: calc(10px + (-15 - 10) * (100vw - 1028px) / (501 - 1028));
}

#about .nav{
	margin-right: 100px;
}

#about .title{
	line-height: 1.2;
	margin-bottom: 50px;
	width: fit-content;
}

#about section{
	padding-bottom: 200px;
	line-height: 1.8;
}

#about .section-title{
	padding-top: 200px;
	padding-bottom: 100px;
}

.profile{
	margin-bottom: 50px;
}

.profile-text{
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.profile img{
	width: 736px;
	max-width: 100%;

	display: block;
	margin: 0 auto 100px;
}

.name{
	text-align: center;
	margin-bottom: 50px;
}

/* 共通セクションアイテム */
.section-item {
    display: flex;
	max-width: 1200px;
    align-items: flex-start; /* 上揃え */
    gap: 50px;               /* 文章と画像の間の距離 */
    border: 1px solid #333;
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto 50px;
    box-shadow: 0 15px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.section-text{
	flex: 0 0 70%;
}

/* 画像部分 */
.section-item img {
    width: auto;
	max-height: 250px;
    flex-shrink: 0;   /* 縮まない */
    display: block;
    opacity: 0.2;
	margin: 0 auto;
	align-self: center;
}

#skills .section-item img{
	flex: 0 0 30%;
	width: 300px;
}

#values .section-item img{
	max-height: 200px;
}

/* h4の下のマージン */
.section-item h4 {
    margin-bottom: 25px;
}

/* リストのスタイル */
.section-item ul {
    list-style: disc;
    list-style-position: inside;
    margin-bottom: 20px;
    margin-left: 50px;
}

/* pタグの行間と左マージン */
.section-item p {
    line-height: 2.0;
    margin-left: 50px;
    margin-bottom: 20px;
}

#skills .section-item:last-of-type{
    margin-bottom: 150px;
}

#about .more-btn{
	padding: 30px 40px;
}

/* 大切にしていること */
#values{
	padding-top: 50px;
}

/* すきなもの */
#likes{
	margin-bottom: 100px;
}

.likes-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

 /* 2つ目は非表示 */
.slider-wrapper .likes-grid:nth-child(2) {
    display: none;
}

.like-item{
	position: relative;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 1/1;
}

.like-item::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0); /* 初期時は透明*/

	transition: background-color 0.3s ease;
	z-index: 1;
	box-sizing: border-box;
}

.like-item.active::before{
	background-color: rgba(255, 255, 255, 0.8);
}

.like-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.like-item.active img{
	transform: scale(1.05);
}

.caption{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%) ;
	color: #333;
	padding: 10px 0;
	border-radius: 10px;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease;

	width: 90%;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	z-index: 100;

	pointer-events: none;
}

.like-item.active .caption{
	opacity: 1;
}

.caption p{
	white-space: nowrap;
}

#about .return-btn{
	margin-bottom: 0;
}


/*********************footer*********************/
footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: #F5E6DA;

	padding-top: 50px;
	padding-bottom: 30px;
}

.footer-icon{
	display: flex;
	justify-content: center;
	align-items: center;

	padding-top: 20px;
	padding-bottom: 20px;
	gap: 20px;
}

footer .logo{
	width: 80px;
}

.logo-Instagram{
	width: clamp(40px, 5vw, 60px);
}

.logo-coconala{
	width: clamp(60px, 5vw, 85px);
}

footer .adress{
	margin-bottom: 20px;
}

footer .adress div{
	justify-content: center;
}

/********************************ハンバーガーメニュー********************************/
/* 初期状態は非表示 */
.hamburger-nav{
	display: none;

}

  	/* 見えるチェックボックスを消す（accessibilityを残す）*/
.nav-toggle{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
	/* ハンバーガーボタン（3本線）*/
.menu-btn{
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	height: 36px;
}

	/* 棒（span）*/
.menu-btn span{
	display: block;
	height: 3px;
	width: 100%;
	background-color: #333;
	border-radius: 2px;
	transform-origin: center;
	transition: transform 0.35s cubic-bezier(.2,.9,.3,1), opacity 0.2s ease, background-color 0.2s ease;
}

/* メニュー背景（初期は非表示） */
.menu{
	display: none;
	position: absolute;
	top: 100%;
	right: -40%;
	left: auto;
	width: auto;
	max-width: 90vw;
	background-color: #F5E6DA;
	box-shadow: 0 8px 24px rgba(0, 0, 0 , 0.12);
	border-radius: 8px;
	padding: 70px 12px 50px;
	text-align: center;
}

/* メニュー内のスタイル */
.menu ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu li{
	margin: 0;
	padding: 30px 0;
}

.menu a{
	color: #333;
	text-decoration: none;
	display: block;
}

.menu p{
	white-space: nowrap;
}

.menu .sub-title{
	max-width: 100%;
}

.menu .sub-title::before,
.menu .sub-title::after{
	margin: 0 10px;
}

.menu .menu-icon{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 50px;
}

.hamburger-title{
	margin: 0 auto;
	width: fit-content;
	line-height: 1.2;
}

/* チェックが入ったらメニュー表示 & アニメーション */
.nav-toggle:checked + .menu-btn + .menu{
	display: block;
}

/* ハンバーガー → × に変形 */
.nav-toggle:checked + .menu-btn > span:nth-child(1){
	transform: translateY(9px) rotate(45deg);
}

.nav-toggle:checked + .menu-btn > span:nth-child(2){
	opacity: 0;
	transform: scaleX(0.8);
}

.nav-toggle:checked + .menu-btn > span:nth-child(3){
	transform: translateY(-9px) rotate(-45deg);
}

/* フォーカス時の見た目（キーボードで操作可能） */
.menu-btn:focus,
.menu-btn:focus-visible{
	outline: 2px solid rgba(0, 0, 0, 0.12);
	outline-offset: 4px;
}


/***************************************レスポンシブ***************************************/
@media screen and (max-width:1205px) {

	/***************************************index***************************************/

	.caption p{
		white-space: normal;
    	word-break: break-word;     /* 古いブラウザ対応 */
	}

	.break{
		display: block;
	}
}

@media screen and (max-width:1028px) {

	/***************************************index***************************************/

	html{
		font-size: 15px;
	}
	.pc-only{
		display: none!important;
	}

	.tab-only{
		display: inline!important;
	}

	header{
		padding-right: 0;
	}

	.nav{
		display: none;
	}

	/*ココナラ　ロゴ*/
	.icon-coconala{
		padding-right: clamp(50px, 3vw, 100px);
	}

	.header-right{
		position: relative;
		display: flex;
		align-items: center;
		gap: 5px;
		margin-right: clamp(30px, 5vw, 70px);
	}

	.hamburger-nav{
		display: flex;
		flex-direction: column;
		max-width: 100%;
		align-items: center;
		display: block; /* ハンバーガーアイコン表示 */

		position: fixed;
		right: 25px;
		top: 70px;
		z-index: 3000;
	}

	.menu{
		z-index: 1000;
	}

	.menu-btn{
		width: 35px;
		position: absolute;
		top: 10px;
		right: 5px;
		z-index: 2000;
	}

	#loading-screen .main-visual{
		background-image: url(img/main_tab.jpg);
	}

	.main-visual{
		background-image: url(img/main_tab.jpg);
		margin-bottom: 50px;
	}

	.index h1{
		top: 40%;
		left: clamp(10%, 20vw, 15%);
		font-size: clamp(30px, 5vw, 48px);
	}

	.index h1 .line2{
		text-indent: 3rem;
	}

	.works{
		padding: 50px;
	}

	.work-list{
		gap: 20px;
		padding-bottom: 100px;
	}

	.more-btn{
		margin-top: 0;
		padding: 20px 30px;
	}

	.about{
		padding: 150px 50px 50px;
	}

	.about-content{
		gap: 80px;
	}

	.name{
		margin-bottom: 10px;
	}

	.contact{
		background-image: url(img/contact_tab.jpg);
		height: 750px;
		margin-top: 100px;
		margin-bottom: 150px;
	}

	.adress img{
		width: 25px;
	}

	footer{
		padding-top: 30px;
		padding-bottom: 20px;
	}

	footer .logo{
		width: 60px;
	}

	footer .logo-Instagram{
		width: 40px;
	}

	/***************************************works-index***************************************/

	.works-index .title{
		margin-bottom: 100px;
	}

	.works-index .section-title{
		padding-bottom: 50px;
	}

	.website-list{
		flex-direction: column;
		gap: 200px;
	}

	.banner-list{
		flex-direction: column;
		max-width: 100%;
	}

	.works-index section{
		margin-bottom: 200px;
	}


	/***************************************works***************************************/

	.work .menu-btn{
		top: 35px;
	}

	.work .section-title {
    	margin-top: 50px;
	}


	/***************************************about***************************************/
	#about .section-title{
		padding-top: 150px;
	}

	#values .section-item img {
   		max-height: 150px;
	}

	#about .title{
		margin-bottom: 100px;
	}
}

@media screen and (max-width:970px) {
	/***************************************about***************************************/
	#values .section-text{
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	#values .section-item{
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}

	#values .section-item img{
		width: 130px;
		order: -1;
	}

	#values .section-item p{
		margin-left: 0;
	}

	#values .section-text{
		flex: none;
		width: 100%;
		text-align: center;
	}

	.likes-grid {
	    grid-template-columns: repeat(2, 1fr);
	}

}

@media screen and (max-width:950px) {
	/***************************************about***************************************/
	#skills .section-item p:last-of-type {
	    white-space: nowrap; /* 改行させない */
	}

}

@media screen and (max-width:917px) {
	/***************************************about***************************************/
	#skills .section-item{
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}

	#skills .section-item img{
		order: -1;
		width: 130px;
	}

	#skills .section-text{
		flex: none;
		width: 100%;
		text-align: center;
	}

	#skills .section-item p{
		margin-left: 0;
	}

	.section-item ul {
		list-style-position: outside;
		padding-left: 1rem;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
		display: inline-block;/* 横幅がテキストに合わせて縮まる */
	}

	#skills .section-item p,
	.section-item ul {
    	margin-left: 0; /* pのmarginと揃える */
	}

}

@media screen and (max-width:900px) {
	/***************************************about***************************************/
	#values .section-item h4{
		text-align: center;
	}

	#values .section-text{
		text-align: left;
	}
}


@media screen and (max-width:830px) {
	/***************************************works-index***************************************/
	body:not(.index) main {
		padding-right: 50px;
		padding-left: 50px;
	}

	.works-index header {
		margin-bottom: 80px;
	}

	.works-index .title {
        margin-bottom: 80px;
    }

	.works-index section{
		margin-bottom: 150px;
	}

	.website-list{
		gap: 100px;
	}

		/***************************************works***************************************/
	.scroll-container{
		border: 15px solid #F5E6DA;
	}

	.work-title{
		margin-top: 80px;
	}

	.work section{
		padding-bottom: 150px;
	}

		/***************************************works***************************************/

	#about .more-btn{
		padding: 25px 30px;
	}

	/***************************************about***************************************/
	#about section{
		padding-bottom: 150px;
	}

	#about .section-title{
		padding-top: 100px;
		padding-bottom: 50px;
	}

	#about .title{
		margin-bottom: 80px;
	}

	#skills .section-item:last-of-type {
    	margin-bottom: 100px;
	}

}


@media screen and (max-width:669px) {
	/***************************************about***************************************/
	.profile-text{
		text-align: left;
	}
}

@media screen and (max-width:588px) {

	/*TOPへ戻るボタン*/
	#back-to-top {
		padding: 25px 25px;
	}

	/***************************************about***************************************/
	 /* 2つ目表示 */
	 .slider-wrapper .likes-grid:nth-child(2) {
    	display: flex;
	}

	/* スライダー全体 */
	.slider-wrapper {
		width: 100%;
  		display: flex; /* スライドのグループを横並び */
		width: max-content;
		padding: 0 30px;
		box-sizing: border-box;
	}

	/* スライドのグループ */
	.likes-grid {
  		animation: scroll-left 20s infinite linear .5s both;
  		display: flex;
		width: max-content;
		padding: 0 15px;
		box-sizing: border-box;
		animation-play-state: running;	/*タップ時に一時停止するため*/
	}

	/*停止用クラス*/
	.likes-grid.paused {
		animation-play-state: paused !important;
	}

	/* hover(マウスオーバー)で一時停止 */
	.slider-wrapper.acrive .likes-grid {
  		animation-play-state: paused;
	}

	/* スライド */
	.like-item{
		width: 230px;
		height: 230px;
		flex: 0 0 auto;
		position: relative;
		overflow: hidden;
		cursor: pointer;
	}

	/* スライドの画像 */
	.like-item img {
  		display: block;
  		width: 100%;
	}

	/* CSSアニメーション */
	@keyframes scroll-left {
  		0% {
    		transform: translateX(0);
  		}
  		100% {
    		transform: translateX(-100%);
  		}
	}
}


@media screen and (max-width:532px) {
	/***************************************about***************************************/
	.section-text p{
		text-align: left;
	}
}


@media screen and (max-width:500px) {
	/***************************************index***************************************/
	/*header*/
	header{
		top: 10px;
	}

	.hamburger-nav{
		top: 30px;
	}

	/*デザインしたもの*/
	.works{
		padding: 50px 30px;
	}

	.work-list{
		flex-direction: column;
		gap: 0;
		padding-bottom: 50px;
	}

	.work-img{
		width: 100%;
	}

	.text-muted{
		line-height: 1.2;
	}

	.more-btn{
		margin-top: 50px;
		padding: 20px 30px;
	}

	/*about*/
	.about .section-title{
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.about-content img{
		flex: none;
		width: 100%;
	}

	.about-content{
		flex-direction: column;
		gap: 30px;
		padding-bottom: 50px;
	}

	.index .name{
		text-align: center;
		margin-bottom: 20px;
	}

	/*contact*/
	.contact{
		background-image: url(img/contact_sp.jpg);
		padding: 150px 30px 0;
		height: 650px;
	}

	.contact-info{
		background-size: 20px auto;
		background-position: 0px 140px;
	}

	/*footer*/
	footer{
		padding: 30px 0 20px;
	}
	footer .logo{
		width: 50px;
	}

	.logo-Instagram{
		width: 40px;
	}

	.logo-coconala{
		width: clamp(50px, 5vw, 60px);
	}

	.adress img{
		width:30px;
	}

	/***************************************work index***************************************/

	body:not(.index) main{
		padding: 0 50px;
	}

	.works-index header {
		margin-bottom: 50px;
	}

	.works-index .menu-btn{
		top: 20px
	}

	/***************************************work***************************************/
	/*header*/
	.work header{
		margin-top: 35px;
	}

	.work .section-title {
		margin-top: 30px;
    }

	.scroll-container {
    	border: 10px solid #F5E6DA;
    }

	.work-item{
		flex-direction: column;
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.work-item h3{
		flex: none;
		margin-bottom: 10px;
	}

	.return-btn{
		padding: 15px 30px;
	}

		/***************************************about***************************************/
	#about header{
		margin-bottom: 50px;
	}

	#about .menu-btn{
		top: 20px;
	}
	.profile img{
		margin-bottom: 50px;
	}

}

@media screen and (max-width:476px) {
/***************************************index***************************************/
	/*MV*/
	.index h1{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) translateY(0);
	}

	.mv-text {
		transform: translate(-50%, -50%) translateY(20px); /* 中央寄せを残したままY移動 */
	}

	/*ローディング画面のキャッチコピー*/
	.mv-text.show {
		transform: translate(-50%, -50%) translateY(0); /* 中央寄せを残したままY移動 */
	}

	/***************************************about***************************************/
}

@media screen and (max-width:430px) {
/***************************************index***************************************/
	html{
		font-size: 14px;
	}
	.pc-only{
		display: none!important;
	}

	.tab-only{
		display: none!important;
	}

	.sp-only{
		display: inline!important;
	}

	.pctab-only{
		display: none!important;
	}

	.fs-heading {
		font-size: 1.7rem; /* 24px相当 */
	}

	.fs-display{
		font-size: 3.4rem;/* 48px相当 */
	}

	body:not(.index) main {
 		padding-left: 30px;
		padding-right: 30px;
	}

	.nav{
		display: none;
	}

	.icon-coconala{
		display: none;
	}

	header .logo{
		width: 50px;
		margin-left: 30px;
	}

	.menu{
		right: -10%;
	}

	#loading-screen .main-visual{
		background-image: url(img/main_sp.jpg);
	}


	.main-visual{
		background-image: url(img/main_sp.jpg);
		background-position: right bottom;
		margin-bottom: 50px;
	}

	.menu-btn{
		width: 30px;
	}

	.section-title{
		padding-bottom: 50px;
	}

	/*デザインしたもの*/
	.works{
		padding: 50px 30px;
	}

	.work-list{
		flex-direction: column;
		gap: 0;
		padding-bottom: clamp(50px, 20vw, 100px);
	}

	.work-img{
		width: 100%;
	}

	.text-muted{
		line-height: 1.2;
	}

	.more-btn{
		padding: 15px 20px;
		gap: 0;
		margin-top: 0;
	}

	.more-btn img{
		width: 30px;
	}

	/*about*/
	.about{
		padding-top: 50px;
	}

	/*お問い合わせ*/
	.contact{
		margin-top: 50px;
		padding-top: 100px;
		margin-bottom: 100px;
	}

	.contact-info{
		background-position: 0px 150px;
	}

	.adress img{
		width: 20px;
	}
		/***************************************work***************************************/

	.work-info h3{
		margin-top: 25px;
	}

	.work-details{
		padding-top: 50px;
	}

	.work-item{
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

	@media screen and (max-width:380px) {
/***************************************index***************************************/
	/*MV*/
	.index h1{
		font-size: 25px;
	}
}
