body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd,
table, caption, th, td, img, form {
  margin: 0;
  padding: 0;
  border: none;
  font-style: normal;
  font-weight: 400;
  font-size: 1.4rem;
  list-style-type: none;
  font-family: YakuHanJP, "DotGothic16", sans-serif;
    font-optical-sizing: auto;
  letter-spacing: 0.1em;
  line-height: 1;
  font-variant-ligatures:none;
}

figure{
    margin: 0;
    padding: 0;
}

textarea {
  font-size: 100%;
}

*:focus {
outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

html{
  min-height: 620px;
  height: 100%;
  overflow-y: scroll;
  font-size: 62.5%;

  font-feature-settings: "palt" 1;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-justify: inter-ideograph;
  scroll-behavior: smooth;
}

iframe[name="google_conversion_frame"]{
  position: absolute;
  top: 0;
}

input, button, textarea, select {
  -webkit-appearance: none;
  appearance: none;
}

body {
    height: 100%;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url(../img/bg_blue.jpg);
    background-size: cover;
    background-position: center;
}

a{
  text-decoration: none;
  color: #000;
}

a:hover{
  text-decoration: none;
  color: #444;
}

a:hover img{
}
 
a img {
}

input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

.loading-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease;
    width: 16%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    gap: 24px;
    color: #fff;
}

.loading-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-image {
}

.wrapper {
  opacity: 0;
  transition: opacity 1s ease;
}

.wrapper.visible {
  opacity: 1;
}

.catchphrase {
  text-align: center;
  margin: 0;
  display: inline-block;
}

.cursor {
  display: inline;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.big_logo_block {
    position: fixed;
    top: 0;
}

.big_logo_block h1 {
    font-size: 32vw;
    color: #ffffff0f;
    text-align: justify;
}

.logo_block {
    position: fixed;
    top: 24px;
    left: 64px;
    width: 56px;
}

.logo_block h2 {
    font-size: 4rem;
    color: #fff;
    line-height: 1.2;
}

.since_block {
    position: fixed;
    top: 24px;
    right: 56px;
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(0deg);
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: right;
}

.since_block .text{
    font-family: "VT323", monospace;
    line-height: 1;
    font-size: 2.4rem;
}

.main_contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 760px;
}

.main_contents h2 {
    color: #fff;
    margin-bottom: 32px;
    font-size: 4rem;
    text-align: justify;
}

.main_contents_inner {
    display: flex;
    align-items: stretch;
    height: 480px;
    justify-content: space-between;
}

.main_contents_left {
    width: 280px;
    background-color: #fff;
    box-sizing: border-box;
    padding: 24px;
}

.main_contents_left_img{

}

.main_contents_left_img img {
    margin: 0 auto 24px;
    width: 64%;
    display: block;
    /* background-color: ghostwhite; */
}

.main_contents_left_text{

}

.main_contents_left_text h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: #004AEF;
}

.main_contents_left_text h3 span{
  font-family: "VT323", monospace;
}

.main_contents_left_text p {
    color: #004AEF;
    line-height: 1.8;
    font-weight: 500;
    text-align: justify;
}

.main_contents_left_text p a{
    text-decoration: underline;
    font-weight: 500;
    color: #004aef;
    font-size: 1.6rem;
}

.main_contents_right {
    width: 440px;
    background-color: #fff;
    box-sizing: border-box;
    overflow: scroll;
    position: relative;
}

.main_contents_right h3 {
    background-color: #004AEF;
    font-size: 1.6rem;
    color: #fff;
    position: sticky;
    top: 0;
    left: 0;
    display: inline-block;
    padding: 8px 24px;
}

.main_contents_right .text {
    padding: 0 24px;
    margin: 40px 0;
}

.oshigoto_list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 6%;
    padding: 32px 24px;
}

.oshigoto_list_item {
    width: 47%;
}

.oshigoto_list_item img{
}

.oshigoto_list_item h4 {
    color: #004AEF;
    line-height: 1.4;
    margin-top: 12px;
}

.kawaii_icon_block {
    position: fixed;
    bottom: 24px;
    right: 64px;
    z-index: 100;
}

.kawaii_icon_block ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.kawaii_icon_block li {
    width: 48px;
    position: relative;
}

.ticker_container {
  position: fixed;
  left: 0;
  top: 0;
  height: 32px; /* ご指定の高さ */
  width: 100vh;
  overflow: hidden;
  background-color: #f0f0f0;
  transform: rotate(-90deg);
  transform-origin: top left;
  translate: 0 calc(100vh - 0px); /* ご指定の位置 */
  z-index: 1;
  display: flex; /* フレックスボックスで中央揃え */
  align-items: center; /* 垂直方向（回転後水平）に中央揃え */
}

.ticker {
  display: inline-block;
  white-space: nowrap; /* 横に並べる */
  animation: scroll-vertical 80s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin: 0 12px;
    font-size: 1.4rem;
}

.ticker-item small {
    font-family: "VT323", monospace;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    margin-right: 12px;
}

@keyframes scroll-vertical {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-container:hover .ticker {
  animation-play-state: paused;
}

.right_news {
    right: 0;
    left: unset;
    transform: rotate(90deg);
    /* bottom: 0; */
    transform-origin: top right;
}

.face-container {
    position: fixed;
    bottom: -4px;
    left: -8px;
    z-index: 100;
}

.kawaiicat_face {
    width: 200px;
    height: 230px;
    background: url(../img/illust_cat.png) no-repeat center;
    position: relative;
    background-size: contain;
}

.eye {
    width: 40px;
    height: 40px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.left-eye {
    bottom: 88px;
    left: 56px;
}

.right-eye {
    bottom: 88px;
    left: 96px;
}

.kurome {
    width: 16px;
    height: 16px;
    background: #fff;
    position: absolute;
    transition: transform 0.1s ease;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 160px;
    background-color: #222;
    color: #fff;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 88%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltip-text{
    visibility: hidden;
    width: 160px;
    background-color: #222;
    color: #fff;
    border-radius: 0;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 88%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 1.4;
}

.auto-tooltip .tooltip-text {
    visibility: hidden;
    width: 100px;
    color: #fff;
    border-radius: 0;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    text-align: justify;
    /* font-size: 1.2rem; */
    line-height: 1.2;
}

/* 矢印 */
.tooltip .tooltip-text::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

/* 矢印 */
.auto-tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

.mailkun .tooltip-text {
    background-color: #e1c517;
    color: #000;
}

.mailkun .tooltip-text::after {
  border-color: #e1c517 transparent transparent transparent;
}

.notekun .tooltip-text {
    background-color: #efeff0;
    color: #004aef;
}

.notekun .tooltip-text::after {
  border-color: #efeff0 transparent transparent transparent;
}

.kamerakun .tooltip-text{
    background-color: #19b4da;
}

.kamerakun .tooltip-text::after {
  border-color: #19b4da transparent transparent transparent;
}

/* マウスオーバー用の表示 */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* 時間差用の表示 */
.auto-tooltip.active .tooltip-text {
  visibility: visible;
  opacity: 1;
}


/* モーダルの背景 */
.modal {
  display: none; /* 最初は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明の黒背景 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* モーダルのコンテンツ */
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 400px;
  width: 80%;
  position: relative;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* モーダル表示時のスタイル */
.modal.active {
  display: flex;
}

/* ボタンのスタイル */
.open-modal {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.copyright {
    position: fixed;
    bottom: 24px;
    width: 100%;
    text-align: center;
}

.copyright p{
  color: #fff;
  font-family: "VT323", monospace;
}









/* 1060px 以下 */
@media screen and (max-width:1060px) {

.logo_block {
    display: none;
}

.big_logo_block h1 {
    font-size: 44vw;
}

.since_block .text {
    font-size: 2rem;
}

.main_contents {
    top: 4%;
    transform: translate(-50%, 0);
    width: 64%;
}

.main_contents_inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 80px;
    height: auto;
}

.main_contents h2 {
    margin-bottom: 40px;
    line-height: 1.1;
    font-size: 3.6rem;
}

.main_contents_left{
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.main_contents_left_img {
    width: 120px;
}

.main_contents_left_img img {
    width: 100%;
    margin: 0;
}

.main_contents_left_text {
    width: 100%;
}

.main_contents_right {
    width: 100%;
    overflow: unset;
}






}





