:root{
    --header-img:
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    max-width: 700px;
    margin: 0 auto;
    font-size: 14px;
    color: #222222;
    line-height: 1;
    font-family: "ryo-gothic-plusn", sans-serif;
}

a{
    text-decoration: none;
    color: #e67450;
}

header{
    background: url(asset/img/mv-bg.svg) no-repeat;
    background-size: contain;
    padding: 20px;
    position: relative;
}

.hamburger-menu {
    position: absolute;
    top: 20px; /* 上からの位置 */
    right: 20px; /* 右からの位置 */
    cursor: pointer;
}

.hamburger-menu .bar {
    display: block;
    width: 30px; /* バーの幅 */
    height: 3px; /* バーの高さ */
    background-color: #ffffff; /* バーの色 */
    margin: 5px 0; /* バーの間隔 */
}


.header-logo{
    margin-bottom: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.profile-img-wrap {
    display: flex;
    width: 100%;
    max-width: 700px; /* 任意のサイズ */
    aspect-ratio: 1 / 1; /* 全体を正方形に */
    margin: auto;
    gap: 5px;
}

/* 左列：縦に2枚で正方形を維持 */
.left-column {
    width: 50%;
    aspect-ratio: 1 / 1; /* 左側も正方形 */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.left-column img {
    width: 100%;
    height: 50%; /* 2枚で均等に分割 */
    object-fit: cover;
    cursor: pointer;
}

/* 右列：縦に3枚で横長（2:1）に */
.right-column {
    width: 50%;
    aspect-ratio: 2 / 1; /* 横長の比率 */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.right-column img {
    width: 100%;
    height: calc((100% - 5px) / 3);  /* 3枚で均等に分割 */
    object-fit: cover;
    cursor: pointer;
}

/* モーダルのデフォルトは非表示 */
.modal {
    display: none; /* 修正ポイント */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.menu-modal{
    max-width: 700px;
    display: flex;
    flex-direction: column;
    margin: 10% auto;
    padding: 30px;
}

#qrcode img{
    max-width: 700px;
    width: 100%;
}

#qrcode p{
    display: block;
    background: #fff;
    text-align: center;
    padding: 25px 0 0 0;
    font-weight: bold;
}

.urlcopy{
    width: 100%;
    background: #E67450;
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 5px;
    margin-top: 40px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.parson-basic-block{
    margin-top: 40px;
}

.parson-name{
    font-size: 30px;
    font-weight: bold;
}

.parson-company{
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 5px;
}


.parson-gray-block{
    background: #F2F2F2;
    border-radius: 20px;
    margin: 20px 0;
    padding: 20px;
    display: flex;
    flex-wrap: wrap; /* 子要素を折り返し可能に */
    gap: 5px;        /* 必要に応じて */
}


.parson-gray-flex{
    display: flex;
    align-items: center;
}

.parson-gray-flex:first-child {
    flex-basis: 100%;  /* 1つ目は全幅に */
}

.parson-label{
    background: #ffffff;
    border: 2px solid #e9e9e9;
    border-radius: 100vh;
    padding: 4px 10px;
    font-size: 12px;
    display: inline-block;
    white-space: nowrap;
    margin-right: 5px;
}

.parson-text{
    white-space: nowrap;
    margin-right: 15px;
}


.container{
    padding: 20px;
    /*margin-bottom: 50px;*/
}


.content-box{
    position: relative;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
}

.content-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-top: 35px solid #E67450;
    border-left: 35px solid transparent;
    border-radius: 0 20px 0 0;
}

.content-title{
    display: flex;
    margin-bottom: 15px;
}

.content-title img{
    width: 16px;
    margin-right: 10px;
}

.content-title h3{
    font-size: 16px;
    font-weight: bold;
}


.content-box p{
    line-height: 1.5;
}

  

.timeline-item {
    padding: 3em 0em 2em 2em;
    position: relative;
    color: #222222;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
  }
  .timeline-item h3{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .timeline-item p {

  }
  .timeline-item::before {
    content: attr(date-is);
    position: absolute;
    left: 2em;
    font-weight: bold;
    top: 1em;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.785rem;
  }
  .timeline-item::after {
    width: 10px;
    height: 10px;
    display: block;
    top: 12px;
    position: absolute;
    left: -8px;
    border-radius: 10px;
    content: '';
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: #fff;
  }
  .timeline-item:last-child {
    border-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0)
    ) 1 100%;
  }
  




/* 画面下部に固定するフッターメニュー */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #E67450; /* 背景色 */
    height: 60px;
    max-width: 700px;
    margin: 0 auto;
    z-index: 999;
  }
  
  /* ulを横並びにし、幅いっぱい使う */
  .nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none; /* li のデフォルトマーカーを消す */
    height: 100%;     /* 親要素（footer）の高さを継承 */
  }
  
  /* li は幅を均等に割り当てる */
  .nav-list li {
    flex: 1;          /* 各 li が均等に幅をとる */
    border-right: 1px solid #fff; /* メニュー間の白い縦線 */
    display: flex;    /* a を縦横中央に配置するため */
  }
  
  /* 最後のメニューだけ縦線を消す */
  .nav-list li:last-child {
    border-right: none;
  }
  
  /* メニューリンクのスタイル */
  .nav-list li a {
    flex: 1;
    display: flex;
    flex-direction: column; /* アイコン+文字を縦並び */
    align-items: center;
    justify-content: center;
    text-decoration: none;  /* 下線を消す */
    color: #fff;            /* 文字色（白） */
  }
  
  /* アイコン部分 */
  .nav-icon {
    font-size: 1.2rem; /* アイコンの大きさ */
    margin-bottom: 8px;
  }
  
  /* 文字部分 */
  .nav-label {
    font-size: 11px;
  }
  
  /* ホバー・フォーカス時に色を少し変える例（お好みで） */
  .nav-list li a:hover,
  .nav-list li a:focus {
    background-color: rgba(255, 255, 255, 0.2);
  }
  





  /* テーブル全体のスタイル */
.table-container {
    width: 100%;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

/* ヘッダー（左側の項目） */
.custom-table th {
    font-weight: bold;
    padding: 12px;
    text-align: left;
    width: 30%;
}

/* データセル（右側の値） */
.custom-table td {
    padding: 12px;
    word-break: break-all;
    line-height: 1.5;
}

/* 横ボーダーのみ設定（最上段と最下段なし） */
.custom-table tr:not(:first-child) {
    border-top: 1px solid #ddd;
}

.sns-icon{
    width: 30px !important;
}

/* レスポンシブ対応（スマホ用） */
@media screen and (max-width: 600px) {
    .custom-table th, .custom-table td {
        font-size: 12px;
    }
}





.solution-flex{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solution-label{
    background: #E67450;
    color: #fff;
    padding: 6px 14px;
    border-radius: 100vh;
}

.solution-price{
    border-top: 2px solid #dddddd;
    margin-top: 15px;
    padding-top: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.solution-price span{
    font-size: 24px;
}



.contact-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
}

.email {
    font-size: 18px;
    flex-grow: 1;
    text-decoration: none;
}

.telnumber {
    font-size: 18px;
    flex-grow: 1;
    text-decoration: none;
    color: #222222;
}

.copybutton {
    background: #fff;
    color: #E67450;
    border: 3px solid #E67450;
    padding: 14px;
    min-width: 240px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}

.copybutton:hover {
    background: #E67450;
    color: #fff;
}

#copy-message {
    display: none;
    color: E67450;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}



.line-button{
    background: #4FA22C;
    color: #fff;
    padding: 14px;
    font-weight: bold;
    min-width: 240px;
    text-align: center;
}


.telbutton {
    background: #fff;
    color: #E67450;
    border: 3px solid #E67450;
    padding: 14px;
    min-width: 240px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}



.poweredby{
    background: #feebe5;
    text-align: center;
    font-size: 11px;
    padding: 10px 0;
    margin-bottom: 60px;
}

.powered{
    color: #222222 !important;
}