@charset "UTF-8";

/*--------------------------------------------------
ローディングアニメーション
--------------------------------------------------*/
   #loading {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* ビューポート全体 */
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    #loading svg {
        width: 50%; /* 任意サイズに調整 */
        height: auto;
    }

    /* フェードアウト */
    #loading.hidden {
        opacity: 0;
        transition: opacity 0.6s ease;
        pointer-events: none;
    }

html {
    font-size: 100%;
}
body {
    color: #000;
    font-family: 'Roboto' 'Noto Sans JP' sans-serif;
    font-weight: 400;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
li {
    list-style: none;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
}

/*--------------------------------------------------
header
--------------------------------------------------*/
#wrapper {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}
#header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 0 20px;
}
#header .logo {
    width: 100%;
    max-width: 200px;
}
#header .logo a {
    display: block;
}
#header .navi .menu {
    display: flex;
    align-items: center;
}
#header .navi .menu li {
    font-size: 14px;
    margin-left: 40px;
}

/*--------------------------------------------------
mainvisual
--------------------------------------------------*/
.mainvisual {
  background-color: #00b9cd;
  padding: 70px 0 80px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.mainvisual .inner {
    width: 1000px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;   /* ← 横方向中央に配置 */
    box-sizing: border-box;
}
.mainvisual .text .catchphrase {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mainvisual .text .catchphrase span {
    background-color: #fff;
    display: inline-block;
    margin-bottom: 10px;
}
.mainvisual .text .description {
    color: #fff;
    font-weight: 500;
    line-height: 1.6;
}
.mainvisual .img {
    max-width: 350px;
}

/*--------------------------------------------------
introduction
--------------------------------------------------*/
.introduction {
    margin-bottom: 80px;
    text-align: center;
}
.introduction .catchphrase {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 120px;
}
.introduction .text {
    font-size : 16px;
    margin-bottom: 40px;
}
.introduction .anim-box.fadein.is-animated {
    animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/*--------------------------------------------------
name
--------------------------------------------------*/
#name {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
}
#name .img {
    width: 50%;
    max-width:520px;
    padding:0 10px 0 20px;
    margin-left: auto;
}
#name .detail {
    width: 50%;
    padding-left: 40px;
}
#name .detail p {
    font-size: 16px;
    line-height: 2;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*--------------------------------------------------
bi
--------------------------------------------------*/
#bi {
  max-width: 800px;
  margin: 0 auto 80px; /* 横中央配置 + 下余白 */
  text-align: center;  /* テキスト・画像を中央寄せ */
}

#bi .img .text {
  margin-bottom: 10px; /* テキストと画像の間に余白 */
  font-size: 24px;
  font-weight: bold;
  display: block;      /* 中央寄せが確実に効くように */
}

/*--------------------------------------------------
concept
--------------------------------------------------*/
/*黄色背景*/
#concept {
  background-color: #ffc300;  /* 黄色背景 */
  padding: 10px 10px;
  margin-bottom: 40px;
}
/* 白い長方形（横幅いっぱい） */
#concept .white-box {
  background-color: #fff;
  width: 100%;
  max-width: 1200px;  /* 好みに応じて最大幅 */
  padding: 10px 1%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 40px;

  margin: 0 auto;  /* ← 追加：横方向中央に寄せる */
}
#concept .white-box .inner {
  width: 100%;        /* ← 可変に */
  max-width: 1000px;  /* ← 最大幅は固定 */
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;     /* 横方向中央に配置 */
  box-sizing: border-box;
}
#concept .text {
  padding-right: 40px;
  flex: 3;           /* ← 追加：横幅比率を大きくする */
}
#concept .detail span {
  display: block;     /* 改行して積み重ねる */
  margin-bottom: 1.5em; /* 行間の余白（お好みで） */
}
#concept .img {
  flex: 2;           /* ← 追加：画像はテキストより小さめに */
  max-width: 800px;
  padding: 0 20px 0 10px;
  margin-right: auto;
}

#concept .img img {
  max-width: 100%; 
  height: auto;
  display: block;
}

/*--------------------------------------------------
skill
--------------------------------------------------*/
#skill {
  max-width: 1000px;
  margin: 0 auto 80px; /* 横中央配置 + 下余白 */
  text-align: center;  /* テキスト・画像を中央寄せ */
}

#skill .detail span {
  display: block;     /* 改行して積み重ねる */
  margin-bottom: 1.5em; /* 行間の余白（お好みで） */
}

#skill .skill {
  display: flex;
  flex-wrap: wrap;   /* 折り返し */
  gap: 20px;         /* 横・縦の間隔をまとめて管理 */
  justify-content: center; /* 中央寄せも簡単 */
  list-style: none;
  padding: 0;
  margin: 0;
}
#skill .skill li {
  flex: 0 1 calc(33.333% - 20px); /* 3列（gap考慮して調整） */
  box-sizing: border-box;
}
#skill .skill li img {
  width: 50%;   /* li の幅に対して50%の大きさに */
  height: auto; /* 縦横比を保持 */
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

/*--------------------------------------------------
product
--------------------------------------------------*/
#product {
  max-width: 1000px;
  margin: 0 auto 80px; /* 横中央配置 + 下余白 */
  text-align: center;  /* テキスト・画像を中央寄せ */
}

#product .product {
    display: flex;
    flex-wrap: wrap;
}
#product .product li {
    width: 32%;
    margin:0 2% 2% 0;
}
#product .product li:nth-child(3n) {
    margin-right: 0;
}
#product .product li img {
  width: 70%;   /* li の幅に対して70%の大きさに */
  height: auto; /* 縦横比を保持 */
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

/*--------------------------------------------------
footer
--------------------------------------------------*/
#footer {
    background-color: #F03700;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0;
    text-align: center;
}

/*--------------------------------------------------
スマートフォン
--------------------------------------------------*/
@media screen and (max-width: 767px) {

/*--------------------------------------------------
header SP
--------------------------------------------------*/
main {
    padding-top: 60px;
}
#header {
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
#header .logo {
    max-width: 120px;
}


/*--------------------------------------------------
mainvisual
--------------------------------------------------*/
.mainvisual .inner {
    display: flex;           /* ← これを追加 */
    flex-direction: column;  /* 縦並び */
    max-width: 100%;
    padding: 0;
}
.mainvisual .text .catchphrase {
    width: 100%;
    margin-bottom: 30px;
    font-size: 26px;
}
.mainvisual .img {
    height: auto;
    object-fit: contain;  /* ← "contaion" のtypo修正 */
}
}