/*
Theme Name: 印刷会社　ジーアート
*/
/*この下からCSSを書いてください*/

/* フォントの設定 */
@import url('https://fonts.googleapis.com/css2?family=Bubbler+One&family=M+PLUS+1p&family=Noto+Sans+JP&family=Noto+Serif+JP:wght@200&display=swap');

html,
body {
    font-size: 62.5%;
    font-family: 'Bubbler One', sans-serif;
    font-family: 'M PLUS 1p', sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
    font-family: 'Noto Serif JP', serif;
}

a {
    text-decoration: none;
    cursor: pointer;
}
/* header */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgb(255, 255, 255, 0.8);
    width: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    width: 4rem;
    padding-left: 1rem;
    padding-top: 1rem;
    /* filter: brightness(1.09); */
}

.header__logo a {
    display: flex;
    align-items: center;
}

.header__logo span {
    font-size: 1.5rem;
    font-weight: 700;
    padding-left: 1rem;
}

/* menu-pc  */
.header__menu-pc {
    display: none;
}

/* hamburger */
.header__hamburger nav {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    right: -100%;
    z-index: 20;
    text-align: center;
    background-color: #fff;
}

.header__hamburger nav img {
    display: flex;
    justify-content: left;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
}

.open nav {
    background-color: #FFF;
    right: 0;
}


.header__hamburger nav ul {
    text-align: left;
    margin: 5.5rem 2.4rem;
}

.header__hamburger nav ul li {
    font-size: 3rem;
    font-weight: bold;
    border-bottom: 0.1px solid #000;
}

.header__hamburger nav ul li a {
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.5s ease;
    padding: 2rem 0;
    padding-left: 1.6rem;
}

.header__hamburger nav ul li a:hover {
    color: #FFF;
    background-color: rgb(193, 170, 14, 0.7);
}

.header__hamburger nav ul li a span {
    font-weight: bold;
    font-size: 2rem;
    color: #C1AA0E;
    margin: 0 0 0 auto;
    padding-right: 1.6rem;
}


/* hamburger__btn */
.header__hamburger-btn {
    width: 5rem;
    height: 5rem;
    background: #FFF;
}

.header__hamburger-btn span {
    position: relative;
    top: 50%;
    left: 1.3rem;

    display: block;
    height: 0.2rem;
    width: 2.5rem;
    background-color: #38761D;

    transition: 0.5s;
    z-index: 999;
}

.header__hamburger-btn span::before {
    position: absolute;
    top: 1rem;
    content: '';

    display: block;
    height: 0.2rem;
    width: 2.5rem;
    background-color: #38761D;
    transition: 0.5s;
}

.header__hamburger-btn span::after {
    position: absolute;
    top: -1rem;
    content: '';

    display: block;
    height: 0.2rem;
    width: 2.5rem;
    background-color: #38761D;
    transition: 0.5s;
}

.header__hamburger-btn span.close {
    background: transparent;
}

.header__hamburger-btn span.close::before {
    transform: rotate(-45deg);
    top: 0;
}

.header__hamburger-btn span.close::after {
    transform: rotate(45deg);
    top: 0;
}

/* fv */
#fv {
    position: relative;
    width: 100%;
    height: 60vh;
    /* 必要に応じて調整 */
    overflow: hidden;
    /* コンテンツが外に溢れないように */
}

/* fv-1 */
.fv__picture {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.fv__picture-2 {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.fv__picture img {
    width: 70%;
    height: auto;
    object-fit: scale-down;
    opacity: 0.9;
    filter: brightness(1.15);
}

.fv__text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    line-height: 1.5;
    left: 15px;
}

.fv__text h2 {
    font-size: calc(5.5vh + 6vh);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.fv__text p {
    width: fit-content;
    font-size: calc(0.5vh + 1vh);
    margin-left: 1rem;
    opacity: 0.9;
}

/* fv-2 */
.fv-2 {
    position: relative;
    width: 100%;
    height: 60vh;
}

.fv__picture-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
}

.fv__picture-2 img {
    display: block;
    width: 70%;
    height: auto;
    margin-left: auto;
}

.fv__picture-2-text {
    position: absolute;
    bottom: 16vh;
    left: 10px;
    width: 60%;
    height: auto;
    pointer-events: none;
}

.fv__picture-2-text img {
    display: block;
    width: 100%;
    height: auto;
    border: solid 0.9px #000;
}

/* 共通の設定 */
.fv-1,
.fv-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* 初期状態で非表示 */
    z-index: 1;
    animation: change-fv 20s infinite;
}

.fv-1 {
    animation-delay: 0s;
}

.fv-2 {
    animation-delay: 10s;
}

@keyframes change-fv {
    0% {
        opacity: 0;
        visibility: visible;
    }

    50% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: visible;
    }
}



/* common */
.c__inner {
    padding: 1.5rem 1rem 3.5rem 1.5rem;
}

.c__subtitle {
    position: relative;
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    padding: 2rem 0;
}

.c__subtitle small {
    font-size: 0.8rem;
}

.c__subtitle span::after {
    position: absolute;
    content: '';
    width: 6rem;
    height: 1px;
    background-color: #C1AA0E;
    bottom: 36px;
    left: calc(50% - 3rem);
}

.c__back {
    background-color: #EEEEEE;
}


/* information */
.information {
    padding: 1rem;
}

.information__posts {
    font-size: 0.3vh;
}

.information__post {
    display: flex;
    border-bottom: dashed 1px #c0c0c0;
}

.information__post a {
    display: block;
    padding: 1.5rem 0;
    width: 100%;
    text-decoration: none;
    transition: all .3s;
}

.information__post a:hover {
    color: #C1AA0E;
}

.information__post-title {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.information__post-date {
    font-size: 1.5rem;
}

.information__post p {
    display: inline;
    width: 10%;
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
    padding: 0 0.5rem;
    margin-left: 1rem;
}

.information__btn {
    display: block;
    width: fit-content;
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-left: auto;
}

.information__btn:hover {
    color: #C1AA0E;
}

.information__btn::before {
    content: '>>';
}


/* items */
.items__kind {
    text-align: center;
    padding-bottom: 2rem;
}

.items__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列のレイアウト */
    gap: 20px;
    /* 画像間の間隔 */
}

.items__list li {
    position: relative;
}

.items__list-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
    border: solid 1px #777777;
}

.items__list-item-name {
    position: absolute;
    top: 5%;
    left: 50.5%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 10%;
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}



/* contact */
.contact__container {
    color: #FFF;
    background-color: #38761D;
    text-align: center;
    padding: 2rem;
}

.contact__container p {
    font-size: 1.3vh;
    padding-top: 1rem;
}

.tel-link {
    font-size: 3vh;
}

.fa-phone::before {
    padding-right: 1rem;
}


/* access */
/* GoogleMap */
.map {
    display: block;
    width: 100%;
    height: 250px;
    margin: auto;
}

.access__address {
    width: fit-content;
    font-size: 1.5rem;
    line-height: normal;
    margin: 0 auto;
    padding: 1rem 0;
}

.access__address-2 {
    padding: 2rem 0;
}

/* footer */
.footer {
    margin: 1rem 0;
}

.footer p {
    width: fit-content;
    margin: 0 auto;
}

.footer__logo {
    display: flex;
    width: fit-content;
    align-items: center;
    margin: 0 auto;
    padding: 2rem 0;
}

.footer__logo img {
    width: 4rem;
    /* filter: brightness(1.09); */
}

.footer__logo h2 {
    font-size: 1.5rem;
    width: fit-content;
}

/*投稿ページ*/
.single_container {
    margin-top: 5rem;
}

.single_inner {
    width: 80%;
    margin: 4rem auto;
    margin-bottom: 15rem;
}

.single_title {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.single_category {
    display: flex;
    white-space: nowrap;
    font-weight: bold;
}

.category {
    color: #FFF;
    background: #003C8A;
    padding: 0.5rem 1rem;
}

.single_thumbnail {
    display: block;
    margin: 5rem auto;
}

.single_thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.single_content {
    display: inline;
    font-size: calc(0.5vh + 2vh);
    font-weight: bold;
    margin-bottom: 10rem;
}

.single_content p {
    font-size: 1.5rem;
}

/* 投稿一覧ページ */
.information__inner {
    width: 70%;
    margin: 5rem auto;
}

.information__container {
    margin: 4rem 2.4rem;
}

.paginate {
    width: fit-content;
    font-size: 1.5rem;
    margin: 3rem auto;
}