@import url(sanitize.css);

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

/*titleパート*/

.title-part{
    margin-top: 20px;
}

.titleimage{
    width: 600px;
    height: 150px;
    margin: 0px;
}

.titleimage-box{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.title-container{
    display: flex;
    justify-content: center;
    height: 250px;
    width: 600px;
    align-items: center;
    gap: 5px;
    margin: 0px auto;
    padding: 0px auto;
    text-align: center;
}

.titleimage-container{
    display: flex;
    flex-direction: column;               
    justify-content: center;
    height:400px;
    width: 400px;
    align-items: center;
    text-align: center;
    float: left;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    line-height: 1.5;
    gap: 0.5em;  
    font-size: 12px;
}

.logoimage{
  width: 40%;
}
/*
.title-container figcaption{
  font-size: 20px;
}
*/

.titleimage-box img {
    width: 25%;
    height: 25%;
}
*/
/*コンセプトパート*/

.concept-part p{
    font-size: 36px;
  }

.concept-container{
    display: flex;
    justify-content: center;
    height: 300px;
    width: 800px;
    align-items: center;
    gap: 5px;
    margin: 10px auto;
    padding: 0px auto;
    text-align: center;
}

.conceptimage-container{
    display: flex;
    flex-direction: column;               
    justify-content: center;
    height:400px;
    width: 400px;
    align-items: center;
    text-align: center;
    float: left;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    line-height: 1.5;
    gap: 0.5em;  
}

.conceptimage-container figcaption{
    font-size: 24px;
    text-align: center;
}

/*フロー図*/

img.flowimage {
    width: 50%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
/*タイトル行*/

.title_1st {
    font-size: 24px;
    background-color: #70AD47;
    color: #ffffff;
    clear: both;
}

.title_2nd {
    font-size: 24px;
    background-color: #4472C4;
    color: #ffffff;
    clear: both;
    margin-top: 50px;
}

.title_3rd {
    font-size: 24px;
    background-color: #7030A0;
    color: #ffffff;
    clear: both;
    margin-top: 50px;
}

.title_4th {
    font-size: 24px;
    background-color: #ED7D31;
    color: #ffffff;
    clear: both;
    margin-top: 50px;
}

/*各ステップ内*/

.manual-title h1{
    font-size: 64px;
    font-weight: bold;
}

.outline{
    font-size: 16px;
    margin:10px;
    clear: both;
}
/*
.description-container{
    display: flex;
    justify-content: center;
    gap: 5px;

    width: 100%;
    margin: 0 auto;
    padding: 0 auto;

    text-align: center;
}

.description-detail{
    text-align: center;
    width: 528px;
    height: 1024px;
    float: left;
    border: solid #d1d1d1;
    border-width: 1px;
    padding-top: 10px;
    
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    
    margin-left: 5px;
    margin-right: 5px;
    line-height: 1.5;
}

*/

.description-container {
  display: flex;
  justify-content: center;      /* コンテンツ全体を中央揃え */
  gap: 10px;                    /* 画像間の間隔 */
  padding: 0 20px;              /* 左右の余白 */
  box-sizing: border-box;
  flex-wrap: nowrap;            /* 折り返さず1行に並べる */
  align-items: stretch;         /* 高さを揃える */
  background-color: #fafafa;
  overflow-x: auto;             /* 横スクロール許可（必要に応じて） */
}

.description-detail {
  flex: 0 0 calc((100% - 60px) / 4); /* 4分割した幅で固定 */
  max-width: 200px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 12px 15px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;

  height: 10px;
}

.imgpurpose{
  width: 50%;
}

.imgarrow{
  width:15%
}

.description-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.description-detail img,
.description-detail figcaption {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: left;
  font-size: 12px;
}

.description-detail img {
  height: auto;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* 横幅が極端に狭い場合は横スクロールを許可しつつ見やすく調整 */
@media (max-width: 600px) {
  .description-container {
    padding: 0 10px;
    gap: 10px;
  }
  .description-detail {
    max-width: 280px;
    flex: 0 0 280px;
  }
}

/*ここから注釈用*/

.description-container2 {
  display: flex;
  justify-content: center;      /* コンテンツ全体を中央揃え */
  gap: 20px;                    /* 画像間の間隔 */
  padding: 0 20px;              /* 左右の余白 */
  box-sizing: border-box;
  flex-wrap: nowrap;            /* 折り返さず1行に並べる */
  align-items: stretch;         /* 高さを揃える */
  background-color: #fafafa;
  overflow-x: auto;             /* 横スクロール許可（必要に応じて） */
}

.description-detail2 {
  flex: 0 0 calc((100% - 60px) / 4); /* 4分割した幅で固定 */
  max-width: 200px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 12px 15px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
  background-color: #bceff2a6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.description-detail2:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.description-detail2 img,
.description-detail2 figcaption {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: left;
  font-size: 12px;
}

.description-detail2 img {
  height: auto;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* 横幅が極端に狭い場合は横スクロールを許可しつつ見やすく調整 */
@media (max-width: 600px) {
  .description-container2 {
    padding: 0 10px;
    gap: 10px;
  }
  .description-detail2 {
    max-width: 280px;
    flex: 0 0 280px;
  }
}


.image-container{
    display: flex;
    justify-content: center;
    gap: 5px;
}

.image-container img{
    width: 20%;
    height: 20%;
}



figure.description-detail{
    text-align: center;
    /*height: 400px;*/
    width: 20%;
    height: 100%;
    float: left;
    border: solid #d1d1d1;
    border-width: 1px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    line-height: 1.5;
}

.description-detail-image {
    height:80%;
    width: 80%;
    padding-bottom: 5px;
}

.attention {
    float: left;
    background-color: #d9f5da; 
    margin-left: 10px;
}

.attention-detail{
    height: 400px;
    border: solid #d1d1d1;
    width: 200px;
    text-align: center;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left:10px;
    margin-right: 10px;
    border-width: 1px;
}

.attention.attention-detail.p1{
    padding-left: 10px;
    padding-right :10px;
    font-size: 8px;
}

.attention.attention-detail figcaption{
    padding-top: 5px;
    padding-left: 20px;
    padding-right :20px;
    font-size: 16px;
    text-align: left;
}


.image_rdm img{
    height:30%;
    width: 30%;
}

.personalize{
      margin-top: 10px;
}

.personalize.arrow {
    text-align: center; /* 親要素でテキスト（インライン要素）を中央寄せ */
    margin-top: 10px;
}

.personalize .arrow img {
    display: inline-block; /* インラインブロックにして中央寄せ対象に */
}



/* ======= 追加: グローバルレスポンシブ ======= */
@media screen and (max-width: 768px) {
  .titleimage {
    width: 90%;
    height: auto;
  }

  .titleimage-box img {
    width: 30%;
    height: auto;
  }

  .concept-container {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .conceptimage-container {
    width: 90%;
    height: auto;
  }

  .manual-title h1 {
    font-size: 36px;
  }

  .outline {
    font-size: 14px;
  }

  .description-container, .description-container2 {
    flex-wrap: wrap;
    justify-content: center;
  }

  .description-detail, .description-detail2 {
    max-width: 90%;
    flex: 0 0 90%;
    margin-bottom: 20px;
  }

  .description-detail img, .description-detail2 img {
    width: 100%;
    height: auto;
  }

  .description-detail figcaption, .description-detail2 figcaption {
    font-size: 14px;
  }

  .image_rdm img {
    width: 80%;
    height: auto;
  }
}

/* ======= 追加: 行ごとのカード高さを統一 ======= */

/* description-container の行ごとに高さを揃える */
.description-container,
.description-container2 {
  align-items: stretch; /* 各アイテムの高さを揃える */
}

/* カード内画像のサイズを制御 */
.description-detail img,
.description-detail2 img {
  height: 300px;
  object-fit: contain;
  background-color: #ffffff;
}

/* 各カードに最低高さを設定して行ごとに揃える */
.description-detail,
.description-detail2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
}


@media screen and (max-width: 768px) {
  .title-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
  }

  .titleimage-container {
    width: 90%;
    height: auto;
    float: none;
    padding: 10px 5px;
    margin: 5px auto;
  }

  .titleimage {
    width: 90%;
    height: auto;
  }

  .titleimage-box {
    flex-direction: column;
  }

  .titleimage-box img {
    width: 80%;
    height: auto;
  }
}







@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 14px;
    line-height: 1.6;
  }

  h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .title-part {
    margin-top: 10px;
  }

  .title-container {
    padding: 10px 0;
    gap: 10px;
  }

  .titleimage-container figcaption {
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
  }

  .concept-part p {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .conceptimage-container figcaption {
    font-size: 14px;
  }

  .outline {
    font-size: 14px;
    padding: 0 10px;
    margin: 10px 0;
  }

  .description-detail figcaption,
  .description-detail2 figcaption {
    font-size: 13px;
  }

  .manual-title h1 {
    font-size: 20px;
    padding: 10px;
  }

  .title_1st, .title_2nd, .title_3rd, .title_4th {
    font-size: 18px;
    padding: 10px;
  }

  .imgpurpose {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .imgarrow {
    width: 30%;
    height: auto;
  }

  .flowimage {
    width: 90%;
    height: auto;
  }
}



.description-detail,
.description-detail2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 450px;
}

.description-detail img,
.description-detail2 img {
  margin-bottom: 12px;
}

.description-detail figcaption,
.description-detail2 figcaption {
  text-align: left;
  font-size: 13px;
}


