/*
Theme Name: MOMOLAND Japan Official
Theme URI: https://momoland-jp.com/
Author: MOMOLAND
Author URI: https://momoland-jp.com/
Description: MOMOLAND日本公式サイト用のオリジナルWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: momoland-theme
*/

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
}

main {
    background: url("assets/images/pink_back.webp");
    background-size: cover;
    background-repeat: no-repeat;
}

ul {
    padding-inline-start: 0;
}

header {
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url("assets/images/header/header-background.png");
    background-size: cover;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    /* ← 白の半透明で膜を作る */
    z-index: 0;
}

li {
    list-style: none;
}

.header-top {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.header-logo {
    margin: auto;
    z-index: 10;
}

.header-logo img {
    width: 120px;
}

.header-sns {
	display: flex;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 100;
}

.header-sns img {
    width: 26px;
    margin: 0 10px;
}

.header-nav nav ul{
    display: flex;
    justify-content: center;
    font-family: "Bodoni Moda", serif;
    font-weight: bold;
	align-items: center;
}

.header-nav nav ul a {
    margin: 15px;
    color: #e76add;
    font-size: 18px;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    transition: color 0.3s ease;
    letter-spacing: 2px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #e76add63;
    transition: width 0.4s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    background-color: #e76add20;
    border-radius: 4px;
}

.soon::before {
    content: "SOON";
    position: absolute;
    right: 0;
    bottom: -10px;
    transform: rotate(-5deg);
    background: #e76add;
    color: #fff;
    font-size: 10px;
    padding: 0 4px;
    border-radius: 3px;
    opacity: 0.9;
}

.soon-sp::before {
    content: "SOON";
    position: absolute;
    right: 0;
    bottom: -8px;
    transform: rotate(-5deg);
    background: #fff;
    color: #e76add;
    font-size: 10px;
    padding: 0 4px;
    border-radius: 3px;
    opacity: 0.9;
}


.hamburger,
.overlay {
    display: none;
}


/* ヘッダーFANCLUB */
.header_fanclub{
	width:136px;
	padding:0 !important;
	margin-left: 32px !important;
}
.sp_header_fanclub_wrap{
	padding: 0 30px;
	margin-bottom:30px;
}
.header_fanclub img{
	width:100%;
}
.sp_header_fanclub img{
	width:50% !important;
}

.main-visual {
    text-align: center;
}

.main-visual img {
    max-width: 1600px;
    width: 100%;
}

.main-wrapper {
    max-width: 1280px;
    margin: auto;
    padding-bottom: 50px;
}

#youtube-carousel {
    width: 100%;
    max-height: 350px;
    margin: 50px auto;
}

.splide__track {
    max-height: 350px;
}

.splide__slide iframe {
    aspect-ratio: 16 / 9;
}

.splide__arrow {
    background: transparent;
    border: 1px solid #e76add;
    width: 60px;
    height: 60px;
    font-size: 20px;
    transition: all 0.2s;
}

.splide__arrow:hover {
    scale: 1.2;
}

.splide__slide iframe {
    width: 100%;
    border-radius: 12px;
}

.splide__arrow--prev {
    top: 50%;
    left: -4em;
}

.splide__arrow--next {
    top: 50%;
    right: -4em;
}

.splide__arrow svg {
    fill: #e76add;
}

.youtube-border {
    display: none;
}

/*スマホ・タブレット*/
@media screen and (max-width:1024px) {
    #youtube-carousel {
        width: 80%;
    }

    .splide__slide iframe {
        height: auto;
    }

    .splide__arrow--prev {
        left: 0;
    }

    .splide__arrow--next {
        right: 0;
    }

    .youtube-border {
        display: block;
        border-top: 2px solid #e76add6e;
        position: absolute;
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
    }
}

/*iPad pro*/
@media (max-width: 1024px) and (min-width: 880px) {
    #youtube-carousel {
        max-height: 500px;
    }

    .splide__track {
        max-height: 500px;
    }

    .splide__arrow--prev {
        top: 45%;
    }

    .splide__arrow--next {
        top: 45%;
    }

    .splide__arrow--prev {
        left: -3.5em;
    }

    .splide__arrow--next {
        right: -3.5em;
    }

    .youtube-border {
        display: none;
    }
}

/*タブレット*/
@media (max-width: 880px) and (min-width: 600px) {
    #youtube-carousel {
        max-height: 450px;
    }

    .splide__track {
        max-height: 450px;
    }

    .splide__arrow--prev {
        top: 35%;
    }

    .splide__arrow--next {
        top: 35%;
    }

    .splide__arrow--prev {
        left: -3.5em;
    }

    .splide__arrow--next {
        right: -3.5em;
    }

    .youtube-border {
        display: none;
    }
}

/*スマホ*/
@media screen and (max-width: 600px) {
    #youtube-carousel {
        max-height: 350px;
    }

    .splide__track {
        max-height: 350px;
    }

    .splide__arrow--prev {
        top: 70%;
        left: 0;
    }

    .splide__arrow--next {
        top: 70%;
        right: 0;
    }

    .youtube-border {
        top: 70%;
    }
}

.news {
    background: white;
    width: 70%;
    max-width: 700px;
    margin: auto;
    padding: 30px;
    border-radius: 20px;
}
@media screen and (max-width: 600px) {
	.news {
		padding: 30px 20px;
		width: calc(100% - 40px);
		margin:0 20px;
		box-sizing:border-box;
	}
}

.news h2 {
    text-align: center;
    color: rgb(87, 87, 87);
    font-size: 3em;
}
@media screen and (max-width: 600px) {
	.news h2 {
		margin-top:0;
	}
}

.news li {
    border-bottom: 1px solid #e76add;
    font-size: 18px;
    padding: 10px;
    margin-bottom: 10px;
}

.news-date {
    color: #e76add;
    font-family: "Bodoni Moda", serif;
    letter-spacing: 1px;
}

.news-title{
	color: rgb(87, 87, 87);
}

footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-top: 1px solid rgb(158, 158, 158);
    padding: 30px;
}

.footer-logo img {
    width: 80px;
}

.footer-sns{
	display: flex;
}
.header-footer-x{
    text-align: center;
}
.header-footer-x p{
	margin-top: 0;
}
.header-footer-x a{
	color: black;
    font-size: 12px;
}

.footer-sns img {
    width: 30px;
    margin: 30px 10px 0px 10px;
}

@media (max-width: 880px) and (min-width: 600px) {
    .overlay{
        padding: 30px;
    }
    .overlay nav{
        justify-content: flex-start !important;
    }
    .overlay-menu ul {
        font-size: 30px !important;
        flex-direction: column;
    }
    .overlay-sns { 
        justify-content: flex-start !important;
    }
    .overlay-sns a{
        margin-right: 20px;
    }
}
@media screen and (max-width:880px) {
    .header-logo img {
        width: 100px;
    }

    .header-top {
        margin-bottom: 15px;
    }

    .header-sns {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        height: 4px;
        background: #4d4d4d;
        border-radius: 2px;
        transition: all 0.4s ease;
    }

    /* ハンバーガーがバツになるアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* オーバーレイメニュー */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #e8afe8;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        z-index: 1000;
        display: block;
    }

    .overlay nav {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /*.overlay img {
        width: 100px;
    }*/

    .overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* ナビゲーションリスト */
    .overlay-menu ul {
        list-style: none;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        font-size: 20px;
        font-weight: bold;
        gap: 0 20px;
        padding: 0 30px;
        letter-spacing: 3px;
    }

    .overlay-menu li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s ease;
    }

    /* メニュー開いた時のアニメーション */
    .overlay.active .overlay-menu li {
        opacity: 1;
        transform: translateY(0);
    }

    /* ナビリンク */
    .overlay-menu a {
        text-decoration: none;
        font-family: "Bodoni Moda", serif;
        color: #fff;
        transition: color 0.3s;
    }

    .overlay-menu a:hover {
        color: #e76add;
    }

    /* ナビゲーションの遅延アニメーション（順番にふわっと） */
    .overlay.active .overlay-menu li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .overlay.active .overlay-menu li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .overlay.active .overlay-menu li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .overlay.active .overlay-menu li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .overlay.active .overlay-menu li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .overlay.active .overlay-menu li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .overlay-logo {
        width: 0;
    }

    .overlay-logo img {
        width: 60px;
        padding: 60px 30px 0 30px;
    }

    .overlay-sns {
        display: flex;
		flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        padding: 30px;
    }

    .overlay-sns a {
        background: white;
        padding: 14px;
        border-radius: 50%;
		position: relative;
    }
	.overlay-sns p{
		margin-top: 15px;
		margin-left: 7px;
    	position: absolute;
    	color: white;
    	font-size: 12px;
	}

    .overlay-sns img {
        width: 30px;
    }


    .news li {
        font-size: 14px;
    }

    .footer-logo img {
        width: 60px;
    }
}



/**ここからニュース一覧ページ**/
.news-link{
  text-align: center;
  margin-top: 30px;
}
.news-link a{
    border: 1px solid #e76add;
    color: #e76add;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease
}
.news-link a:hover{
  background-color: #e76add20;
}
.height60{
    height: 60px;
}
.pagination {
  text-align: center;
  margin: 40px 0;
}
.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}
.pagination .current {
    background: #e76add;
    color: #fff;
    border-color: #e76add;
    border-radius: 5px;
}
/**ニュース一覧ページここまで**/
/**ここからプロフィール親ページ**/
.profile-wrapper {
    width: 80%;
    margin: auto;
    padding: 60px 30px;
}

.profile-visual img,
.profile-visual div {
    opacity: 0;
    transform: translateX(-20px);
    /* 文字用の軽い上下移動 */
}

.profile-visual {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.profile-visual div{
    margin-left: 20px;
}

.profile-visual img {
    width: 50%;
}

.profile-visual h2 {
    color: rgb(31, 31, 31);
    margin-bottom: -10px;
}

.profile-visual p {
    color: rgb(66, 66, 66);
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    background: white;
    padding: 60px 20px;
    border-radius: 20px;
    text-align: center;
}

.member img {
    width: 280px;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    border: 1px solid #e76add42;
    transition: filter 0.3s ease-out;
}

.member:hover img {
    filter: brightness(90%);
}

.member p {
    text-align: center;
}

.member-name {
    font-size: 20px;
    font-family: "Bodoni Moda", serif;
    font-weight: bold;
    letter-spacing: 1px;
    color: #e76add;
    margin-top: 5px;
}

.member-name-detail {
    font-size: 32px;
    font-family: "Bodoni Moda", serif;
    font-weight: bold;
    letter-spacing: 1px;
    color: #e76add;
}

.korean-name {
    font-size: 16px;
    font-family: "Chiron GoRound TC", sans-serif;
    color: #e76add;
}


@media screen and (max-width:880px) {
    .profile-visual img {
        width: 100%;
    }

    .profile-visual {
        flex-direction: column;
    }
}

/**プロフィール親ページここまで**/

/**ここからプロフィール子ページ**/
.profile-background {
    background: white;
    padding: 30px;
    border-radius: 5px;
}

.profile-box {
    display: flex;
    align-items: center;
    border-radius: 20px;
    gap: 40px;
    width: 90%;
    margin: 30px auto;
}

.profile-box tbody {
    text-align: left;
}

.profile-box th {
    width: 100%;
    color: #525252;
    font-size: 14px;
}

.profile-box td {
    display: inline-block;
    margin-top: -5px;
    padding-bottom: 15px;
    font-size: 18px;
    color: black;
}

.profile-box h3 {
    font-size: 32px;
}

.profile-box-image {
    position: relative;
}

.profile-box-image > img {
    width: 360px;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px 0 20px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

@media (max-width: 880px) and (min-width: 600px) {
    .profile-box-image img {
        width: 300px;
        height: 380px;
    }
}

.profile-box-name {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.signature {
    position: absolute;
    top: -50px;
    right: -40px;
}

.signature img {
    width: 100px;
    height: 100px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.profile-box-text tr,
.profile-box-name {
    opacity: 0;
    /* 最初から透明にする */
}


@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


.profile-insta {
    width: 30px;
    margin-bottom: -3px;
    margin-left: 5px;
}

.career {
    width: 90%;
    margin: 30px auto;
}

.career h3 {
    font-size: 24px;
    margin-bottom: 0;
    color: #525252;
}

.career ul {
    line-height: 30px;
}

.career li {
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 5px;
}

@media screen and (max-width:600px) {
    .profile-wrapper {
        width: 90%;
        padding: 50px 0px;
    }

    .profile-box {
        flex-wrap: wrap;
    }

    .profile-box-image img {
        width: 100%;
        height: auto;
        ;
    }

    .profile-background {
        padding: 10px;
    }

    .signature img {
        width: 100px;
        height: 100px
    }

}

/**プロフィール子ページここまで**/


/* page.php */
.page_wrap{
	width:100%;
	max-width:1000px;
	margin:0 auto;
	padding:40px 38px;
	box-sizing:border-box;
}
.page_wrap h1{
	text-align:center;
	color: #e76add;
	font-family: "Bodoni Moda", serif;
	letter-spacing:2px;
}
.page_contents{
	padding:80px 0;
}
@media screen and (max-width:680px) {
  .page_wrap{
	width:100%;

	padding:40px 20px;
}
}

/**記事ページここから**/

.article-wrapper article {
    width: 90%;
    margin: auto;
    background: white;
    max-width: 700px;
    border-radius: 10px;
    padding: 40px;
}

.article-wrapper article p{
	line-height:1.8;
	margin: 12px 0 32px;
}
.article-wrapper {
    padding:60px 30px;
}

@media screen and (max-width:480px) {
	.article-wrapper{
		padding:46px 15px;
		box-sizing: border-box;

	}
   .article-wrapper article {
        padding: 20px;
	    line-break: strict;
  		-webkit-line-break: strict;
  		word-break: keep-all;
  		overflow-wrap: break-word;
  		hanging-punctuation: none;
  		white-space: normal;
	   box-sizing: border-box;
        width: 100%;
    }
	.article-wrapper article h1{
	font-size:24px;
}
	.article-wrapper article p{

	margin: 12px 0 24px;
}
}

/**記事ページここまで**/

/**404ページここまで**/
.wrapper404 {
    padding: 30px;
}

.wrapper404-child {
    width: 90%;
    margin: auto;
    background: white;
    max-width: 700px;
    border-radius: 10px;
    padding: 40px;
	text-align: center;
}

.wrapper404-child h1 {
    font-size: 50px;
    margin: 0;
    font-style: italic;
    font-family: 'Bodoni Moda';
    color: #e76add;
}
.back_top{
	padding-top:64px;
}
@media screen and (max-width:480px) {
	.wrapper404 {
    padding: 20px;
}
    .wrapper404-child {
        padding: 20px;
    }

}

/**404ページここまで**/