/*===================================
	基本設定
===================================*/

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
	font-family: "Noto Sans JP", "Helvetica Neue", "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.8;
    letter-spacing:0.05em;
    color: #333;
}

body {
    position: relative;
	background:#FFFFFF;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
    color: #45B2C9;
    text-decoration: none;
}

p {
    margin: 0 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

strong {
    font-weight: bold;
}

.pc { display: inline-block; }
.sp { display: none; }


/*===================================
	共通部分
===================================*/

main {
	padding: 40px 50px 0 300px;
}

.siteheader {
	width: 250px;
	padding: 30px 0 0 0;
	text-align: center;
	flex-shrink: 0; 
	flex-grow: 0;
}

/* ロゴ */
.siteheader__title {
	margin: 0 0 40px 0;
}
.siteheader__logo img {
	width: 85px;
}

/* サイドバー */
.siteheader {
	position: fixed;
}
.siteheader__list {
	margin: 0 0 50px 0;
}
.siteheader__item a {
	display: block;
	margin: 0 0 10px 0;
	padding: 10px 0;
	font-weight: 600;
	color: #333;
	transition: 0.3s ease;
}
.siteheader__item a:hover {
	margin: 0 0 10px 10px;
}
.siteheader__item a::after {
	content: "\f0da";
	font-size: 8px;
	font-family: "Font Awesome 7 Free"; 
  	font-weight: 900;
  	margin-left: 8px;
}
.siteheader__item a.is-active {
	background: #f5f5f5;
	border-radius: 4px;
}

.siteheader__item:nth-child(1) a::after {
	color: #FFC410;
}
.siteheader__item:nth-child(2) a::after {
	color: #45B2C9;
}
.siteheader__item:nth-child(3) a::after {
	color: #F3136B;
}
.siteheader__item:nth-child(4) a::after {
	color: #82027D;
}

/* 紹介文 */
.siteheader_text {
	padding: 0 40px;
	font-size: 0.9rem;
	color: #bbb;
}

/* フッター */
.sitefooter {
	position: relative;
	margin: 100px 0 0 0;
	padding: 0 0 40px 0;
	background: #333;
}

.sitefooter__logo {
	position: relative;
	top: 20px;
	margin: 0 0 0 40px;
}
.sitefooter__logo img {
	height: 24px;
}
.sitefooter__desc {
	margin: 50px 0 0 40px;
	font-size: 0.9rem;
	color: #999;
}

.sitefooter__nav {
	position: absolute;
	top: 40px;
	right: 40px;
}
.sitefooter__nav li {
	display: inline;
}
.sitefooter__nav li::after {
	content: "｜";
	margin: 0 10px 0 10px;
	color: #666;
}
.sitefooter__nav li:last-child::after {
	display: none;
}
.sitefooter__nav a {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 400;
	color: #fff;
}

.sitefooter__copy {
	position: absolute;
	right: 50px;
	bottom: 15px;
	color: #999;
}
.totop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	opacity: 0.9;
	width: 30px;
	line-height: 30px;
	background: #eee;
	border-radius: 2px;
	text-align: center;
	transition: 0.3s ease;
	color: #FFC410;
}
.totop:hover {
	bottom: 26px;
	opacity: 0.9;
}


/*===================================
	各コンテンツ
===================================*/

/* トップのキャッチ */
.sitecatch {
	margin: 0 0 36px 0;
}
.sitecatch__title {
	margin: 0 0 30px 0;
	font-size: 1.3rem;
}
.sitecatch__text {
	margin: 0 0 0 20px;
	line-height: 2;
	font-size: 1.1rem;
}
.sitecatch__text span {
	display: block;
}
.sitecatch__text span::before {
	content: "■";
	font-size: 8px;
	position: relative;
	top: -2px;
	margin: 0 6px 0 0;
}
.sitecatch__text span:nth-child(1)::before {
	color: #FFC300;
}
.sitecatch__text span:nth-child(2)::before {
	color: #45B2C9;
}
.sitecatch__text span:nth-child(3)::before {
	color: #F3136B;
}
.sitecatch__text span:nth-child(4)::before {
	color: #82027D;
}

.sitecatch__text span i {
	position: relative;
	top: -2px;
	font-size: 0.6rem;
}

/* 見出し H2 */
.p-works__title, .p-service__title, .p-profile__title, .p-contact__title {
	margin: 0 0 50px 0;
	position: relative;
	padding-bottom: 20px;
	font-size: 1.2rem;
	text-align: left;
}
.p-service__title {
	margin: 0 0 30px 0;
}

.p-works__title::after, .p-service__title::after, .p-profile__title::after, .p-contact__title::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
}
.p-works__title::after {
	background-image: linear-gradient( to right, #FFC300 0%, #FFC300 25%, #EEEEEE 25%, #EEEEEE 100% );
}
.p-service__title::after {
	background-image: linear-gradient( to right, #45B2C9 0%, #45B2C9 25%, #EEEEEE 25%, #EEEEEE 100% );
}
.p-profile__title::after {
	background-image: linear-gradient( to right, #F3136B 0%, #F3136B 25%, #EEEEEE 25%, #EEEEEE 100% );
}
.p-contact__title::after {
	background-image: linear-gradient( to right, #82027D 0%, #82027D 25%, #EEEEEE 25%, #EEEEEE 100% );
}

.p-works__sub, .p-service__sub, .p-profile__sub, .p-contact__sub {
	margin: 0 0 0 10px;
	font-size: 0.8rem;
	font-weight: 400;
	color: #ccc;
}
.p-works__cat, .p-service__cat, .p-profile__cat, .p-contact__cat {
	position: absolute;
	top: 14px;
	right: 0;
	font-size: 0.8rem;
	font-weight: 400;
}

.p-works__cat {
	color: #FFC300;
}
.p-service__cat {
	color: #45B2C9;
}
.p-profile__cat {
	color: #F3136B;
}
.p-contact__cat {
	color: #82027D;
}

/* 実績紹介 */
.p-works {
	margin: 0 0 60px 0;
	padding: 34px 0 0 0;
}
.p-works__list {
	display: flex;
	flex-flow: wrap;
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
}
.p-works__item {
	width: 50%;
	margin: 0 0 4% 0;
	padding: 0 5%;
	font-weight: 400;
	transition: 0.3s ease;
}
.p-works__item:hover {
	opacity: 0.8;
}
.p-works__link {
	color: #333;
}
.p-works__image img {
	margin: 0 0 20px 0;
	box-shadow: 0 0 20px 1px rgb(0 0 0 / 10%);
}

.p-works__name {
	margin: 0 0 8px 0;
	font-size: 1rem;
}
.p-works__name::after {
	content: "\f00e";
	font-size: 12px;
	font-family: "Font Awesome 7 Free"; 
  	font-weight: 900;
  	margin-left: 8px;
	color: #FFC300;
}

.p-works__details {
	font-size: 0.9rem;
	color: #bbb;
	line-height: 1.5;
}

.p-works__list .album {
	position: relative;
	width: 30%;
}
.p-works__list .album::after {
	content: "\f08e";
	font-size: 16px;
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	color: #fff;
	position: absolute;
    bottom: 7%;
    right: 19%;
	opacity: 0.5;
}

/* サービス内容 */
.p-service {
	margin: 0 0 110px 0;
}
.p-service__content {
	display: flex;
	flex-flow: wrap;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
}
.p-service__group {
	width: 33%;
	margin: 0 0 0 -1px;
	padding: 0 2.5% 14px 2.5%;
	border: 1px solid #ddd;
}

.p-service__catch {
	line-height: 1.6;
	font-size: 0.9rem;
	color: #45B2C9;
}
.p-service__type {
	margin: 20px 0 25px 0;
	text-align: center;
	font-size: 1.1rem;
	font-weight: 500;
}
.p-service__item {
	margin: 0 0 10px 0;
	line-height: 1.5;
}
.p-service__item::before {
	content: "・";
	margin: 0 0 0 0;
  	font-weight: bold;
	color: #45B2C9;
}
.p-service__item span {
	display: block;
	margin: -5px 0 0 20px;
	font-size: 0.8rem;
}

/* 制作フロー */
.p-flow {
	display: flex;
	align-items: center;
	margin: 50px 0 0 0;
}
.p-flow:nth-of-type(3), .p-flow:nth-of-type(5) {
	margin: 10px 0 0 0;
}
.rv {
	flex-direction: row-reverse;
}

.p-flow__box {
	width: 33%;
	border: 1px solid #45B2C9;
	border-radius: 6px;
	text-align: center;
}
.p-flow__title {
	margin: 24px 0 20px 0;
	font-size: 0.9rem;
}
.p-flow__title i {
	margin: 0 0 0 8px;
	color: #ccc;
}
.p-flow__step {
	display: block;
	font-size: 1.2rem;
	color: #45B2C9;
}
.p-flow__body {
	margin: 0 24px 24px 24px;
	text-align: left;
	line-height: 1.6;
}

.p-flow__arrow {
	position: relative;
	content: "\f04b";
	font-size: 12px;
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	color: #45B2C9;
}
.arrow_r {
	padding: 0 12px;
}
.arrow_b,.arrow_b2 {
	display: block;
	padding: 16px 0;
}
.arrow_b i {
	position: absolute;
	right: 124px;
}
.arrow_b2 i {
	position: absolute;
	left: 124px;
}

.p-flow .wide {
	width: 100%;
	background: #E8FBFF;
}
.p-flow .wide .p-flow__body {
	text-align: center;
}

/* よくあるご質問 */
.p-qa {}
.p-qa__term {
	margin: 0;
	padding: 0 0 14px 0;
	font-size: 1.1rem;
	font-weight: 600;
}
.p-qa__term::before {
	content: "\51";
	font-size: 18px;
	font-family: "Font Awesome 7 Free"; 
  	font-weight: 900;
	color: #45B2C9;
	margin: 0 0 0 0;
}
.p-qa__desc {
	margin: 0 0 30px 0;
	padding: 0 0 30px 0;
	border-bottom: 1px dotted #aaa;
}
.p-qa__desc span {
	display: block;
	margin: 10px 0 0 0;
	font-size: 0.8rem;
}

/* お問い合わせボタン */
.p-contact {
	text-align: center;
}

.p-contact__link {
	padding: 20px 80px;
	background: #82027D;
	border-radius: 4px;
	font-size: 1.2rem;
	color: #fff;
	transition: 0.3s ease;
}
.p-contact__link:hover {
	opacity: 0.9;
}

/* プロフィール */
.p-profile {
	position: relative;
	margin: 0 0 80px 0;
}
.p-profile__catch {
	margin: 0 0 10px 0;
	padding: 0 0 40px 0;
	border-bottom: 1px dotted #ddd;
}

.p-profile__img {
	position: absolute;
	top: 80px;
	right: 0;
	width: 180px;
}
.p-profile__img img {
	width: 100%;
	border-radius: 50%;
}

.p-profile__content {
	display: grid;
	grid-template-columns: 200px 1fr;
	width: 100%;
}
.p-profile__term {
	font-weight: bold;
	padding: 30px 0;
	border-bottom: 1px dotted #ccc;
	color: #F3136B;
}
.p-profile__desc {
	margin-left: 0;
	padding: 30px 0;
	border-bottom: 1px dotted #ccc;
}
.p-profile__desc strong {
	margin: 0 0 10px 0;
}
.p-profile__desc strong i {
	color: #F3136B;
}
.p-profile__desc p {
	margin: 10px 0 25px 0;
	font-size: 0.9rem;
}
.p-profile__desc p:last-child {
	margin-bottom: 0;
}

.p-profile__list {
	margin: 0 0 20px 0;
}
.p-profile__list li {
	margin: 0 0 10px 0;
}
.p-profile__list li::before {
    content: "・";
	margin: 0 4px 0 0;
    font-weight: bold;
    color: #F3136B;
}
.p-profile__desc .p-profile__list:last-child {
	margin: 0;
}

.p-profile__sns {
	margin: 0 8px;
}
.p-profile__icon {
	position: relative;
	height: 30px;
}
.p-profile__blank {
	font-size: 0.8rem;
	margin-left: 3px;
}

/* お問い合わせ */
.p-contact {
	margin: 0 0 60px 0;
}
.p-contact__form {
	width: 70%;
	margin: auto;
}
.p-contact__field {
	display: grid;
	grid-template-columns: 250px 1fr;
	width: 100%;
	border-bottom: 1px dotted #ddd;
}
.p-contact__field p {
	margin: 0;
}
.p-contact__item {
	display: block;
	padding: 20px 0 20px 20px;
	text-align: left;
	font-weight: bold;
}
.p-contact__input {
	margin-left: 0;
	padding: 20px 0;
	text-align: left;
}

.p-contact__input input, .p-contact__input textarea, .p-contact__input select {
	width: 100%;
	padding: 10px;
	background: #F8F8F8;
	border: none;
	border-radius: 4px;
}
.p-contact__input textarea {
	min-height: 200px;
}

.p-contact__item .req {
	margin: 0 0 0 3px;
	color: red;
}

.p-contact__send input {
	margin: 50px 0 0 0;
	padding: 15px 100px;
	background: #82027D;
	border: none;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border: none;
	color: red;
}
.wpcf7 form.sent .wpcf7-response-output {
	border: none;
}

.p-thanks {
	margin: 0 0 100px 0;
	text-align: left;
}
.p-thanks__title {
	margin: 0 0 30px 0;
	font-size: 1.1rem;
}
.p-thanks__sub {
	margin: 50px 0 50px 0;
	font-size: 0.9rem;
	color: #999;
}

/*===================================
    モーダルウィンドウ
===================================*/
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* 背景（オーバーレイ） */
.modal__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    cursor: pointer;
}

/* コンテンツ枠 */
.modal__body {
	display: flex;
	width: 100%;
}
.modal__content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: #fff;
    border-radius: 4px;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* 閉じるボタン */
.modal__close {
	position: fixed;
	top: 10px; right: 10px;
	color: #333;
	background: #fff;
	border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}
.modal__close:hover { opacity: 0.7; }

/* 中身のレイアウト */
.modal__image-area {
	width: 48%;
	padding: 0 3% 0 0;
}
.modal__image-area img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}
.modal__text-area {
	width: 48%;
	padding: 0 0 0 2%;
}
.modal__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #FFC300;
}
.modal__desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* スペック表 */
.modal__specs dl {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 0 0 0 10px;
    border-radius: 4px;
}
.modal__specs dt {
	padding: 20px 20px 20px 0;
    font-weight: bold;
    color: #333;
    min-width: 80px;
	border-bottom: 1px solid #eee;
}
.modal__specs dd {
    margin: 0;
	padding: 20px 0 20px 0;
    color: #666;
	border-bottom: 1px solid #eee;
}
