@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/


/*TOPのPR*/

.top-pr {
  margin-top: 0;
  margin-bottom: 0;
  text-align: right;
}

.footer-menu__btn {
	display : none ;
}

.header {
	display : none ;
}

.breadcrumb {
	display : none ;
}

body {
	background-color : white;
}

.footer-meta {
    display: none;
}

.yureru-s {
    animation: yureru-s 2s infinite;
}
@keyframes yureru-s {
    0% {
        transform: translate(2px, 0px);
    }
    5% {
        transform: translate(-2px, 0px);
    }
    10% {
        transform: translate(2px, 0px);
    }
    15% {
        transform: translate(-2px, 0px);
    }
    20% {
        transform: translate(2px, 0px);
    }
    25% {
        transform: translate(-2px, 0px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}



.shiny-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #384878;
    overflow: hidden;
}

.shiny-btn::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(100deg,  rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 0) 0%);
    
    /* アニメーション */
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes shiny {
    0% {
        transform: scale(0) rotate(25deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(25deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(25deg);
        opacity: 0;
    }
}



/* ヘッダー画像のcanvas */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

canvas {
  max-width: 100%; /* 画面サイズに応じてCanvasを縮小 */
  height: auto;
}


/* 2025/12/4表示崩れを直した */
.wp-block-image,
.wp-block-image img,
.aligncenter,
img.aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wrap,
.container,
.entry-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    .wrap,
    .container,
    .entry-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .entry-content p,
    .entry-content li,
    .entry-content span,
    .entry-content div {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* 2025/12/4表示崩れを直した ここまで　*/



/* Gutenberg 文字色：custom-4 の保険 */
.has-custom-4-color {
  color: #e60000;
}


