@charset 'UTF-8';

/*
COLORS
================================================ */
:root {
    --light-blue: #4db1ec;
    --blue: #1665cc;
    --purple: #b473bf;
    --pink: #ffb2c1;
    --orange: #ff9f67;
    --yellow: #ffd673;
    --light-green: #a2e29b;
    --green: #00a2af;
    --grey: #333;
    --white: #fff;
}

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    /* スムーズスクロール */
    scroll-behavior: smooth;
}
body {
    /* 文章のフォント */
	color: var(--grey);
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ　Pro W3","Hiragino Kaku Gothic Pro",sans-serif;   
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}
img {
    max-width: 100%;
}
h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}
h1,
h2 {
    text-align: center;
}
header,
h1,
h2,
.hero-date {
    /* タイトルフォント */
    font-size: 2.5rem;
}

/* Layout */
.wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/*
HEADER
================================================ */
header {
    background: var(--grey);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}
header .wrapper {
    display: flex;
    justify-content: space-between;
}
header a {
    color: var(--white);
    font-size: 1.25rem; /* ロゴ（Enjoy the Outdoors）のサイズ変更 */
}
.btn-menu { /* メニューボタンの設定 */
    position: absolute;
    top: 12px; /* メニューボタンの垂直位置 */
    right: 12px; /* メニューボタンの水平位置 */
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white);
    padding: .25rem .5rem; /* メニューボタン枠の大きさ */
    font-size: 1.25rem; /* メニューボタンの大きさ */
}
.main-nav { /* ナビゲーション設定 */
    background: var(--grey);
    width: 0;
    position: absolute;
    z-index: 2;
    top: 50px;
    right: 0;
    overflow: hidden;
    transition: .5s;
}
.main-nav li {
    text-align: center;
    margin: 2rem 0;
}
.main-nav a {
    display: block;
    font-size: 1.25rem; /* ナビゲーション設定 */
}
.main-nav.open-menu {
    width: 100%; /* メニュー（旅の記録　旅の道具　趣味の部屋　ぷーの記録）幅の変更 */
}

/*
photo
================================================ */
#photo1 {
    /* ↓ 省略形だとブラウザーによってうまく表示されない
    background: var(--light-blue) url('../coll/img_0643.jpeg') no-repeat center / cover; */
    background-image: url('../photo/IMG_6754.JPG');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 30vh; /* 画像の高さ */
    display: flex;
    align-items: center;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
#photo1 h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-top: 3rem;
}

/*
COMMON
================================================ */
.container {
    max-width: 900px; /* ブログ（2カラム）の幅設定 */
    margin: 0 auto;
    padding: 1.5rem;
    background: #fff; /* 白色 */
}

/* マルチカラム（回転写真）
========================================================== */
body {
    padding: 0rem; /* ナビゲーションのヘッダー上部隙間 */
}

/* マルチカラム枠 */
div {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: .875rem; /* 各画像の間隔 */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* レスポンシブ画像 */
img {
    width: 90%; /* レスポンシブ画像の幅 */
    height: 240px; /* 各画像の高さ */
    object-fit: cover;
    margin: 0px 20px; /* 画像の位置 */
}
ul {
    text-align: center;
}

/* 記事一覧 */
.post-home {
    margin-bottom: 3rem; /* 文章とページングの間隔 */
}
.post-title-sub {
    padding-bottom: 10px;
    background-size: 6px 6px;
    margin-bottom: 1.5rem;
}
.post-title-sub h2 {
    background: #fff; /* 白色 */
    padding: 0 0 .5rem;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 2.875rem; /* メイン画像と小見出しの間隔 */
    margin-bottom: 0rem;
    text-align: center;
}
.post-title-sub a {
    color: #949087; /* やや灰色い黄系の色 */
    text-decoration: none;
}
.post-title-sub a:hover {
    color: #605c55;
}
        
/* 記事内部 */
article h3,
article h4,
article h5,
article h6 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
    margin: 3rem 0 1rem;
}
article h3 {
    font-size: 1.5rem;
    border-top: #ccc dotted 2px;
    border-bottom: #ccc dotted 2px;
    padding: .75rem;
    line-height: 1.4;
}
article h4 {
    font-size: 1.5rem;
}
article h5 {
    font-size: 1.375rem;
}
article h6 {
    font-size: 1.25rem;
}
article p {
    margin-bottom: 1rem;
}
article a {
    color: #93d8d0; /* ライトグリーン */
    text-decoration: underline;
}
article a:hover {
    color: #7ac69f; /* 淡いグリーン */
}
article img {
    max-width: 100%;
}

/*
ページ送り
================================================　*/
.pagination {
    display: flex;
    justify-content: center;
    font-size: 1rem;
    text-align: center;
    margin: 3rem;
}
.pagination a:hover {
    background: green; /* グリーン色 */
    color: #fff;
}
.pagination a,
.pagination .current {
    border-radius: 50%;
    padding-top: 11px;
    display: inline-block;
    width: 60px;
    height: 40px;
    margin: 0 6px;
}
.pagination .current {
    background: orange; /* オレンジ色 */
    color: #fff; /* 白色 */
}

/*
TICKET（お問い合わせ）
================================================ */
#ticket {
    background-image: linear-gradient(#f5bc2d, #e6551e);
    padding: 6rem 1rem 2rem;
    -webkit-clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
}

/*
FOOTER（コピーライト）
================================================ */
.footer {
    border-top: 1px solid rgba(255,255,255,0.5);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.25rem;
    color: var(--white);
}
.footer a {
    text-decoration: underline;
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
/* Common */
    h2 {
        font-size: 5rem;
    }
    a:hover {
        color: var(--blue);
    }

/* Header */
    .btn-menu {
        display: none;
    }
    .main-nav {
        width: 100%;
        position: static;
        display: flex;
    }
    .main-nav li {
        margin: 0 0 0 1.5rem;
    }

/*
photo
================================================ */
    #photo1 {
        height: 50vh; /* 画像の高さ */
    }
    #photo1 h1 {
        font-size: 3.5rem; /* タイトルのフォントサイズ */
    }
    
/* パソコン画像 */
img {
    width: 100%;
    height: 240px; /* 各画像の高さ */
    object-fit: cover;
    margin: 0px; /* 画像の位置 */
}
ul {
    text-align: center;
}

/* Main */
    main {
        width: 68%;
        margin-bottom: 0;
    }

    .main-grid {
        width: 100%;
        margin-bottom: 0;
    }

    .grid {
        gap: 0.75rem .5rem; /* 画像の上下左右間隔 */
        grid-template-columns: repeat(5,1fr);
    }

    /* 画像_B（各ブログに使用している画像 720×480 72×72） */
    .post-thumb-sub {
        margin: 0 0 1rem 0; /* 画像の余白 === 下辺のみ余白指定 */
        float: left;
    }
    .post-img-sub {
        max-width: 100%; /* 画像の幅 === 高さの数値により幅が自動で変更 */
        height: auto; /* 画像の高さ === ほぼ元画像サイズと同じ */
    }
}
