@charset "utf-8";

body {
    background-color: #fefedf;
    font-family: "M PLUS 1p", sans-serif;
    color: #5654c1;
    line-height: 1.5;
    letter-spacing: 0.07em;
}


/* ヘッダー */

header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}
header .header-inner{
    max-width: calc(980px + 40px);
    padding: 15px 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav ul {
    display: flex;
    gap: 30px;
}
header nav ul a {
    display: block;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    transition: 0.3s;
    border-bottom: 2px dotted transparent;
}
header nav ul a:hover {
    border-bottom: 2px dotted #5ea1d8;
}


/* メインビジュアル */
.main-visual-container {
    height: 470px;
    background-image: url(../img/top_img.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-bottom: 80px;
}
.main-visual-container div{
    max-width: calc(980px + 40px);
    margin: 0 auto;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
}
.main-visual-container div h2 {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px 30px;
}

/* メインコンテンツ */

/* ２つのセクションの横幅指定 */
main section{
    max-width: calc(980px + 40px);
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 60px;
}

/* 共通見出し */
.common-h3 {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    border-bottom: 2px dashed #5ea1d8;
    padding: 10px;
    margin-bottom: 60px;
}
/* 前後の肉球 */
/*.common-h3::before,
.common-h3::after {
    content: url(../img/paws-icon.svg);
    padding: 10px 15px;
}*/

/* Aboutエリア */
.about-wrapper {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    column-gap: 20px;
}
.about-wrapper img {
    border-radius: 20px;
}
.about-desc h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Catsエリア */
.cats-container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    column-gap: 10px;
}
.cats-container ul li {
    width: 230px;
}
.cats-container ul li img {
    border-radius: 20px;
}
.cats-container ul li h4 {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin:10px 0 5px;
}

.cats-container ul li p {
    font-size: 14px;
}
.cats-container{
    margin-bottom: 184px;
}

.cats-container ul li a :hover {
    transition: transform .6s ease;
    transform: scale(1.05);
}


/* ボタンの中央寄せ、ホバー効果
.top-button{
    text-align: center;
}
.top-button a {
    display: inline-block;
    padding: 10px 30px;
    font-weight: bold;
    color: #fefedf;
    background-color: #5654c1;
    border:2px solid #5654c1;
    border-radius: 30px;
    transition: 0.4s;
}
.top-button a:hover {
    color: #5654c1;
    background-color: #fefedf;
    border:2px solid #5654c1;
} */

/* フッター */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 12px;
    color: #fefedf;
    background-color: #5654c1;
    position: relative;
}
footer::before {
    content: url(../img/footer-icon.png);
    position: absolute;
    top: -76%;
}

/* 下層ページ */

section{
    max-width: calc(980px + 40px);
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 60px;
}

.bottom-container-top {
    margin-top: 100px;
}

.bottom-common-h3 {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    border-bottom: 2px dashed #5ea1d8;
    padding: 10px;
    margin-bottom: 60px;
}

.p-comment{
    margin: 2%;
    text-align: center;
    color: #5ea1d8;
}

#PortImg {
    text-align: center;
    margin: 20px auto;
}

#PortImg img {
    width: 90%;
    max-width: 650px;
    height: auto;
    padding: 7px;
    background-color: #f19db9;
}

#PortImg-cal  {
    text-align: center;
    margin: 20px auto;
}

#PortImg-cal img {
    width: 40%;
    max-width: 500px;
    height: auto;
    padding: 3px;
    background-color: #f19db9;
    border-radius: 70px;
}

.movie_youtube {
    position: relative;
    aspect-ratio: 16 / 9;
    text-align: center;
}

iframe {
    margin: 10px auto 20px auto;
}

table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}

table tr th {
	width: 25%;
	padding: 5px 10px;
	background: #5654c1;
	border: 1px dashed #f19db9;
	text-align: left;
	vertical-align: top;
	color: #f19db9;
    text-align: center;
    vertical-align: middle;
}

table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px dashed #f19db9;
	text-align: left;
	vertical-align: top;
}

table tr td a {
    color: #5ea1d8;
	border-bottom: 1px dashed #5ea1d8;
}

table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

.medetai {
    color: #f19db9;
    font-size: 180%;
    font-weight: 700;
    letter-spacing: 0.08em;

    display: block;
    width: fit-content;
    margin: 30px auto;

    padding: 10px 20px;
    border-radius: 999px;
    background-color: rgba(241, 157, 185, 0.15);

    animation: pop 1.8s ease-in-out infinite;
}

@keyframes pop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}



/* --------------------
スマートフォン
-------------------- */
@media screen and (max-width:798px) {

    /* ヘッダー */
    header .header-inner{
        display: block;
    }
    header h1 {
        text-align: center;
        margin-bottom: 10px;
    }
    header nav ul {
        justify-content: center;
        gap: 20px;
    }

    /* メインビジュアル */
    .main-visual-container {
        height: 600px;
        background-image: url(../img/top_img.png);
        background-position: top center;
        margin-bottom: 40px;
    }
    .main-visual-container div {
        padding: 20px;
    }
    .main-visual-container div h2 {
        font-size: 16px;
    }

    /* メインコンテンツ */

    /* 共通の見出し */
    .common-h3 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    /* flexコンテナの主軸方向を縦にする */
    .about-wrapper {
       flex-direction: column;
       align-items: center;
    }
    .about-desc h4 {
        font-size: 18px;
        text-align: center;
        margin: 10px 0;
    }
    .about-desc p {
        max-width: 550px;
        margin: 0 auto;
        font-size: 14px;
    }

    /* Catsエリア */
    .cats-container ul {
       justify-content: center;
       column-gap: 20px;
    }
    .cats-container ul li {
        margin-bottom: 20px;
    }
    /* ボタンからfooterまでの余白調整 */
    .cats-container{
        margin-bottom: 100px;
    }
}