@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic&family=Klee+One:wght@600&family=Coiny&?family=Asimovian&display=swap');
@font-face {
    font-family: 'LigatureSymbols';
    src: url('LigatureSymbols-2.11.eot');
    src: url('LigatureSymbols-2.11.eot?#iefix') format('embedded-opentype'),
         url('LigatureSymbols-2.11.woff') format('woff'),
         url('LigatureSymbols-2.11.ttf') format('truetype'),
         url('LigatureSymbols-2.11.svg#LigatureSymbols') format('svg');
    font-weight: normal;
    font-style: normal;
}

.lsf {
  font-family: 'LigatureSymbols';
  font-feature-settings: "liga" 1, "dlig" 1;
  font-variant-ligatures: discretionary-ligatures;
  font-size: 2em;
}


/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
	font-family: 'BIZ UDGothic', serif;
}

/* 基本設定 */
body {
    background-color: #fff;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 95%;
    color: #000;
}

p {
    padding: 5px;
}

/* リンク */
a {
    color: rgb(71, 129, 166);
}

/* ナビゲーション */
nav {
    position: fixed;
    z-index: 150;
    top: 10%;
    right: 8%;
    width: 1em;
}

nav ul {
    list-style-type: none;
}

nav ul li a {
    margin: 0.5em auto;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    text-decoration: none;
}

nav ul li a {
    animation: fadeSlideIn 1s;
}

/* ヘッダー */
header {
    margin: 20vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 280px;
    background: url('bg.jpg') center/cover;
}

h1,
header h1 span {
    line-height: 1;
    text-shadow: 0 0 10px #fff;
font-family: 'Klee One', cursive;
    font-size: 1.8em;
}

header h1 span:nth-of-type(1) {
    animation: fadeIn 1s;
}

header h1 span:nth-of-type(2) {
    animation: fadeIn 2s;
}

header h1 span:nth-of-type(3) {
    animation: fadeIn 3s;
}

header h1 span:nth-of-type(4) {
    animation: fadeIn 4s;
}

header h1 span.line {
    position: relative;
}

header h1 span.line::before {
    position: absolute;
    display: block;
    content: '';
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    animation: slideIn .6s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

/* メインコンテンツ */
main {
    margin: 3em auto;
    max-width: 700px;
}

/* セクション */
section {
    padding: 2em;
    text-align: justify;
    word-break: break-all;
}

section h2 {
    margin-bottom: 1em;
    padding: 0 1em;
    width: 200px;
    border: thin solid rgb(71, 129, 166);
    border-left-width: 5px;
    text-align: left;
	font-family: 'Klee One', cursive;
    font-size: 1.2em;
    color: rgb(71, 129, 166);
}

section h3 {
    display: inline-block;
    border-bottom: thin solid rgb(71, 129, 166);
    font-size: 1em;
    color: rgb(71, 129, 166);
}

section h4 {
    font-weight: bold;
    border-bottom: 1px solid rgb(71, 129, 166);
    padding:5px;
}

section .site{
    background: #a5c9c1;
}

section .SNS{
    background: #a4c1d7;
}

section .books{
    background: #f5b2b2;
}

section .recep{
    background: #c7a5cc;
}

section p {
    margin: 0.6em;
}

details{
    margin: 0.6em;
    padding: 5px;
}

details > p {
    border: thin solid rgb(71, 129, 166);
}

section .en {
    font-family: 'Klee One', 'BIZ UDGothic', sans-serif;
}

section .border {
    margin-right: 0.5em;
    padding-right: 0.5em;
    border-right: 5px solid rgb(71, 129, 166);
    font-weight: normal;
}

.s {
    font-weight: normal;
	font-size:smaller;
    color:gray;
}

.ss {
    font-weight: normal;
	font-size:smaller;
}

em{
	color: rgb(71, 129, 166);
	font-style: normal;
	font-weight: inherit;
}

section b {
    font-weight: bold;
}

section mark {
    background: linear-gradient(#fff 0, #fff 30%, rgb(229 220 181) 30%, rgb(229 220 181) 100%);
}

section strong {
    font-weight: bold;
    color: red;
}

section .link {
    padding: 0em 0.1em;
    background-color: #adb2b2;
    text-decoration: none;
    color: #fff;
}

section .box {
    position: relative;
    margin: 1.5em auto;
    padding: 1.5em;
    width: 95%;
    border: thin solid rgb(71, 129, 166);
}

section .box::before {
    position: absolute;
    display: block;
    content: '';
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border-right: thin solid rgb(71, 129, 166);
    border-bottom: thin solid rgb(71, 129, 166);
    z-index:-1;
}

section .boxs {
    position: relative;
    margin: 1.5em auto;
    padding: 0.5em 1.5em;
    width: 95%;
    border: thin solid rgb(71, 129, 166);
    max-height: 10em;
    overflow-y: scroll;
}

section dd,
section ul {
    margin-bottom: 0.5em;
}

section ul {
    list-style-type: none;
}

section .yoko li {
    display: inline-block;
}

article{
    display:none;
    margin:1lh 0;
    border: 1px solid rgb(71, 129, 166);
}

article.main{
    display:block;
}

/* フッター */
footer {
    margin: 1em auto 1.5em;
}

/* アニメーション */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        width: 0%;
    }

    100% {
        width: 120%;
        background: rgba(90, 95, 133, 0.4);
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        margin-top: 50px;
    }

    100% {
        opacity: 1;
    }
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.3em 0.5em;
    background-color: #888;
    border: none;
    border-radius: 0;
    border-bottom-right-radius: 10px;
    color: #fff;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 100px;
}

input[type=submit] {
    width: auto;
}


.input[type="checkbox"] {
  display: none;
}


  /* Style for the custom checkbox */
.custom-checkbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

  /* Style for the custom checkmark */
.custom-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #333;
  border-radius: 2px;
  opacity: 0;
}

  /* Show the checkmark when checkbox is checked */
.input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
}


/* 選択式 */


section:has([name="books"]:checked) article:has([class="books"]) {
	display: block;
}

section:has([name="SNS"]:checked) article:has([class="SNS"]) {
	display: block;
}

section:has([name="site"]:checked)	article:has([class="site"]) {
	display: block;
}

section:has([name="recep"]:checked)	article:has([class="recep"]) {
	display: block;
}


.timeline__nav {
  display: block;
  position: fixed;
  z-index: 90;
  left: 20px;
  width: 120px;
  transition: opacity 0.4s ease, transform 0.4s ease, top .3s ease-out;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.timeline__nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.timeline__nav ul {
  list-style: none;
  max-height: 80vh;  
  overflow-y: auto;   
  overflow-x: hidden;
  margin: 15px 0;
  padding: 0;
  scrollbar-color: rgb(71, 129, 166) white;
  scrollbar-width: thin;
}

.timeline__nav li {
  margin: 15px 0;
  padding-left: 0;
  list-style-type: none;
  color: #bfc1c3;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all .3s ease-out;
}

.timeline__nav li.active {
  font-weight: bold;
  color: rgb(71, 129, 166);
  border-bottom: 1px dotted transparent;
  transform: scale(1.2);
  padding-left: 20px;
}

.timeline__nav li:hover {
  color: #000;
}

.milestone-title {
  display: none;
}

@media (max-width: 940px) {

  .timeline__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 90;
    border-bottom: 1px solid #ddd;
    transform: translateX(10px);
  }

  .timeline__nav.is-visible {
    transform: translateX(0);
    opacity: 1;
  }

  .timeline__nav ul {
    display: flex;
    margin: 0;
    padding: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .timeline__nav li {
    margin: 0 12px 0 0;
    padding: 6px 4px;
    border-bottom: none;
    flex-shrink: 0;
  }

  .timeline__nav li.active {
    transform: scale(1.1);
  }

}

/* 横幅767px以下はハンバーガーメニュー */
@media screen and (max-width:767px) {
    #NavToggle {
        display: block;
        position: fixed;
        top: 3%;
        right: 5%;
        z-index: 100;
        width: 30px;
        height: 20px;
    }

    #NavToggle div {
        position: relative;
    }

    #NavToggle span {
        position: absolute;
        width: 100%;
        height: 3px;
        left: 0;
        background: rgb(71, 129, 166);
        border-radius: 10px;
        transition: 0.5s ease-in-out;
    }

    #NavToggle span:nth-child(1) {
        top: 0px;
    }

    #NavToggle span:nth-child(2) {
        top: 10px;
    }

    #NavToggle span:nth-child(3) {
        top: 20px;
    }

    .open #NavToggle span:nth-child(1) {
        top: 12px;
        transform: rotate(135deg);
    }

    .open #NavToggle span:nth-child(2) {
        background-color: transparent;
    }

    .open #NavToggle span:nth-child(3) {
        top: 12px;
        transform: rotate(-135deg);
    }

    nav {
        display: none;
    }

    section {
        padding-right: 15%;
    }
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {

    /* フォントサイズ */
    header {
        width: 400px;
        height: 400px;
    }

	section .box {
	    width: 80%;
}
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width:1024px) {

    /* フォントサイズ */
    nav ul li a {
        font-size: 1.2em;
    }

    header {
        width: 500px;
        height: 500px;
        margin: 10vh auto;

    }

	.timeline__nav {
		left: 30px;
	}

}

/* 横幅1440px以上で読み込む */
@media screen and (min-width:1440px) {

    /* フォントサイズ */
    nav ul li a {
        font-size: 1.4em;
    }

    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    section {
        flex-basis: 50%;
    }

}



.c-share {/*本体*/
  position: relative;
  top: 1em;
  left: 0.8em;
  width: 1.5em;
  height: 1.5em;
}
 
.c-share__input {/*非表示にしておく*/
  display: none;
}
.c-share__input:checked ~ .c-share__toggler .c-share__icon {
  transition: 0s;
  width: 0;
  height: 0;
  right: 0.65em;
  top: -0.7em;
}

.c-share__input:checked ~ .c-share_options {/*クリック（チェック）されたら各ボタンを格納している要素を展開 なかみ*/
  width: 28em;
  height: 5em;
  bottom: -2em;
  padding: 0.5em;
  border-radius: 0.3125em;
  background-color: rgba(255,255,255,0.8);
}

.c-share__input:checked ~ .c-share_options::before,
.c-share__input:checked ~ .c-share_options li {/*各展開と同時に要素にアニメーションエフェクト*/
  transition: 0.3s 0.15s;
  opacity: 1;
  transform: translateY(0);
}
 
.c-share__toggler,
.c-share_options {
  position: absolute;
  right: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
}
 
.c-share__toggler {
  cursor: pointer;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
 
.c-share__icon {/*シェアボタンのアイコンのスタイル*/
  position: relative;
  right: 0.2em;
  top: 0.25em;
  color:  rgb(71, 129, 166);
}

.c-share_options {/*各ボタンを格納している要素のスタイル設定*/
  list-style: none;
  margin: 0;
  padding: 1.1em;
  box-sizing: border-box;
  overflow: hidden;
  transition: 0.2s;
  border: 1px solid rgb(71, 129, 166);
}
.c-share_options::before {
  content: attr(data-title);
  display: block;
  font-weight: 700;
}
.c-share_options li {
  font-size: 1em;
  color: #000;
  cursor: pointer;
}
.c-share_options li:not(:last-child) {
  margin-bottom: 0.75em;
}
.c-share_options::before,
.c-share_options li {
  opacity: 0;
  transform: translateY(0.625em);
  transition: 0s;
}
.c-share_options i{
  font-size: 2em;
}

.success-msg {
    display: none;
    position: fixed;
    width: 300px;
    height: 40px;
    line-height: 40px;
    background-color: rgb(71, 129, 166);
    color: #fff;
    bottom: 100px;
    right: 50px;
    margin: auto;
    text-align: center;
    border-radius: 5px;
}
.cp{
	writing-mode: horizontal-tb;
   color:dimgray;
   cursor: pointer; 
}

.tw{
	writing-mode: horizontal-tb;
    color: #1DA1F2;
}

.bs{
    writing-mode: horizontal-tb;
    font-size: 0.7em;
    color:#0069fe;
}

.th{
    writing-mode: horizontal-tb;
    font-size: 0.7em;
    color:#000;
}

.ms{
    writing-mode: horizontal-tb;
    font-size: 0.7em;
    color:#563ACC;
}

.mi{
    writing-mode: horizontal-tb;
    font-weight:bold;
    font-family: 'Coiny', cursive;
    color: #8ab942;
}

.ln{
	writing-mode: horizontal-tb;
    color:#06C755;
}

.hb{
	writing-mode: horizontal-tb;
    color:#01a5df;
}
.nt{
	writing-mode: horizontal-tb;
	font-size: 180%;
	font-weight: bold;
    font-family: "Asimovian", sans-serif;
    color:#000;  
}

.note{
  transform: scale(-1,0.8);
}

.tn{
    writing-mode: horizontal-tb;
    color:#001935;
}

.fb{
    writing-mode: horizontal-tb;
    color:#1877f2;
}

.po{
    writing-mode: horizontal-tb;
	font-size: 0.8em;
    color:#ee4056;
}

