﻿@charset "utf-8";

/*
本テンプレートのクレジット表示（削除不可）
Template Name: Photogenic Day
Author: ASA
Version: 1.0.0
License URI: https://oshaten10.com/
*/

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html {
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
}

*,
::before,
::after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    letter-spacing: .1em;
    text-align: justify;
}

/* web font-------------------- */
.webfont {
    font-family: "WindSong", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
    letter-spacing: -0.1rem;
}

/* general params-------------------- */
section *:first-child {
    margin-top: 0;
}

section *:last-child {
    margin-bottom: 0;
}

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-text);
    text-underline-offset: .3em;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 1px;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a:hover {
    color: var(--color-accent);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

p {
    margin: 0 0 1rem;
}

h2,
h3 {
    margin: 24px 0 12px;
    letter-spacing: .1em;
}

h4,
h5 {
    font-size: 1em;
    margin: 12px 0 4px;
}

h2 {
    font-size: 0.85em;
    color: var(--color-accent);
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h2 span.webfont {
    font-size: 40px !important;
    color: var(--color-text);
    line-height: 1;
}

h3 {
    font-weight: bold;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--color-accent);
}

h4 {
    color: var(--color-accent);
}

h5 {
    font-weight: normal;
}

hr {
    border: none;
    margin: 40px auto;
    width: 100%;
    height: 1px;
    background-color: var(--color-mgrey);
}

table {
    width: 100%;
    margin: 2rem 0;
    font-size: 0.9em;
    line-height: 2;
    border-collapse: collapse;
    border-spacing: 0;
    border-left: 3px solid var(--color-lgrey);
}

th,
td {
    margin: 0;
    overflow: visible;
    padding: 6px 8px;
    vertical-align:top;
}

table td:first-child {
    width: 8em;
    padding-left: 16px;
}

table tr:first-of-type td{
    padding-top: 0;
}

table tr:last-of-type td{
    padding-bottom: 0;
}

img {
    max-width: 100%;
    border: none;
    vertical-align: top;
}

ul,
ol {
    padding-left: 1rem;
    margin-bottom: 16px;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 8px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-lgrey);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border: none;
    border-radius: 999px;
}

/* bg-------------------- */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    width: 100%;
    height: 100lvh;
    overflow: hidden;
}

.bg::after {
    position: fixed;
    content: "";
    background: var(--img-bg);
    background-size: 160%;
    /* 画面端ぼかしが見えないよう大きめに表示 */
    background-position: center bottom;
    z-index: -10;
    top: -40px;
    bottom: -40px;
    left: -40px;
    right: -40px;
    filter: blur(20px);
    /* ぼかしの強さ */
}

/* layout-------------------- */
header,
.cnt {
    border-radius: 16px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.wrap {
    position: relative;
    /* 対背景 */
    display: flex;
    justify-content: space-between;
    gap: 56px;
    margin: 80px 10%;
}

/* header-------------------- */
header {
    min-width: 360px;
    height: fit-content;
    padding: 64px 0;
    text-align: center;
    background-image: var(--img-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, center;
    position: sticky;
    /* スクロールでついてくる */
    top: 80px;
    display: flex;
    /* サイト名とナビゲーションのレイアウト用 */
    flex-direction: column;
    gap: 32px;
}

/* sitename-------------------- */
.sitename {
    font-size: 50px;
    color: var(--color-wh);
    line-height: 0.8;
    transform: rotate(-10deg);
}

/* ナビゲーションのデザイン */
header ul.gnav {
    list-style: none;
    font-size: 1.1em;
    letter-spacing: .3em;
    padding: 0;
    margin: 0;
    display: flex;
    /* ナビゲーションのレイアウト用 */
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

header ul.gnav li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--color-wh);
    background-color: unset;
}

header ul.gnav li a:hover {
    color: var(--color-text);
}

header ul.gnav::before,
header ul.gnav::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--color-accent);
}

/* cnt-------------------- */
.cnt {
    width: 100%;
    background-color: var(--color-bg);
}

.cnt section {
    padding: 96px;
    border-bottom: 2px dotted var(--color-mgrey);
}

.cnt section:last-of-type {
    border-bottom: none;
}


/* スクロールアイコン-------------------- */
.icn_scroll {
    display: block;
    margin: 0 auto;
}

/* キャプション-------------------- */
.caption {
    padding: 16px;
    font-size: 0.8em;
    line-height: 1.4;
    background-color: var(--color-lgrey);
    border-radius: 4px;
}

/* キャプションつきのテキストリスト-------------------- */
ul.cap-list {
    list-style: none;
    padding-left: 0;
}

ul.cap-list li {
    margin-bottom: 1em;
}

ul.cap-list li:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-color: var(--color-accent);
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 999px;
}

ul.cap-list .caption {
    margin-top: 0.6em;
}

/* ギャラリー-------------------- */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 1frが増えると列が増えます */
    gap: 4px;
}

/* 更新履歴-------------------- */
.news_box {
    overflow: auto;
    width: 100%;
    height: 100px;
    padding: 8px;
    border: 1px solid var(--color-mgrey);
}

ul.news_list {
    font-size: 0.9em;
    padding: 0;
}

ul.news_list li {
    display: flex;
    list-style: none;
    font-size: 0.9em;
}

ul.news_list li span::after {
    content: '・・・';
    padding: 0 6px 0 4px;
    letter-spacing: -0.4em;
}

/* リンクボタン-------------------- */
.btn a {
    position: relative;
    display: inline-block;
    padding: 8px 40px 8px 16px;
    border-radius: 999px;
    font-size: 0.9em;
    color: var(--color-wh);
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
    background-color: var(--color-accent);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.btn a::before,
.btn a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.btn a::before {
    right: 16px;
    width: 10px;
    height: 1px;
    background: var(--color-wh);
}

.btn a::after {
    right: 16px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--color-wh);
    border-right: 1px solid var(--color-wh);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn a:hover {
    background-color: var(--color-grey);
}

/* form setting--------------------*/
input,
textarea,
select,
optgroup,
option,
button {
    font: inherit;
}

button,
input[type="button"],
input[type="submit"] {
    border: none;
    cursor: pointer;
}

form {
    margin-bottom: 16px;
}

input,
textarea {
    color: var(--color-text);
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 8px;
    background-color: var(--color-lgrey);
    border: none;
    border-radius: 3px;
}

span.form-required {
    color: var(--color-accent);
}

button {
    padding: 4px 16px;
    border-radius: 40px;
    color: var(--color-wh);
    letter-spacing: .1em;
    background-color: var(--color-accent);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

/* 文章中のアイコン設定-------------------- */
.icn_position {
    width: 13px;
    height: 13px;
    vertical-align: middle;
    margin: 0 3px;
}

/* footer-------------------- */
footer {
    position: relative;
    padding: 16px;
    text-align: center;
}

footer a:hover{
    color: var(--color-accent);
}

footer .sitename {
    font-size: 30px;
    font-weight: bold;
    position: relative;
    margin-bottom: 1em;
}

footer .sitename:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 40px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: var(--color-base);
    border-radius: 2px;
}

footer .copyright {
    font-size: 10px;
    color: var(--color-wh);
}

/* ページトップに戻る-------------------- */
.backtotop a {
    position: fixed;
    right: 12px;
    bottom: 8px;
    display: block;
    width: 32px;
    height: 32px;
}

.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 14px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 16px;
    height: 16px;
    border: solid var(--color-wh);
    border-width: 0 0 2px 2px;
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    body{
        font-size: 12px;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

    h2,h3{
        margin: 16px 0 10px;
    }

    .wrap {
        display: block;
        margin: 0 4%;
    }

    header {
        min-width: 100%;
        margin-bottom: 16px;
        padding: 32px 0;
        position: static;
        gap: 16px;
        border-radius: 0 0 16px 16px;
    }

    .sitename {
        text-shadow:0px 0px 10px rgba(0, 0, 0, 0.2);
    }

    header ul.gnav {
        line-height: 1;
        letter-spacing: .2em;
        margin: 0 16px;
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 10px;
        text-shadow:0px 0px 6px rgba(0, 0, 0, 0.3);
    }

    header ul.gnav::before, header ul.gnav::after {
        display: none;
    }

    .cnt section{
        padding: 40px 8%;
    }

    .backtotop a::before {
        width: 10px;
        height: 10px;
        border-color: var(--color-accent);
    }
}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */