@charset "utf-8";

html {
    /* ブラウザのデフォルトが16px                        */
    /* デフォルトの16pxの代わりに1emが10pxになるように調整 */
    font-size: 62.5%;
}

/* 「*」はユニバーサルセレクタ（すべての要素を対象にするセレクタ）でbox-sizing: border-box;を指定 */
/* この指定（してい）はborderとpaddingをボックスサイズ（widthとheight）の中に含めて算出するので、スタイリングがしやすい*/
*, *::before, *::after {
    box-sizing: border-box;
}

body{
    line-height: 1.5;
    color: rgb(73, 72, 72);
    font-size: 1.6rem; /* 16px */
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
    text-align: center;
    background-image: url(../img/seasonal.jpg);
    background-size: cover;
    overflow: hidden;
}

header, footer, h1, h2, h3, p, div, .container01, .filler01 {
    margin: 0.2em 0em 0em 0em;
    padding: 0.1em;
}

/*****************************/
/* 見出し（みだし）           */
/*****************************/
h1 {
    font: 2em Rajdhani, "Noto Sans JP";
    color: rgb(181, 242, 252);
    background-image: radial-gradient(circle 248px at center, #16d9e3 0%, #30c7ec 47%, #46aef7 100%);
}

h2{
    padding-left: 0.5em;
    border-left: solid 0.5em darkgray;
    text-align: left;
}

/*****************************/
/* ページ                    */
/*****************************/
.wrapper {
    position: relative;/*相対位置*/
    max-width: 100vw;  /*すべての要素をbox-sizing:border-boxとしているので全て含めてmin-width:100vwに*/
    min-height: 100vh; /*すべての要素をbox-sizing:border-boxとしているので全て含めてmin-height:100vhに*/
    margin: 0;
    padding: 0;
    padding-bottom: 23px;/*footer+paddingの高さ*/
    text-align: center;
}
/*****************************/
/* セクション(section)        */
/*****************************/
.container01 {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0.5em;
    width: 80%;
    border-radius: 0.5em 1.5em;
    background-color:rgba(245, 245, 245, 0.6);
    box-shadow:0 0 0.5em rgb(73, 72, 72);
}
main > p {
    font: 1.2em bold;
}

/*****************************/
/* アンカー(anchor)           */
/*****************************/
a {
    color: black;
    font-weight: 900;
    text-decoration: none;
        /* https://developer.mozilla.org/ja/docs/Web/CSS/text-decoration */
}

/* mouseoverでグレースケール */
a:hover{
    opacity: 0.5;
    filter: grayscale(100%);
}

/*****************************/
/* container  item           */
/*****************************/
.container01-01 , .container01-02, .container01-03 , .container01-04 {
    display: flex;
        /*https://developer.mozilla.org/ja/docs/Web/CSS/CSS_Flexible_Box_Layout*/
    flex-wrap:wrap;
        /*https://developer.mozilla.org/ja/docs/Web/CSS/flex-wrap*/
    justify-content: space-evenly;
        /*https://developer.mozilla.org/ja/docs/Web/CSS/justify-content*/
    font-size: 0.7em;
}

.item01{
    position: relative;
    width: 6em;
    height: 9em;
    margin: 0;
    line-height: 1em;
    overflow: hidden;
}

.item02{
    position: relative;
    width: 6em;
    height: 12em;
    margin: 0;
    line-height: 1em;
    overflow: hidden;
}

.item01 img, .item02 img{
    width: 6em;
    height: auto;
}

.item01 .img_omikuji2{
    width: auto;
    height: 6em;
    overflow: hidden;
}

/*****************************/
/* フッター                   */
/*****************************/
footer> p {
    position: absolute;/*←絶対位置*/
    bottom: 5px; /*下に固定*/
    width: 100%;
    margin: 0px;
    padding: 1px;
    color: whitesmoke;
    font: 1em Rajdhani;
    text-align: center;
    background: rgba(1, 24, 31, 0.7);
}
/*******************************************************/
/* レスポンシブ対応　メディアクエリを使ってCSSを切り替える */
/* https://www.design-memo.com/coding/css-media-queries */
/* mobileのときのスタイル */
/*******************************************************/
@media screen and (max-width: 480px) {
    body{
        background-size: auto 1000px;
    }
}