@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-size: 100%;
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
    background-color: #fff8fc;
    background-image: radial-gradient(#f7c6df 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    line-height: 1.6;
    font-size: 81.25%;
    color: #414141;
}#Container {
    min-height: 930px;
}


html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #333333;
}

a:hover{
	text-decoration: underline;
	color: #666666;
}

a:hover img{
	opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
    width: 945px;
    padding: 20px 0 40px;
    margin: 0 auto;
    background: #fffdfd;
    border-radius: 35px;
    box-shadow: 0 0 25px rgba(220, 150, 190, 0.12);
}/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
	padding: 10px 0;
	text-align: center;
}



/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
	width: 945px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

div#Contents:after {
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
	width: 945px;
	margin: 0 auto;
	position: relative;
}

nav ul li {
	list-style: none;
	width: 189px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a img:nth-child(2){
	position: absolute;
	margin-left: -189px;
  transition: opacity 1s;
}

nav ul li a:hover img:nth-child(2){
  opacity: 0;
}


/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

div#Main h2 {
	font-size: 105%;
	font-weight: bold;
	color: #ec8af0;
}

div#Main div#TopImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main div#PortImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main p {
	color: #504946;
	margin-top: 10px;
}

div#Main table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}

div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: rgb(255, 206, 248);
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
	color: #fff;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}
.movie__youtube {
    position: relative;
    aspect-ratio: 16 / 9;
}

/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
p.pagetop {
	text-align: right;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #504946;
}

#Main h2 {
    font-size: 32px !important;
    font-weight: bold;
    color: #ff8fc7;
    text-align: center;
    margin: 25px 0;
}/* 制作実績の四角い枠 */
div#Main h3 {
    border: 3px solid #ffcce8;
    border-radius: 20px;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    background: #fff9fc;
    box-shadow: 0 5px 15px rgba(255, 143, 199, 0.15);
    color: #ff8fc7;
}
/* 制作実績の説明 */
div#Main h3 + p {
    border: none;
    border-radius: 0 0 20px 20px;
    padding: 15px 20px;
    margin-top: 0;
    background: #ffffff;
}/* 自主制作の下のメニュー */
.works-menu {
    position: relative;
}

.works-submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}
.works-menu:hover .works-submenu {
    display: block;
}

.works-submenu li {
    width: 189px;
}

.works-submenu li a {
    display: block;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #414141;
}

.works-menu {
    position: relative;
}

.works-submenu {

.works-menu:hover .works-submenu {
    display: block;
}

.works-submenu li {
    width: 189px;
}

.works-submenu li a {
    display: block;
    padding: 12px;
    background: white;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #414141;
}

/* 画像をふわっと表示 */
div#Main img {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表をふわっと表示 */
div#Main table {
    animation: tableIn 1s ease 0.3s both;
}

@keyframes tableIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表の行にマウスを乗せたら少し動く */
div#Main table tr {
    transition: 0.3s;
}

div#Main table tr:hover {
    transform: translateX(5px);
}

div#Main table {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 143, 199, 0.25);
}

div#Main table tr th {
    background: #ffcce8;
    border: none;
    padding: 12px 15px;
}

div#Main table tr td {
    border: none;
    border-bottom: 1px solid #f5d8e8;
    padding: 12px 15px;
    background: #fff;
}

/* =========================
   全体をかわいくする
   ========================= */

/* メインエリアをふんわり */
div#Main {
    padding: 20px 0 40px;
}

/* 見出し */
#Main h2 {
    font-size: 32px !important;
    font-weight: bold;
    color: #ff8fc7;
    text-align: center;
    margin: 30px 0 25px;
    letter-spacing: 2px;
}

/* 制作実績のカード */
div#Main h3 {
    border: 3px solid #ffcce8;
    border-radius: 20px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 0;
    background: #fff9fc;
    box-shadow: 0 6px 15px rgba(255, 143, 199, 0.15);
    color: #ff8fc7;
}

/* 制作実績の説明 */
div#Main h3 + p {
    border: none;
    border-radius: 0 0 20px 20px;
    padding: 15px 20px;
    margin-top: 0;
    background: #ffffff;
}

/* メイン画像 */
div#Main img {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 143, 199, 0.18);
}

/* マウスを乗せたとき */
.work-link {
    display: block;
    transition: 0.3s;
}

.work-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

/* 表も少しだけかわいく */
div#Main table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 143, 199, 0.15);
}

/* ページの先頭に戻る */
p.pagetop a {
    color: #ff8fc7;
    font-weight: bold;
}

#Main h2 {
    position: relative;
    padding-bottom: 10px;
}

#Main h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 8px auto 0;
    background: #f3b6d5;
    border-radius: 3px;
}

/* 作品情報 */
.work-info {
    margin: 50px 0;
    padding: 35px;
    background: #fff;
    border: 1px solid #f3d9e6;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(210, 140, 170, 0.12);
}

/* タイトル */
.work-info::before {
    content: "WORK INFORMATION";
    display: block;
    text-align: center;
    margin-bottom: 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
    color: #d994b4;
}

/* 各項目 */
.info-item {
    position: relative;
    margin-bottom: 18px;
    padding: 22px 28px 22px 32px;
    background: #fff8fb;
    border-radius: 16px;
    border-left: 5px solid #e9abc5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-item:last-child {
    margin-bottom: 0;
}

/* マウスを乗せたとき */
.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(210, 140, 170, 0.12);
}

/* 見出し */
.info-item h4 {
    margin: 0 0 8px;
    color: #c77f9f;
    font-size: 16px;
    letter-spacing: 1px;
}

/* 本文 */
.info-item p {
    margin: 0;
    color: #504946;
    line-height: 1.9;
}

/* ===== 作品情報 最終デザイン ===== */

.work-info {
    background: #fff4f8 !important;
    padding: 35px !important;
    margin: 50px 0 !important;
    border-radius: 30px !important;
    border: 2px solid #f2c4d8 !important;
}

.work-info::before {
    content: "WORK INFORMATION" !important;
    display: block !important;
    text-align: center !important;
    color: #d77fa5 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    letter-spacing: 5px !important;
    margin-bottom: 30px !important;
}

.info-item {
    background: #ffffff !important;
    padding: 22px 25px !important;
    margin-bottom: 15px !important;
    border: none !important;
    border-radius: 18px !important;
    box-shadow: 0 5px 15px rgba(210, 130, 165, 0.12) !important;
}

.info-item::before {
    display: none !important;
}

.info-item h4 {
    color: #d77fa5 !important;
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

.info-item p {
    color: #555 !important;
    line-height: 1.9 !important;
}

/* 端からひょこっと出てくるニワトリ */
.chicken {
    position: fixed;
    top: 10px;
    left: -60px;
    width: 55px;
    height: auto;
    z-index: 99999;
    animation: chickenPeek 8s ease-in-out infinite;
}

@keyframes chickenPeek {
    0% {
        left: -60px;
    }

    15% {
        left: 10px;
    }

    35% {
        left: 70px;
    }

    50% {
        left: 10px;
    }

    65% {
        left: -60px;
    }

    100% {
        left: -60px;
    }
}

/* チラシの外側にだけ枠を追加 */
#Main #PortImg img[src="img/kadai04.jpg"],
#Main #PortImg img[src="img/kadai05.jpg"] {
    box-shadow:
        0 0 0 8px #ffffff,
        0 0 0 10px #d8c8ed;
}