<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">


/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Oooh+Baby&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Klee+One&family=Yomogi&display=swap');




/* 全体設定 */
*{
 font-family: "Oooh Baby", cursive;
color: #FFF;/* ★全体の文字色 */
font-size: 12px;
font-weight: 400;
letter-spacing: 0.05em;
line-height: 2.0em;
box-sizing: border-box;
padding: 0;
margin: 0;
list-style-type: none;
text-decoration:none;
}


body{
width: 100vw;
overflow-x: hidden;
}


/* 全体の背景 */
body:before{
background-image: linear-gradient(90deg, rgba(27, 89, 36, 1), rgba(36, 106, 65, 1) 0%, rgba(53, 133, 140, 1));/* ★背景のグラデーション色 */
background-size: cover;
content: "";
display: block;
position: fixed;
top: 0;
left: 0;
z-index: -99;
width: 100%;
height: 100vh;
}


.wrap{
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
color: #FFF;
font-size: 10px;
max-width: 600px;
min-height: auto;
padding: 40px 25px 0;
margin: 50px auto 30px;
}


.wrap2{


  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
color: #606060;
font-size: 10px;
max-width: 600px;
min-height: auto;
padding: 40px 25px 0;
margin: 50px auto 30px;
}


/* リンク文字 */
a{
transition: 0.2s;
background-color:  inherit;/* ★リンク文字の背景色 */
}
a,a:visited{
  color: inherit;/* ★リンク文字をホバーした時の文字色 */
;
    text-decoration: none;
}
a:hover{
background-color: #FFF;/* ★リンク文字をホバーした時の背景色 */
color: inherit;/* ★リンク文字をホバーした時の文字色 */
}
.marker_link {
padding-bottom: 0.2rem;
background: linear-gradient(to right, hsl(217, 100%, 67%) 50%, transparent 50%) 100% bottom / 200% 50% no-repeat;
transition: background-position 0.5s ease-out;
}
.marker_link:hover {
background-position: 0% bottom;
}


/* 強調文 */
strong{
font-weight: 700;
border-bottom: 1px solid #FFF;/* ★強調文の下線の色 */
}


/* ヘッダーメニュー */
header{
width: 100%;
text-align: center
}


.nav{
  font-family: "Yomogi", serif;
  width: 100%;
display: flex;
justify-content: center;
gap: 15px;
}


.nav li a{
font-size: 14px;
color: #FFF;
background-color: transparent;
}


.nav li a:hover{
background-color: transparent;
color: #02447C;/* ★ヘッダーメニューをホバーした時の文字色 */
}


/* 子ページ */
.child-wrap{
padding-top: 0;
margin-top: 40px;
}


.child-nav{
width: 100%;
border: 1px solid #FFF;/* ★子ページのメニューを囲む線の色 */
padding: 5px 0;
gap: 10%;
}


/* サイトタイトル */
.ttl{
width: 100%;
height: 75px;
position: relative;
margin-bottom: 10px;
}


.square{
width: 200px;
height: 75px;
border: 1px solid #FFF;/* ★TOPページタイトルの四角い枠線の色 */
background-color: transparent;
margin: 0 auto;
}


h1{
 font-family: "Oooh Baby", cursive;
white-space: nowrap;
font-size: 40px;/* ★TOPページタイトルの文字サイズ（英語） */
color: #FFFFFF;
letter-spacing: 0;
position: absolute;
top: -30%;
left: 49%;
transform: translate(-50%, 0)　rotate(-10deg);
-webkit-transform: translate(-50%, 0) rotate(-10deg);
-ms-transform: translate(-50%, 0)　rotate(-10deg);
}


.ja{
font-size: 11px;/* ★TOPページタイトルの文字サイズ（日本語） */
color:#FFF;
display: block;
position: absolute;
top: 50px;
left: 50%;
transform: translate(-50%, 0);
-webkit-transform: translate(-50%, 0);
-ms-transform: translate(-50%, 0);
}


/* 更新履歴 */
.txt{
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
width: fit-content;
max-width: 100%;
background-color: rgba(0,0,0,0.15);/* ★更新履歴の背景色 */
padding: 10px 30px;
margin: 40px auto 50px;
}


/* 見出し */
h2{
font-size: 18px;
text-align: center;
position: relative;
margin-bottom: 40px;
font-weight: 600;
}


h2:after{
content: '';
width: 15px;
height: 1px;
background-color: #FFF;/* ★h2見出しの下線の色 */
position: absolute;
top: 50px;
left: 50%;
transform: translate(-50%, 0);
-webkit-transform: translate(-50%, 0);
-ms-transform: translate(-50%, 0);
}


h3{
font-size: 14px;
font-weight: 600;
padding-bottom: 20px;
}


/*テキストボックス*/
 font-family: "Klee One", cursive;
  font-size: 10px;
.textbox-1-label,
.textbox-1 {
    color: #333;
}

.textbox-1-label {
    display: block;
    margin-bottom: 5px;
    font-size: .9em;
}

.textbox-1 {
    width: 40%;
    padding: 8px 10px;
    border: 1px solid #969da3;
    border-radius: 3px;
    font-size: 1em;
    line-height: 1.2;
}

.textbox-1::placeholder {
    color: #999;
}
/* ===== 日記ボックス中央寄せ対応 ===== */
.diary-box,
.box-019,
.box-020 {
  max-width: 500px;
  width: 90%;
  margin: 2em auto;
  position: relative;
  padding:1.8em 1.5em 1em;
  border:2px solid;
  background:#ffffffcc;
  color:#467a5c;
  font-size:14px
}
.diary-box p,
.box-019 p,
.box-020 p {
  color: #507f6b;
}

 
/* ラベル */
.diary-box > .label{
  position:absolute;
  top:-1.15em;
  left:-.5em;
  padding:.4em 1.4em;
  border-radius:25px;
  color:#fff;
  font-size:12px;
}

.diary-box > .label::before{
  content:"";
  position:absolute;
  bottom:-8px;
  left:50%;
  transform:translateX(-50%);
  width:16px;
  height:8px;
  clip-path:polygon(0 0,100% 0,50% 100%);
}

/* 色違い */
.box-green{ border-color:#619778; color:#043f2b; }
.box-green .label{ background:var(--color-accent-green); }
.box-green .label::before{ background:var(--color-accent-green); }

.box-red{ border-color:#ef9292; color:#7c1c1c; }
.box-red .label{ background:var(--color-accent-red); }
.box-red .label::before{ background:var(--color-accent-red); }

/* ===== 付箋メモ中央寄せ ===== */
.box-10,.box-11{
  width:90%;
  max-width:260px;
  margin:2em auto;
  padding:15px;
  background:#f5f5f535;
  box-shadow:4px 4px 4px rgba(0,0,0,.05);
  transform:rotate(2deg);
  word-break:break-all;
}

/* ===== Now Playing 改良版 ===== */
.now-playing {
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
  padding: 10px 0;
  font-size: 14px;
  text-shadow:
    0 0 5px #0d8585,
    0 0 10px #0d8585,
    0 0 20px #0d8585;
}

.now-playing .track {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.now-playing span {
  white-space: nowrap;
  padding-right: 4rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== スマホ最適化 ===== */
@media (max-width:500px){

  body{
    font-size:14px;
    line-height:1.9;
  }

  .diary-box,
  .box-019,
  .box-020{
    width:92%;
    padding:2em 1.5em 1.4em;
    margin:2.5em auto;
    font-size:14px;
  }

  .box-10,.box-11{
    width:90%;
    font-size:14px;
  }

  h2{ font-size:20px; }

  .now-playing{
    font-size:16px;
    padding:12px 0;
  }
}
/*チャット風*/
/* ===== チャット全体 ===== */
.chat {
  max-width: 600px;
  margin: auto;
  font-size: 14px;
}

/* 行 */
.chat-row {
  display: flex;
  margin-bottom: 14px;
}

.chat-row.left { justify-content: flex-start; }
.chat-row.right { justify-content: flex-end; }

/* 吹き出し共通 */
.bubble {
  position: relative;
  padding: 10px 14px;
  border-radius: 22px;
  line-height: 1.6;
  word-wrap: break-word;
}

/* ===== 左（相手）ダークレッド ===== */
.bubble.left {
  background: #b22222;
  color: #dddddd;
  border-top-left-radius: 6px;
}

.bubble.left::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -8px;
  border: 8px solid transparent;
  border-right-color: #b22222;
}

/* ===== 右（自分）ダークグリーン ===== */
.bubble.right {
  background: #1f5d3a;
  color: #dddddd;
  border-top-right-radius: 6px;
}

.bubble.right::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -8px;
  border: 8px solid transparent;
  border-left-color: #1f5d3a;
}
/* スマホ */
@media (max-width:500px){
  .bubble { max-width: 85%; font-size: 15px; }
}

span.marker.kisi {
  background: linear-gradient(transparent 60%, #619593 0%);
}
span.marker.kzh {
  background: linear-gradient(transparent 60%, #bc8c91 0%);
}

span.marker.ness {
  background: linear-gradient(transparent 60%, #b092bf 0%);
}
</style>
