@charset "utf-8";

/* top
----------------------------------------- */
#mainVisual {
	margin-bottom: 30px;
	text-align: center;
}
#mainVisual img {
	width: 100%;
	max-width: 480px;
	height: auto;
}
#mainVisual .pc {
	display: none;
}
#mainVisual .sp {
	display: block;
}

/* sevice */
#sevice {
	margin-bottom: 60px;
	padding: 0 30px;
}
#sevice section {
	margin-bottom: 65px;
}
#sevice section.last {
	margin-bottom: 0;
}
#sevice section .icon {
	margin-bottom: 20px;
	text-align: center;
}
#sevice section .icon img {
	width: 200px;
	height: 50px;
}

/* works */
#works {
	margin-bottom: 70px;
	padding: 0 20px;
}
#works li {
	margin-bottom: 40px;
	text-align: center;
}
#works li:last-child {
	margin-bottom: 0;
}
#works li img{
	width: 280px;
	height: 260px;
}

/* blog */
#blog {
	margin-bottom: 30px;
	padding: 0 30px;
}
#blog li {
	margin-bottom: 40px;
	text-align: right;
}
#blog li:last-child {
	margin-bottom: 0;
}
#blog .photo {
	margin-bottom: 30px;
	text-align: center;
}
#blog .photo img {
	width: 280px;
	height: auto;
}
#blog .cont {
	margin-bottom: 20px;
	text-align: left;
}
#blog .detail {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	padding: 8px 12px;
	background-color: #eee;
	letter-spacing: 0.1em;
	text-align: right;
}






/* タブレット向け：760px～960px */
@media only screen and (min-width: 760px) {

/* mainVisual */
#mainVisual {
	margin-bottom: 80px;
	background-color: #ecebeb;
	text-align: center;
}
#mainVisual img {
	max-width: 960px;
	height: auto;
}

/* top */
#mainVisual .pc {
	display: block;
}
#mainVisual .sp {
	display: none;
}

/* sevice */
#sevice {
	max-width: 920px;
	margin: 0 5% 20px 5%;
	padding: 0;
}
#sevice section {
	float: left;
	width: 30%;
	height: auto;
	margin-right: 5%;
}
#sevice section.last {
	margin-right: 0;
}
#sevice section .icon {
	margin-bottom: 40px;
	text-align: center;
}
#sevice section .icon img {
	width: 200px;
	height: 50px;
}
#sevice section {
	margin-bottom: 0;
}
#sevice section.last {
	margin-bottom: 0;
}
#main h2.ttl {
}
#main h3.ttl {
	margin-bottom: 16px;
	font-size: 22px;
}
#main p.ttl {
	margin-bottom: 45px;
	/* font-size: 12px; */
	letter-spacing: 0.1em;
}

/* works */
#works {
	max-width: 920px;
	margin: 0 5% 150px 3%;
	padding: 0;
}
#works li{
	box-sizing: border-box;
	display: inline-block;
	width: 29%;
	margin-right: 5%;
	margin-bottom: 60px;
	border: 1px solid #e0e0e0;
	vertical-align: top;
}
#works li:nth-child(3n){
	margin-right: 0;
}
#works li img{
	width: 100%;
	height: auto;
}


/* blog */

#blog {
	max-width: 920px;
	margin: 0 5% 50px 5%;
	padding: 0;
}
#blog li {
	display: inline-block;
	width: 29%;
	margin-right: 5%;
	margin-bottom: 60px;
	vertical-align: top;
}
#blog  li:nth-child(3n){
	margin-right: 0;
}
#blog .photo {
}
#blog .photo img {
	width: 100%;
	height: auto;
}
#blog .cont {
	margin-bottom: 20px;
}
#blog .detail {
	padding: 8px 12px;
	background-color: #eee;
	text-align: right;
}
.toTop a {
	display: block;
	width: 24px;
	margin: 0 auto 20px auto;
	padding: 8px 20px;
}

} /* タブレット向け */




/* PC向けレイアウトの指定：961px～ */
@media only screen and (min-width: 961px) {
	
/* sevice */
#sevice {
	width: 920px;
	margin: 0 auto 130px auto;
	padding: 0;
}
#sevice section {
	float: left;
	width: 280px;
	height: auto;
	margin-right: 40px;
}
#main h2.ttl {
	margin-bottom: 65px;
	font-size: 50px;
}
#main h3.ttl {
	font-size: 25px;
}
#main p.ttl {
	/* font-size: 14px; */
}

/* works */
#works {
	width: 920px;
	margin: 0 auto 150px auto;
	padding: 0;
}
#works li{
	width: 280px;
	margin-right: 40px;
}

/* blog */
#blog {
	width: 920px;
	margin: 0 auto 50px auto;
	padding: 0;
}
#blog li {
	width: 280px;
	margin-right: 35px;
	width: 29%;
}

} /* PC向け */


/* blog
----------------------------------------- */
#main.inner h2.ttl {
	margin-bottom: 35px;
}

.blogArea {
	margin-bottom: 30px;
}
.blogArea.last {
	margin-bottom: 0;
}
.photo {
	margin-bottom: 35px;
}
.photo li {
	margin-bottom: 25px;
}
.photo.vertical li {
	margin-bottom: 20px;
}
.photoCenter {
	margin-bottom: 45px;
}
.text {
	margin: 0 20px 35px 20px;
}
.text a {
}
.text a:hover {
	text-decoration: none;
}
.text.last {
	margin-bottom: 30px;
}
.blogArea img {
	width: 100%;
	height: auto;
}
.ttlSet {
	text-align: center;
}
.ttlSet h3 {
	font-size: 22px;
	letter-spacing: 2px;
}
.ttlSet .date {
	margin-bottom: 15px;
	font-size: 12px;
}

/* タブレット向け：760px～960px */
@media only screen and (min-width: 760px) {
.blogArea {
	margin-bottom: 120px;
}
#main.inner h2.ttl {
	margin: 0 40px 50px;
}
.ttlSet {
	margin: 0 40px 40px;
}
.ttlSet h3 {
	float: left;
	width: 70%;
	text-align: left;
	font-size: 32px;
}
.ttlSet .date {
	float: right;
	width: 30%;
	padding-top: 15px;
	text-align: right;
}
.photo {
	margin-bottom: 60px;
}
.photoFloatL .photo,
.photoFloatR .photo {
	margin-bottom: 0;
}
.text {
	margin: 0;
}
.text.last {
	margin-bottom: 0;
}
.textFloat,
.photoFloatL,
.photoFloatR {
	margin-bottom: 100px;
}
.text-wide {
	margin-bottom: 100px;
}
.photoCenter {
	margin-bottom: 100px;
}
.textFloat {
	margin-left: 40px;
	margin-right: 40px;
}
.textFloat a {
	text-decoration: underline;
}
.textFloat a:hover {
	text-decoration: none;
}
.textFloat .text {
	width: 47%
}
.textFloat .text.left {
	float: left;
}
.textFloat .text.right {
	float: right;
}
.photoFloatL .photo {
	float: left;
	width: 60%;
}
.photoFloatL .text {
	float: right;
	width: 30%;
	margin-right: 5%;
}
.photoFloatR .photo {
	float: right;
	width: 60%;
}
.photoFloatR .text {
	float: left;
	width: 30%;
	margin-left: 5%;
}

} /* タブレット向け */


/* PC向けレイアウトの指定：961px～ */
@media only screen and (min-width: 961px) {
#main.inner h2.ttl {
	margin: 0 0 50px;
}
.ttlSet {
	margin: 0 0 40px;
}
.textFloat,
.photoFloatL,
.photoFloatR {
	margin-bottom: 120px;
}
.textFloat {
	margin-left: 0;
	margin-right: 0;
}
.textFloat .text {
	width: 48%
}
.photoFloatL .photo {
	float: left;
	width: 65%;
}
.photoFloatL .text {
	float: right;
	width: 28%;
	margin-right: 1%;
}
.photoFloatR .photo {
	float: right;
	width: 65%;
}
.photoFloatR .text {
	float: left;
	width: 28%;
	margin-left: 1%;
}
.photo.vertical li {
	margin-bottom: 40px;
}
} /* PC向け */

/* アイキャッチ画像に適用するスタイル */
.post-thumbnail img {
	max-width: 100%; /* 最大幅を100%に設定 */
	height: auto; /* 高さを自動調整 */
}
/* blog----------------------------------------- */

/* about
----------------------------------------- */
.imgFace {
	margin-bottom: 15px;
	margin-right: 10px; 
	text-align: center;
}
.imgFace img {
	width: 180px; /* 画像の幅を親要素に合わせる */
	height: auto; /* 高さは自動調整 */
}
.companyProf {
	margin-bottom: 20px;
	font-size: 13px;
}
.companyProf dt {
	float: left;
	display: block;
	width: 30%;
	font-family: 'Lato', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: #090909;
}
.companyProf dd {
	float: right;
	width: 70%;
	margin-bottom: -20px;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.1em;
	color: #090909;
}
.txtBox {
	margin-top: 10px;
	margin-bottom: 14px;
	text-align: left;
	line-height: 1.5;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #090909;
}

/* タブレット向け：760px～960px */
@media only screen and (min-width: 760px) {
	
.fBox01 {
	width: 100%;
}
.fBox01 .fBoxLeft {
	float: left; 
	width: 20%;
	text-align: left;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #090909;
}
.fBox01 .fBoxRight {
	float: right; 
	width: 70%;
	margin-right: -10px; 
}
.companyProf cf dl {
	display: flex;
	flex-wrap: wrap; /* 要素が横幅を超えた場合に折り返す */
}

.companyProf cf dt {
	flex-basis: 20%; /* dt要素の幅を指定 */
	font-weight: bold;
	font-family: 'Lato', sans-serif;
}

.companyProf cf dd {
	flex-basis: 80%; /* dd要素の幅を指定 */
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #090909;
}

.companyProf cf p {
	margin: 0; /* デフォルトのマージンをリセット */
	white-space: nowrap; /* テキストを折り返さずに横に表示 */
	overflow: hidden; /* テキストが要素からはみ出た場合に非表示にする */
	text-overflow: ellipsis; /* テキストが要素からはみ出た場合に省略記号(...)を表示 */
	width: 100%; /* 幅を100%に設定 */
}


.txtBox {
	margin-bottom: 50px;
}

} /* タブレット向け */


/* PC向けレイアウトの指定：961px～ */
@media only screen and (min-width: 961px) {

.fBox01 {
	width: 960px;
}
.fBox01 .fBoxLeft {
	float: left; 
	width: 160px;
	text-align: left;
}
.fBox01 .fBoxRight {
	float: right; 
	width: 760px;
	margin-bottom: 20px;
}

} /* PC向け */
/* about----------------------------------------- */

/* contact
----------------------------------------- */
.txtBox {
	margin-bottom: 30px;
}
.contactForm dt {
	display: block;
	margin-bottom: 3px;
	font-size: 13px;
}
.contactForm dt span.required {
	margin-left: 10px;
	padding: 1px 3px;
	background-color: #f45555;
	font-size: 10px;
	color: #FFFFFF;
}
.contactForm dd {
	margin-bottom: 15px;
}
.contactForm dd.w01 input {
	width: 250px;
	height: 20px;
	font-size: 16px;
	border: 1px solid #bbbbbb;
}
.contactForm dd.w02 textarea {
	width: 250px;
	font-size: 16px;
	border: 1px solid #bbbbbb;
}
input.submitBtn {
	width: 228px;
	height: 54px;
	margin-top: 20px;
	cursor: pointer;
	background-color: #8e8e8e;
	border: none;
	font-size: 15px;
	font-weight: bold;
	color: #FFFFFF;
}

/* タブレット向け：760px～960px */
@media only screen and (min-width: 760px) {
	
.txtBox {
	margin-bottom: 50px;
}
.contactForm dd.w01 input {
	width: 350px;
}
.contactForm dd.w02 textarea {
	width: 400px;
}


} /* タブレット向け */


/* PC向けレイアウトの指定：961px～ */
@media only screen and (min-width: 961px) {


} /* PC向け */
/* contact----------------------------------------- */

/* works
----------------------------------------- */
#worksList {
	margin-bottom: 30px;
}
#worksList li {
	margin-bottom: 60px;
}
#worksList li.last {
	margin-bottom: 0;
}
#worksList .img {
	margin-bottom: 35px;
	text-align: center;
}
#worksList .img img {
	width: 100%;
	height: auto;
}
#worksList h3.ttl {
	margin-bottom: 15px;
	font-size: 13px;
	font-weight: bold;
	text-align: left;
	line-height: 1.5;
}
#worksList img.popup {
	width: 11px;
	height: 9px;
	vertical-align: middle;
}
#worksList .skill {
	margin-bottom: 15px;
}
#worksList .read01 {
	margin-bottom: 70px;
}
#worksList .read02 {
	margin-bottom: 15px;
}
#worksList .readLast {
	margin-bottom: 30px;
}

/* タブレット向け：760px～960px */
@media only screen and (min-width: 760px) {

#worksList {
	margin-bottom: 50px;
	font-size: 15px;
}
#worksList li {
	margin-bottom: 120px;
}
#worksList li.last {
	margin-bottom: 0;
}
#worksList .img {
	margin-bottom: 45px;
}
#worksList h3.ttl {
	font-size: 15px;
}
#worksList .read01 {
	margin-bottom: 70px;
}
#worksList .read02 {
	margin-bottom: 25px;
}

} /* タブレット向け */


/* PC向けレイアウトの指定：961px～ */
@media only screen and (min-width: 961px) {
#worksList li {
	margin-bottom: 160px;
}


} /* PC向け */
/* works----------------------------------------- */

/* 訪問ページ薄いリンク */
.about-page nav.about-page a {
	opacity: 0.3;
}

.works-page nav.works-page a {
	opacity: 0.3;
}
.blog-page nav.works-page a {
	opacity: 0.3;
}
.contact-page nav.works-page a {
	opacity: 0.3;
}

/* デスクトップ向け：960px以上 */
@media only screen and (min-width: 960px) {
	#blog li {
		width: 31%;
			margin-right: 1%; /* デスクトップでは少し間隔を詰める */
	}
	
	/* 3列目の右マージンを0にする */
	#blog li:nth-child(3n) {
			margin-right: 0;
	}
}

.box{
	width: 200px;
	margin: 0 auto;
}


/*ボール---------------*/
.box {
  position: relative;
  width: 100px;
  height: 100px;
  background-color: #3498db;
  border-radius: 50%; /* ボールを丸くするための設定 */
  animation: bounce 1s infinite alternate; /* bounceアニメーションを適用 */
}

.ball {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #e74c3c;
  border-radius: 50%; /* ボールを丸くするための設定 */
}

.shadow-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.3); /* シャドウボックスの色と透明度を設定 */
  border-radius: 50%; /* ボールのシャドウを丸くするための設定 */
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
/*end---------------*/

/* カテゴリー一覧のスタイル */
#category-list {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: center;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.categoryList {
    list-style: none;
    padding: 0;
}

.categoryList li {
    display: inline-block;
    margin-right: 10px;
}

.categoryList a {
    text-decoration: none;
    color: #333;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.categoryList a:hover {
    background-color: #333;
    color: #fff;
}
/*end---------------*/

/* スライドショーのスタイル */
.featured-thumbnails-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

/* スライドのスタイル */
.featured-thumbnails-slider .slide {
  flex: 0 0 200px;
  margin-right: 10px;
  overflow: hidden; /* スライド内の画像を隠す */
  position: relative; /* 相対位置指定 */
}

/* 画像のスタイル */
.featured-thumbnails-slider .slide img {
  width: auto;
  height: 100%; /* 高さは100%に設定 */
  object-fit: cover; /* アスペクト比を保持しつつ、親要素に合わせてトリミング */
  object-position: center center; /* 画像を中央に配置 */
  max-width: 100%; /* 最大幅100% */
  max-height: 100%; /* 最大高さ100% */
}

/* スライドショー全体のスタイル */
.featured-thumbnails-slider {
    position: relative;
    margin: 20px 0;
}

/* スライドのスタイル */
.featured-thumbnails-slider .slide {
    position: relative;
    overflow: hidden;
}

.featured-thumbnails-slider img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #fff; /* 画像に白いボーダーを追加 */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* 画像に影を追加 */
}

/* スライドのシネマ風の装飾 */
.featured-thumbnails-slider .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)); /* グラデーションを追加 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-thumbnails-slider .slide:hover::before {
    opacity: 1;
}

/* Slick Sliderの矢印ナビゲーションのスタイル */
.featured-thumbnails-slider .slick-prev,
.featured-thumbnails-slider .slick-next {
    font-size: 20px;
    color: #1f66e3;
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    z-index: 2;
}

.featured-thumbnails-slider .slick-prev {
    left: 5px;
}

.featured-thumbnails-slider .slick-next {
    right: 60px;
}


/* ピックアップ画像の大きさ */
.pickup-image img {
    max-width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto; /* 高さは自動調整 */
}
}



