@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP|Quicksand&display=swap');

@font-face {
    font-family: '瀬戸フォント';
    font-display: swap;
    src: url('https://cdn.leafscape.be/setofont/setofont_web.woff2') format("woff2");
}

/* 全体に適用する */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 基本設定 */
body {
    background-color: #fff;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #000;
}

/* リンク */
a {
    text-decoration: none;
    font-weight: bold;
    color: #000;
}

/* 訪問済みリンク */
a:visited {
    color: #000080;
}

/* ヘッダー */
header {
    margin: 20px;
    padding: 20px;
    display: inline-block;
    background: url('image.png') center/cover;
      width: 220px;
  height: 220px;
}

/* ヘッダー中身 */
header #head {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.9);
}



/* 星 */
.star{
  color: #1f6099;
  font-size: 7em;
line-height: 130%;
  }


/* 大見出し */
header #head h1 {
    margin-bottom: 0.5em;
    transform: rotate(-5deg);
    font-family: '瀬戸フォント', sans-serif;
    font-size: 1.6em;
}

/* セクション見出し */
section h2 {
    margin-bottom: 0.5em;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3em;
}

/* リスト */
section ul {
    list-style-type: none;
}

section ul li {
    margin: 0.5em;
    display: inline-block;
}

/* リンク色を交互に変える */
section ul li:nth-of-type(odd) a {
    background-color: #416092;
}

section ul li:nth-of-type(even) a {
    background-color: #ebd86d;
}

/* リンク */
section ul li a {
    display: inline-block;
    padding: 0.2em 0.5em;
    width: 100%;
    color: #fff;
}

/* リンクホバー */
section ul li a:hover {
    color: #000;
}

/* メニュー */
.menu li {
    display: inline-block;
}

.menu a {
    margin: 0 1em;
}

.footer a,
footer a:hover,
footer a:visited {
  color: #000080;
}

.form-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.form-group input[type="text"] {
  width: 100px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #555;
  background-color: #f4f4f4;
  box-sizing: border-box;
}

.form-group input[type="text"]:focus {
  outline: none;
  border-color: #aaa;
}

.form-group input[type="text"]::placeholder {
  color: #aaa;
}

button {
  background: #416092;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {

    /* フォントサイズ */
    body {
        font-size: 14px;
    }

    /* フレックスボックス */
    #wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #headerwrap {
        flex-basis: 100%;
    }

    section {
        flex-basis: 40%;
    }
}

@media screen and (min-width:1024px) {
    #wrap {
        margin: 20vh auto 3em;
        max-width: 1000px;
    }

    #headerwrap {
        flex-basis: 30%;
    }

    header {
        margin: 0 auto;
    }

    section {
        margin: 0 auto;
        flex-basis: 30%;
    }
}
