@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: 430vh;
}

section {
    padding-bottom: 3%;
}

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

section p:first-child {
    line-height: 1;
}

/* アクセス　ここから */

/* ぐーぐるまっぷについて */
iframe {
    display: block;/* 自由に動ける */
    width: 40%;
    margin-top: 3%;
    margin-right: auto;
    margin-left: auto;
}

main section ul  {
    width: 39%;
    margin-right: auto;
    margin-left: auto;
}

main section ul li {
    line-height: 2;
}


.tizu {
    display: flex;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}

.tizu ul li {
    padding: 0 4%;
    margin-top: 5%;
}

.tennaiPh {
    width: 45%;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 3%;
}

.tennaiPh img {
    display: block;
    width: 100%;
}

/* 表とform ここから */
table {
    margin-right: auto;
    margin-left: auto;
}

table th {
    width: 20%;
    margin-left: 3%;
    padding: 1%;
    text-align: right;
}

table td {
    width: 40%;
    height: 20%;
    padding: 1%;
    text-align: left;
}

textarea {
    width: 80%;
    height: 20vh;
}

.sousin {
    text-align: center;
}

#name {
    width: 50%;
    height: 4vh;
}
#address {
    width: 80%;
    height: 4vh;
}
#tel {
    width: 50%;
    height: 4vh;
}
#mail {
    width: 80%;
    height: 4vh;
}
.sousin {
    width: 20%;
    margin-right: auto;
    margin-left: auto;
}
/* 表とform ここまで */
.submit-btn {
  /* 1. デフォルトスタイルの解除 */
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;

  /* 2. 基本デザイン（色・形・サイズ） */
  display: inline-block;
  padding: 12px 40px;
  background-color: #ff0000; 
  color: #fff;
  font-size: 23px;
  font-weight: bold;
  border-radius: 25px; /* 角を丸くする */
  transition: 1s; /* 変化をなめらかに */
}

/* 3. マウスを乗せた（ホバー）時の変化 */
.submit-btn:hover {
  background-color: #0056b3; /* 濃い青色 */
  transform: translateY(-2px); /* 少し上に浮かす */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* 影をつける */
  transition: 1s;
}

/* アクセス　ここまで */


.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%;
}
/* ふったー　ここまで */