@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

/* フォントの定義　ここから */

/* バンジー: CSSクラス（h1もじ）　ここから */
.bungee-regular {
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* バンジー: CSSクラス　ここまで */

/* LXGWマーカーゴシック（なびもじ）　ここから */
.lxgw-marker-gothic-regular {
  font-family: "LXGW Marker Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* LXGWマーカーゴシック　ここまで */

/* M PLUS Rounded 1c: CSSクラス　ここから  */
/* 800だいじ　400　ほんぶん */
.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* M PLUS Rounded 1c: CSSクラス　ここまで  */
/* LXGWマーカーゴシック　とっぷへもどる  ここから　*/
.lxgw-marker-gothic-regular {
  font-family: "LXGW Marker Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* LXGWマーカーゴシック　とっぷへもどる  ここまで　*/
/* Dela Gothic One: CSSクラス ここから */
.dela-gothic-one-regular {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* Dela Gothic One: CSSクラス ここまで */
/* フォントの定義　ここまで */

header {
/* グローバルナビの固定　ここから */
    position: fixed;
    top: 0;
    width: 98%;
/* グローバルナビの固定　ここまで */
    z-index: 100000;/* 流しアニメを貫通しないように前面に配置 */
    display: flex;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    background-color: rgb(249, 228, 131);
}

/* ろご＋会社名まーじ */
.rogo_marge {
    display: flex;
    width: 30%;
    text-align: center;
}

/* ろご画像 */
.rogoPh img {
    display: block;
    width: 80%;
    margin-top: 3%;
    margin-left: 30%;
    transition: 0.5s;
}

.rogoPh img:hover {
    background-image: url(../images/kamihubuki.png);
    background-repeat: no-repeat;
    animation: rotation 2s linear infinite;
    /* アニメーションの設定 */
    /* 回転の中心を要素の中心にする（デフォルトで中心だが明示） */
    cursor: pointer;
}

@keyframes rotation {
    0% {
    transform: rotate(0deg);
    }
    20% {
    transform: rotate(-20deg);
    }
    40% {
    transform: rotate(0deg);
    }
    80% {
    transform: rotate(20deg);
    }
    100% {
    transform: rotate(0deg);
    }
}

h1 {
    margin-top: 2%;
    margin-right: 15%;
    width: 200%;
    height: auto;
    line-height: 1;
    font-size: 150%;
    color: rgb(40, 4, 74);
    background-image: url(../images/mokomoko.png);
    /* 文字の白ククリ的な？ */
    text-shadow: 0px 0px 4px #fff;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding: 0 2%;
}

h1 a {
    list-style-type: none;
    text-decoration: none;
    font-family: "Dela Gothic One", sans-serif;
    font-weight: 400;
}

h2 {
    display: flex;
    position: relative;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 800;
    text-align: center;
    justify-content: center;
    font-size: 2.5vw;
    padding-bottom: 3%;
    color: blue;
    width: 100%;
}

header .navigation {
    width: 80%;
}

header .navigation nav {
    width: 100%;
}

header .navigation nav ul {
    display: flex;
    /* マーカの打ち消し */
    list-style-type: none;
}

header .navigation nav ul li {
    width: 23%;
    border-right: 1px solid #ffff;
    border-left: 1px solid #fff;
}

header .navigation nav ul li a {
    display: block;
    text-align: center;
    line-height: 3;
    text-decoration: none;/* 下線けしけし */
    font-family: "LXGW Marker Gothic", sans-serif;
    font-size: 100%;
    color: rgb(0, 0, 85);
    border: 2px solid transparent;/* 透明枠線設置。下の要素が動かないため */
    transition: 0.5s;
}

.not_akari {
    background-color: rgb(240, 255, 247);
}

.akari a {
    background-color: rgb(238, 147, 131);
    pointer-events: none; /* ホバー・クリックが無効化される */
}

header .navigation nav ul li a:hover {
    transition: background-color 0.3s ease;
    color: red;
    border-bottom: 2px solid red;
}

.menu-list {
    display: none;
}

/* チェックボックスを隠す */
.menu-checkbox {
  display: none;
}


/* めいん　ここから */

main {
    display: block;
    margin-top: -12%;
    background-image: url(../images/nenrin.jpg);
    background-size: cover;/* coverはmain領域に当てはめてね */
    background-position: center;
    top: 0;
    /* ↓画像を半透明にするの　ここから */
    /* 半透明の白をブレンドしてかぶせる */
    background-color: rgba(255,255,255,0.6);
    background-blend-mode: lighten;
    /* ↑画像を半透明にするの　ここまで */
    background-attachment: fixed; /* これで固定される */
    height: 270vh;
}

section:first-child {
    padding-top: 28%;
    top: 0;
    text-align: left;
    line-height: 1;
    padding-bottom: 10%;
}

section p:first-child {
    line-height: 1;
}
/* アバウト　ここから */
section ol {
  color: #668ad8; 
  border: double 5px #668ad8;/*二重線 太さ 色*/
  background: #f1f8ff; 
  padding: 0.5em 0.5em 0.5em 2em;
  width: 30%;
  margin-right: auto;
  margin-left: auto;
  margin-top: -2%;
  margin-bottom: 2%;
}

section ol li {
  line-height: 1.5;
  padding: 0.5em 0;
}

section p:nth-child(2) {
    line-height: 2;
}


.kaosyasinPh {
    width: 35%;
    padding-right: 2em;
}

.kaosyasinPh img {
    display: block;
    width: 100%;
    border-radius: 20px;  
}

/* ●★●★●★●★　　ますきんぐてーぷ　ていぎ　ここから */
.dot-pattern1 {
    display: block;
    position: relative;
    width: 50%;
    height: 2vh;
    background: #e8443f;
    background-image: radial-gradient(#fff 20%, transparent 0), radial-gradient(#fff 20%, transparent 0);
    background-position: 0 0, 10px 50px;
    background-size: 20px 20px;
    padding: 0.5em;
    transform: rotate(45deg);
    margin-top: -1%;
    margin-left: 12%;
    z-index: 100;
}
.dot-pattern2 {
    display: block;
    position: relative;
    width: 50%;
    height: 2vh;
    background: #e8443f;
    background-image: radial-gradient(#fff 20%, transparent 0), radial-gradient(#fff 20%, transparent 0);
    background-position: 0 0, 10px 50px;
    background-size: 20px 20px;
    padding: 0.5em;
    transform: rotate(-45deg);
    margin-top: -1%;
    margin-left: -50px;
    z-index: 100;
}
/* ●★●★●★●★　　ますきんぐてーぷ　ていぎ　ここまで */
/* アバウト　ここまで */


.aisatu p {
    text-align: left;
    line-height: 2;
}

p {
    width: 60%;
    font-size: 100%;
    color: #202020;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;/* 適切な文字間 */
    text-align: justify;/* おしりそろえ */
    margin-right: auto;
    margin-left: auto;
    white-space: pre-wrap;
    padding-bottom: 5%;
} 

.aisatu {
    display: flex;
    width: 65%;
    margin-right: auto;
    margin-left: auto;
}

span {
    margin-right: 1em;
}

ul {
    margin-left: 20px;
    list-style-type: disc;
    list-style-position: outside;
}

ul li {
    margin-bottom: 2%;
}

ul li p {
    width: 100%;
    text-align: left;
}

.PhBox {
    width: 55%;
    margin-bottom: 2%;
    margin-right: auto;
    margin-left: auto;
}

.PhBox img {
    border-radius: 20px;/* 写真のよつかどを角丸にする */
    width: 100%;
}

strong {
    color: red;
    font-size: 130%;
    margin-top: 3%;
    margin-bottom: 3%;
}

section p {
    text-align: center;
    padding-bottom: 4%;
}

section ul {
    display: block;
    width: 45%;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

section ul li {
    list-style-type: none;
    border-bottom: 1px dotted blue;
}

section ul li a {
    text-align: left;
    background-color: rebeccapurple;
}

aside {
    position: fixed;
    bottom: 2%;
    right: 1%;
    width: 100%; /* 幅を画面いっぱいに */
}

/* ----------　自動で絵が動く　ここから　---------------------------- */
/* アニメーションさせたい画像に適用 */
.rogo_aniPh {
    vertical-align: middle; /* テキストとの位置合わせ */
    animation: up-down 2s ease-in-out infinite alternate;
    width: 10%;
}

.rogo_aniPh img {
    display: block;
    position: sticky;
    width: 100%;
}

/* 動きの定義 */
@keyframes up-down {
  0% {
    transform: translateY(0); /* 開始位置 */
  }
  100% {
    transform: translateY(-20%); /* 上に20px移動 */
  }
}
/* ----------　自動で絵が動く　ここまで　---------------------------- */

.button_top {
    /* ボタンの色と文字の色とサイズ */
    background-color: blue;
    color: white;
    font-size: 16px;
    text-shadow: 0 0 2px #fff;

    /* ボタンのサイズと角丸 */
    clip-path: polygon(100% 42%, 76% 42%, 75% 100%, 20% 100%, 21% 41%, 0 41%, 49% 0);
    width: 80px;
    height: 80px;
    border-radius: 50%;

    /* 次に作る上向きの三角と、TOPの文字の位置を揃えるためのcss */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    margin-left: auto;
    transition: 1s;
}

.button_top:hover {
    transition: 1s;
    transform: translateY(-10px);
    background-color: red;
}

.fixed a {
    text-decoration: none;
}
/* めいん　ここまで */



/* ふったー　ここから */
footer {
    display: block;
    width: 100;
    background-color: rgb(249, 228, 131);
    height: 20vh;
    overflow: hidden;
}

footer ul {
    display: flex;
    width: 100%;
    height: 4vh;
    justify-content: center;
    list-style-type: none;/* マーカー打ち消し */
    background-color: rgb(249, 241, 182);
    margin-right: auto;
    margin-left: auto;
    gap: 4%; /* ふったーの項目間をあける */
}

footer ul li a {
    text-decoration: none;/* 下線打ち消し */
}

footer address {
    width: 50%;
    height: 4vh;
    padding: 0;
    margin-right: auto;
    margin-left: auto;
}

footer address p:first-of-type {
    padding-top: 1vh;
}

footer address p {
    padding-bottom: 0.5vh;
    font-size: 75%;
}

footer small {
    display: block;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-top: 46px;
    width: 100%;/* 動ける範囲を最大にする */
    font-size: 75%;
}
/* ふったー　ここまで */