@charset "utf-8";

body {
  font-family: "Noto Sans JP",sans-serif;
  margin: 0 auto;
  height: 100vh;
}

.top {
    background-image: url(../images/portfolio_flower_rev1.png);
    font-family: "Montserrat", sans-serif;
    background-size: cover;        /* ← 画面に合わせて自然に拡大縮小 */
    background-position: center;   /* ← 中央基準でトリミング */
    background-repeat: no-repeat;
    height: 100vh;                 /* ← 画面いっぱいに表示 */
    }


.title {
    font-size: 24px;
    font-weight: 400;
    color: #483F3F;
    max-width: 800px;
    min-height: calc(100vh - 70px); /* 画面の高さ − フッターの高さ */
    display: flex;
    flex-direction: column;
    justify-content: center; /* ← 上下中央 */
    align-items: left;     /* ← 左右中央（必要なら） */
    padding: 0 140px; /* ← 上下のpaddingは消す。左右だけ残す */
}

.logo {
    width: 210px;
    margin: 10px 0;
}

/*
.main-photo {
    width: 50%;
    justify-content: right;
}

.main-photo {
    background-image: url(../images/portfolio_flower.png);
    background-size: cover;
    background-position: center;
    height: 100%;
    flex: 1;
}


.main-photo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 先生に指示いただいたコード
.main-photo img {
    height: 100vh;
    max-width: inherit;
}
*/

.nav {
    margin-top: 90px;
}

.nav1 a {
    text-decoration: none;
    line-height: 2;
    font-size: 20px;
    color: #483F3F;
}

.header-list_parts {
    color: #215BE5;
}

.nav1 a:hover {
    text-decoration: none;
    line-height: 2;
    font-size: 20px;
    background: linear-gradient(90deg, #E65C00, #F9D423);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav2 a {
    display: flex;
    margin-top: 20px;
    background-color: #888787;
    width: 110px;
    height: 40px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
}

.footer {
  background: #215BE5; 
  height: 70px;  
  font-size: 9px;
  margin-top: 70px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  color:#fff;
  position: fixed;
  bottom: 0;
  width: 100%;
}


@media (max-width: 1079px) {

.top {
    background-image: url(../images/portfolio_flower_tablet.png);
}

.title {
    padding: 0 100px; 
    font-size: 17px;
}

.logo {
    width: 150px;
    margin: 10px 0;
}

.nav1 a{
    font-size: 17px;
}

}

@media screen and (max-width: 797px) {

.top {
    background-image: url(../images/portfolio_flower_sp.png);
}

.title {
    padding: 0 70px; 
    font-size: 17px;
}

.logo {
    width: 150px;
    margin: 10px 0;
}

.nav1 a{
    font-size: 17px;
}

}

@media screen and (max-width: 452px) {

.top {
    background-image: url(../images/portfolio_flower_sp.png);
}

.title {
    padding: 0 50px; 
    font-size: 17px;
}

.logo {
    width: 150px;
    margin: 10px 0;
}

.nav1 a{
    font-size: 17px;
}

}

