@charset "UTF-8";
/* ------------------------------------
   RESET / BASE STYLES
------------------------------------ */
* {
  margin: 0;
  padding: 0;
}
/* ====================================
   HTML & BODY 共通設定
==================================== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
/*  background-color: #ffffff; */
  display: flex;
  flex-direction: column;
/*
  font-feature-settings: "palt";
  font-kerning: normal;
*/
  }
a{
  color: #444;
}
h1{
    font-size: 2.5rem;
    font-weight: normal;
    padding: 0;
    margin: 0;
}
h2{

    padding: 0;
    margin: 0;
}
p{
  padding: 0 0 1.5em 0;
  margin: 0;
}
ul{
    line-height: 2.2em;
    font-size: 0.9em;
}
/* ====================================
   背景
==================================== */

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/conex_backimage20250521.png') center/cover no-repeat fixed;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: -1; /* 背景専用で下に配置 */
}
.bg.loaded {
  opacity: 1;
}
@media (max-width: 768px) {
  .bg-layer {
    background-attachment: scroll; /* fixedが効かない機種向けに一応フォールバック */
  }
}

/* ====================================
   
==================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
/*  background-color: #fff; */
}

.logo img {
  height: 26px;
  padding-top: 0.8em;
}

/*
バーガー部分
*/

.burger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
  padding-top: 1em;
}

.burger span {
  height: 2px;
  background-color: #878785;
  border-radius: 1px;
}

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

/*
メニュー
*/
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.menu .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform 0.4s ease;
  z-index: 9999;
}
.menu.active .close {
  transform: rotate(180deg);
}
.menu-logo {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 40px;
}
.menu-logo img {
  height: 40px;
}
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .menu-list {
    flex-direction: row;
  }
}

.menu-list li a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}
/* --------------------------------
トップ
-------------------------------- */
    .main_top {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .text-container_top {
      font-size: 2.5rem;
      white-space: nowrap;
      color: #878785;
    }

    .char {
      opacity: 0;
      display: inline;
/*      display: inline-block; */
      animation: fadeIn 0.5s forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    .footer_top {
      text-align: center;
      padding: 20px;
    }

    .footer_top img {
      max-width: 200px;
      height: auto;
    }


/* --------------------------------

-------------------------------- */
.main {
  flex: 1;
  padding: 140px 20px 40px;
}

.text-container {
  font-size: 2.5rem;
  color: #878785;
  white-space: nowrap;
  overflow-x: auto;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1em;
}
.top_hito{
  letter-spacing: -0.05em;
}
.top_to{
  letter-spacing: -0.1em;
}
.top_chi{
  letter-spacing: 0.05em;
}
.top_iki{
}
.top_ni{
  letter-spacing: -0.05em;
}
.top_yaku{
  letter-spacing: 0.08em;
}
.top_dou{
  letter-spacing: -0.05em;
}
.top_wo{
  letter-spacing: -0.30em;
}
.top_kantanhu{
  letter-spacing: -0.0em;
}

.about_a{
  letter-spacing: -0.25em;
}
.about_b{
  letter-spacing: -0.25em;
}
.about_o{
  letter-spacing: -0.3em;
}
.about_u{
  letter-spacing: -0.25em;
}
.about_t{
  letter-spacing: 0.0em;
}
.about_u2{
  letter-spacing: -0.3em;
}
.about_s{
  letter-spacing: -0.4em;
}
.message_m{
  letter-spacing: -0.25em;
}
.message_e{
  letter-spacing: -0.25em;
}
.message_s{
  letter-spacing: -0.25em;
}
.message_s2{
  letter-spacing: -0.25em;
}
.message_a{
  letter-spacing: -0.25em;
}
.message_g{
  letter-spacing: -0.26em
}
.message_e2{
  letter-spacing: -0.28em;
}
.group_g{
  letter-spacing: -0.22em;
}
.group_r{
  letter-spacing: -0.26em;
}
.group_o{
  letter-spacing: -0.28em;
}
.group_u{
  letter-spacing: -0.26em;
}
.group_p{
  letter-spacing: -0.28em;
}





/* -------------------------
メッセージ
------------------------- */
.message-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  pointer-events: none;
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
}
.message-section.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.message-left {
  flex: 1 1 100%;
  font-size: 1.3em;
  color: #444;
  white-space: pre-line;
  line-height: 1.0;
  padding-top: 0.5em;
}
.message-right {
  flex: 1 1 100%;
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  white-space: pre-line;
          font-size: 1.15em;
        text-align: justify;
}
/* -------------------------
About
------------------------- */
.about-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  pointer-events: none;
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
}
.about-section.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-left {
  flex: 1 1 100%;
  color: #444;
/*  white-space: pre-line; */
  white-space: normal;
  line-height: 1.85;
  padding-top: 0.25em;
}
.about-left h2{
  font-size: 1.3em;
  font-weight: normal;
  line-height: 1.5;
  padding: 0 0 0 0.65em;
  margin: 0;
}
.about_sub_title{
  padding-bottom: 3em;

}
.about_sub_title span{
  font-size: 0.8em;
  color: #f00;
}

.about_sub_title span.annotation{
  font-size: 0.6em;
	vertical-align: top;
  color: #333;
}

.about-right {
  flex: 1 1 100%;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
/*  white-space: pre-line; */
  white-space: normal;
}
.about-right.sticky {
  position: sticky;
  top: 140px; /* ヘッダーの高さなどに応じて調整 */
  width: 200px; /* 固定幅が必要 */
}
.about_messege{
  font-size: 1.0em;
  padding-left: 3.6em;
}
.supplement{
  font-size: 0.8em;
  text-align: justify;
}

/* -------------------------
グループ
------------------------- */
.group-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  pointer-events: none;
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
}
.group-section.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.group-left {
  flex: 1 1 100%;
  font-size: 1.3em;
  color: #444;
  white-space: pre-line;
  line-height: 1.85;
  padding-top: 0.25em;
}
.group-left .group-logo {
  padding-left: 1.5em;
/*  text-align: center; */
}
.group-left .group-logo img{
  width: 160px;
}
.group-right {
  flex: 1 1 100%;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  white-space: pre-line;
}
.company_subtitle{
  border-bottom: 1px solid #333;
}
.company_logo{
}






/* -------------------------
左右
------------------------- */

@media(min-width: 768px) {
  .message-left {
    flex: 1 1 280px;
  }
  .message-right {
    flex: 2 1 630px;
  }
  .about-left {
    flex: 1 1 600px;
  }
  .about-right {
    flex: 2 1 160px;
  }
  .group-left {
    flex: 1 1 360px;
  }
  .group-right {
    flex: 2 1 500px;
  }
}

/* -------------------------
フッター
------------------------- */
footer {
/*  background-color: #fff; */
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  text-align: left;
  font-family: "Helvetica Neue", Helvetica, Arial, "Yu Gothic", sans-serif;
  order: 2;
}

.footer-right {
  text-align: right;
  order: 1;
}

.footer-right a {
  margin: 0 5px;
  text-decoration: none;
  color: #555;
}

.footer-right a:hover {
  text-decoration: underline;
}


/* -------------------------
スマホ
------------------------- */


@media (max-width: 768px) {
  .logo img {
    height: 26px;
  }
  /* ---------------
  トップ
  --------------- */
  .main_top{

  }
  .text-container_top {
    font-size: 2.0rem;
  }
  .footer_top img {
    max-width: 200px;
    height: auto;
  }


  .text-container {
    padding-bottom: 0.25em;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-right {
    text-align: left;
    order: 1;
  }

  .footer-left {
    order: 2;
  }
  /* group */
  .group-left .group-logo{
    padding: 0em;
    text-align: center;
  }
  /* about */
  .about_sub_title span{
    font-size: 1.0em;
  }
  .about_messege{
  }
  .about_sub_title span.annotation{
    font-size: 0.5em;
  }
  .about-right {
    display: none;
  }

}
