@charset "UTF-8";

/* 
Theme Name: sorry.css
Description: 清里フォトアートミュージアム(K*MoPA) 公式サイト用スタイルシート
Author: Kiyosato Museum of Photographic Arts
Date: 2026-11-16 ~ 2026-11-16
 */

* {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAFAFA;
    color: #000000;
    line-height: 1.5;
    letter-spacing: 0.1em;
    font-family: sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

h1:has(img) {
    display: inline-block;
    line-height: 1;
}

a {
    color: #000000;
    /* text-decoration: underline; */
    text-decoration: none !important;
    cursor: pointer;
}

a:hover,
a:hover > span {
    color: #808080;
    text-decoration: none;
}

a:hover > img {
    opacity: .5;
}

ul,
li {
    list-style-type: none;
}

.font-bold {
    /* 1. 左右に文字と同じ色の細い影を出して、文字の横幅を太らせる */
    text-shadow: 0.3px 0px 0px currentColor, -0.3px 0px 0px currentColor !important;

    /* 2. 通常の太字指定も念のため残しておく */
    font-weight: bold !important;
}

/* ↓ sorryページここから ↓ */

#homepage {
    width: 100%;
    max-width: 1024px;
    font-size: 16px;
    text-align: center;
    margin: 32px auto;
    padding: 0 48px;
}

#homepage h1,
#homepage h2,
#homepage h3,
#homepage p {
    margin-bottom: 16px;
}

#homepage h1 img {
    height: 32px;
}

#homepage hr {
    width: 100%;
    height: 2px;
    border: 0;
    background-color: #E6E6E6;
    margin: 16px auto 40px;
}

#homepage h2 {
    font-size: 1.75em;
}

#homepage > div {
    background-color: #EEF4F8;
    border-radius: 8px;
    padding: 32px;
    margin: 40px auto;
}

a > span.ext-link {
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

a > span.ext-link::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(../images/kmopa-parts2026-ext-b.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

a:hover > span.ext-link::after {
    opacity: .5;
}

#homepage > div > p > a {
    display: block;
    color: #FFFFFF;
    background-color: #333333;
    /* K80% */
    border-radius: 8px;
    padding: 16px;
}

#homepage > div > p > a:hover {
    background-color: #4D4D4D;
    /* K70% */
}

#homepage > div > p > a:hover > span {
    color: #FFFFFF;
}

#homepage > div > p > a > span.ext-link::after {
    background-image: url(../images/kmopa-parts2026-ext-w.svg);
}

#homepage > div > p > a:hover > span.ext-link::after {
    opacity: 1;
}

#homepage ul,
#homepage ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
}

#homepage ul {
    justify-content: center;
    margin-top: 28px;
}

#homepage ul li:not(:first-child) {
    position: relative;
    padding-left: 40px;
}

#homepage ul li:not(:first-child)::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "／";
    font-size: 16px;
    width: 16px;
}

#homepage ul li:not(:last-child) {
    padding-right: 24px;
}

#homepage img {
    display: inline-block;
    height: 28px;
    margin-right: 8px;
}

#homepage .yt {
    width: 40px;
    height: auto !important;
}

#homepage ul li.flex-break {
    display: none;
}

@media screen and (max-width: 880px) {
    #homepage ul {
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 0;
        row-gap: 16px;
    }

    #homepage ul li.flex-break {
        display: block;
        flex-basis: 100%;
        height: 0;
        padding: 0;
        margin: 0;
    }

    #homepage ul li:nth-child(3),
    #homepage ul li:nth-child(4) {
        padding-left: 0;
    }

    #homepage ul li:nth-child(3)::before,
    #homepage ul li:nth-child(4)::before {
        content: none;
    }
}

@media screen and (max-width: 600px) {

    #homepage ul,
    #homepage ul li,
    #homepage ul li a {
        display: block;
        padding: 0 !important;
    }

    #homepage ul li.flex-break {
        display: none;
    }

    #homepage ul li::before {
        content: none !important;
    }

    #homepage ul li:not(:last-child) a {
        margin-bottom: 20px;
    }
}

/* ↑ トップページここまで ↑ */

/* Bilingual notice */
.en-heading {font-size: clamp(1.05rem, 2.5vw, 1.5rem); font-weight: 600; margin-top: .5em;}
.en-copy {line-height: 1.8; overflow-wrap: anywhere;}
